diff options
| author | Jens Axboe <axboe@kernel.dk> | 2021-10-28 17:57:09 +0300 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2021-12-04 00:51:29 +0300 |
| commit | ceaa762527f41a431b552bc000de4b626d2d8cb7 (patch) | |
| tree | 74e9ff872d0cbfe0373c25edb60840d77b06c245 /tools/perf/scripts/python/powerpc-hcalls.py | |
| parent | 4bdcd1dd4d2f973b1a89fb20ba720d879e9e506b (diff) | |
| download | linux-ceaa762527f41a431b552bc000de4b626d2d8cb7.tar.xz | |
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 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions
