diff options
author | Christoph Hellwig <hch@lst.de> | 2016-07-20 11:36:57 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-07-20 11:36:57 +1000 |
commit | f1285ff0acf9040a39921355d07bd83a3308c402 (patch) | |
tree | ea0906759f357f47b8c1049615f1f44a7f817d5e /fs/xfs/xfs_aops.h | |
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 <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_aops.h')
0 files changed, 0 insertions, 0 deletions