diff options
author | Jens Axboe <axboe@kernel.dk> | 2021-10-28 08:57:09 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-12-03 14:51:29 -0700 |
commit | ceaa762527f41a431b552bc000de4b626d2d8cb7 (patch) | |
tree | 74e9ff872d0cbfe0373c25edb60840d77b06c245 /block/blk-flush.c | |
parent | 4bdcd1dd4d2f973b1a89fb20ba720d879e9e506b (diff) |
block: move direct_IO into our own read_iter handler
Don't call into generic_file_read_iter() if we know it's O_DIRECT, just
set it up ourselves and call our own handler. This avoids an indirect call
for O_DIRECT.
Fall back to filemap_read() if we fail.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-flush.c')
0 files changed, 0 insertions, 0 deletions