summaryrefslogtreecommitdiff
path: root/trafgen_l2.h
diff options
context:
space:
mode:
Diffstat (limited to 'trafgen_l2.h')
0 files changed, 0 insertions, 0 deletions
linux/net-next.git/diff/?id=ec40759902556f21f37641ad9f19d02c4dd4b555&id2=576177818e6f1e65f6109ed4a8fae8b60131c861'>diff)
xfs: remove xfs_file_wait_for_io
filemap_write_and_wait_range operates on full pages, so there is no need for the rounding operations. Additionally this allows us to micro-optimize by skipping the second inode_dio_wait for a intra-file clone. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat
-rw-r--r--fs/xfs/xfs_file.c39
1 files changed, 10 insertions, 29 deletions
diff --git a/fs/xfs/xfs_file.c b/fs/xfs/xfs_file.c