summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_aops.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-07-20 11:36:57 +1000
committerDave Chinner <david@fromorbit.com>2016-07-20 11:36:57 +1000
commitf1285ff0acf9040a39921355d07bd83a3308c402 (patch)
treeea0906759f357f47b8c1049615f1f44a7f817d5e /fs/xfs/xfs_aops.h
parentbbc5a740c4f27a9732a3a3decf3186b4bce21108 (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