diff options
author | Christoph Hellwig <[email protected]> | 2016-07-20 11:36:57 +1000 |
---|---|---|
committer | Dave Chinner <[email protected]> | 2016-07-20 11:36:57 +1000 |
commit | f1285ff0acf9040a39921355d07bd83a3308c402 (patch) | |
tree | ea0906759f357f47b8c1049615f1f44a7f817d5e /scripts | |
parent | bbc5a740c4f27a9732a3a3decf3186b4bce21108 (diff) |
xfs: stop using generic_file_read_iter for direct I/O
XFS already implement it's own flushing of the pagecache because it
implements proper synchronization for direct I/O reads. This means
calling generic_file_read_iter for direct I/O is rather useless,
as it doesn't do much but updating the atime and iocb position for
us. This also gets rid of the buffered I/O fallback that isn't used
for XFS.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions