summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-05-22 09:18:38 -0600
committerJens Axboe <axboe@kernel.dk>2020-06-21 20:44:25 -0600
commit1a0a7853b901c35a742b3bf176cf4701a5c5817c (patch)
tree57a6b2a9b92eb001d8d5854868a16a88f8171f8f /init
parentdd3e6d5039de1cbff4e20e2b34390ff44cdb182f (diff)
downloadlwn-1a0a7853b901c35a742b3bf176cf4701a5c5817c.tar.gz
lwn-1a0a7853b901c35a742b3bf176cf4701a5c5817c.zip
mm: support async buffered reads in generic_file_buffered_read()
Use the async page locking infrastructure, if IOCB_WAITQ is set in the passed in iocb. The caller must expect an -EIOCBQUEUED return value, which means that IO is started but not done yet. This is similar to how O_DIRECT signals the same operation. Once the callback is received by the caller for IO completion, the caller must retry the operation. Acked-by: Johannes Weiner <hannes@cmpxchg.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions