diff options
| author | Jens Axboe <axboe@kernel.dk> | 2020-05-22 09:18:38 -0600 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2020-06-21 20:44:25 -0600 |
| commit | 1a0a7853b901c35a742b3bf176cf4701a5c5817c (patch) | |
| tree | 57a6b2a9b92eb001d8d5854868a16a88f8171f8f /tools/perf/scripts/python | |
| parent | mm: add support for async page locking (diff) | |
| download | linux-1a0a7853b901c35a742b3bf176cf4701a5c5817c.tar.gz linux-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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
