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)
commitc1dd91d16246b168b80af9b64c5cc35a66410455
treef04e90419bba116503b9a881fff548e7b18b093a
parentcbd287c09351f1d3a4b3cb9167a2616a11390d32
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