diff options
| author | Dave Chinner <[email protected]> | 2018-05-02 12:54:52 -0700 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2018-05-09 10:04:00 -0700 |
| commit | ed5c3e66a32883e2b3d119d358d23fd5990dc9c2 (patch) | |
| tree | 84e5013b299203b460fa64b4be52c1a42777b9b5 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | b027d4c97b9675c2ad75dec94be4e46dceb3ec74 (diff) | |
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 <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions