summaryrefslogtreecommitdiff
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-05-22 18:18:38 +0300
committerJens Axboe <axboe@kernel.dk>2020-06-22 05:44:25 +0300
commit1a0a7853b901c35a742b3bf176cf4701a5c5817c (patch)
tree57a6b2a9b92eb001d8d5854868a16a88f8171f8f /include/linux/workqueue.h
parentdd3e6d5039de1cbff4e20e2b34390ff44cdb182f (diff)
downloadlinux-1a0a7853b901c35a742b3bf176cf4701a5c5817c.tar.xz
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 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions