summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.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:01 +0300
commit4f8ff44ba0ad82a6f51c1bf381d7bad346464b09 (patch)
treef54b53f824041b26fdcd51e5cbeaab29c827af86 /tools/perf/scripts/python/syscall-counts-by-pid.py
parented5c3e66a32883e2b3d119d358d23fd5990dc9c2 (diff)
downloadlinux-4f8ff44ba0ad82a6f51c1bf381d7bad346464b09.tar.xz
iomap: iomap_dio_rw() handles all sync writes
Currently iomap_dio_rw() only handles (data)sync write completions for AIO. This means we can't optimised non-AIO IO to minimise device flushes as we can't tell the caller whether a flush is required or not. To solve this problem and enable further optimisations, make iomap_dio_rw responsible for data sync behaviour for all IO, not just AIO. In doing so, the sync operation is now accounted as part of the DIO IO by inode_dio_end(), hence post-IO data stability updates will no long race against operations that serialise via inode_dio_wait() such as truncate or hole punch. 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/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions