On 2/4/21 6:51 AM, Pavel Begunkov wrote: > Bunch of random cleanups, noticeable part of which (4-9/13) refactor > io_read(), which is currently not in the best shape and is hard to > understand. > > 7/13 may actually fix a problem. > 10/13 should make NOWAIT and NONBLOCK to work right > > v2: add 9-13/13 > > Pavel Begunkov (13): > io_uring: deduplicate core cancellations sequence > io_uring: refactor scheduling in io_cqring_wait > io_uring: refactor io_cqring_wait > io_uring: refactor io_read for unsupported nowait > io_uring: further simplify do_read error parsing > io_uring: let io_setup_async_rw take care of iovec > io_uring: don't forget to adjust io_size > io_uring: inline io_read()'s iovec freeing > io_uring: highlight read-retry loop > io_uring: treat NONBLOCK and RWF_NOWAIT similarly > io_uring: io_import_iovec return type cleanup > io_uring: deduplicate file table slot calculation > io_uring/io-wq: return 2-step work swap scheme > > fs/io-wq.c | 16 +-- > fs/io-wq.h | 4 +- > fs/io_uring.c | 366 ++++++++++++++++++++++---------------------------- > 3 files changed, 166 insertions(+), 220 deletions(-) Applied, thanks Pavel! -- Jens Axboe