Jens Axboe 1a0a7853b9 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>
2020-06-21 20:44:25 -06:00
..
2020-04-10 15:36:21 -07:00
2020-06-20 22:14:53 +10:00
2020-04-07 10:43:41 -07:00
2020-06-10 13:42:09 -07:00
2020-06-10 13:42:09 -07:00
2020-06-08 11:05:55 -07:00
2019-09-17 15:20:17 -07:00
2020-06-04 19:06:21 -07:00
2020-06-04 19:06:23 -07:00
2020-06-04 19:06:24 -07:00