diff options
| author | Dave Chinner <dchinner@redhat.com> | 2018-05-02 22:54:52 +0300 |
|---|---|---|
| committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-05-09 20:04:00 +0300 |
| commit | ed5c3e66a32883e2b3d119d358d23fd5990dc9c2 (patch) | |
| tree | 84e5013b299203b460fa64b4be52c1a42777b9b5 /tools/perf/scripts/python/netdev-times.py | |
| parent | b027d4c97b9675c2ad75dec94be4e46dceb3ec74 (diff) | |
| download | linux-ed5c3e66a32883e2b3d119d358d23fd5990dc9c2.tar.xz | |
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 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
