commit | ec40759902556f21f37641ad9f19d02c4dd4b555 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu Oct 20 15:49:55 2016 +1100 |
committer | Dave Chinner <david@fromorbit.com> | Thu Oct 20 15:49:55 2016 +1100 |
tree | adddbc1b53cb05c0a60e1d16c69dfdd86bece914 | |
parent | 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>