]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: add comments on how the async buffered read retry works
authorJens Axboe <axboe@kernel.dk>
Mon, 3 Aug 2020 22:43:59 +0000 (16:43 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 3 Aug 2020 23:48:15 +0000 (17:48 -0600)
commit2eedf584690d71010a265a68d1c93ab10c2ce41f
treef04e90419bba116503b9a881fff548e7b18b093a
parente0cec46183237d0cba9343edcefacf9185692b95
io_uring: add comments on how the async buffered read retry works

The retry based logic here isn't easy to follow unless you're already
familiar with how io_uring does task_work based retries. Add some
comments explaining the flow a little better.

Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c