diff options
author | Dave Chinner <dchinner@redhat.com> | 2018-05-02 12:54:52 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-05-09 10:04:00 -0700 |
commit | ed5c3e66a32883e2b3d119d358d23fd5990dc9c2 (patch) | |
tree | 84e5013b299203b460fa64b4be52c1a42777b9b5 /fs/iomap.c | |
parent | b027d4c97b9675c2ad75dec94be4e46dceb3ec74 (diff) | |
download | linux-ed5c3e66a32883e2b3d119d358d23fd5990dc9c2.tar.bz2 |
xfs: move generic_write_sync calls inwards
To prepare for iomap iinfrastructure based DSYNC optimisations.
While moving the code araound, move the XFS write bytes metric
update for direct IO into xfs_dio_write_end_io callback so that we
always capture the amount of data written via AIO+DIO. This fixes
the problem where queued AIO+DIO writes are not accounted to this
metric.
Signed-Off-By: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/iomap.c')
0 files changed, 0 insertions, 0 deletions