Zhengyuan Liu 9310a7ba6d io_uring: track io length in async_list based on bytes
We are using PAGE_SIZE as the unit to determine if the total len in
async_list has exceeded max_pages, it's not fair for smaller io sizes.
For example, if we are doing 1k-size io streams, we will never exceed
max_pages since len >>= PAGE_SHIFT always gets zero. So use original
bytes to make it more accurate.

Signed-off-by: Zhengyuan Liu <liuzhengyuan@kylinos.cn>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-07-21 21:46:55 -06:00
..
2019-07-15 21:20:52 -07:00
\n
2019-07-10 20:09:17 -07:00
2019-07-12 17:37:53 -07:00
2019-07-12 16:54:37 -07:00
2019-07-12 16:54:37 -07:00
2019-07-15 21:20:52 -07:00
2019-07-15 21:20:52 -07:00
2019-07-12 16:54:37 -07:00
2019-07-03 17:52:09 -04:00
2019-07-12 16:54:37 -07:00
2019-07-12 16:54:37 -07:00
2019-06-21 09:58:42 -07:00
2019-07-14 19:42:11 -07:00
\n
2019-07-10 20:27:07 -07:00
\n
2019-07-10 20:09:17 -07:00
\n
2019-07-10 20:27:07 -07:00
2019-07-15 21:20:52 -07:00
2019-07-13 10:36:53 -07:00
2019-07-15 21:20:52 -07:00
2019-04-08 18:21:02 -05:00
2019-03-08 14:48:40 -08:00
2019-07-12 16:54:37 -07:00
2019-07-10 20:29:45 -07:00
2019-07-10 21:22:43 -07:00
2019-01-30 17:44:07 -05:00
2019-04-09 19:20:57 -04:00
2019-02-07 16:38:35 +01:00