summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2018-05-02 22:54:52 +0300
committerDarrick J. Wong <darrick.wong@oracle.com>2018-05-09 20:04:00 +0300
commited5c3e66a32883e2b3d119d358d23fd5990dc9c2 (patch)
tree84e5013b299203b460fa64b4be52c1a42777b9b5 /tools/perf/scripts/python/netdev-times.py
parentb027d4c97b9675c2ad75dec94be4e46dceb3ec74 (diff)
downloadlinux-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