commit | ceaa762527f41a431b552bc000de4b626d2d8cb7 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Thu Oct 28 08:57:09 2021 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Dec 03 14:51:29 2021 -0700 |
tree | 74e9ff872d0cbfe0373c25edb60840d77b06c245 | |
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>