diff options
| author | Christoph Hellwig <hch@lst.de> | 2026-09-25 17:15:38 +0200 |
|---|---|---|
| committer | Carlos Maiolino <cem@kernel.org> | 2026-10-05 11:55:22 +0200 |
| commit | ac81739a869c24a42db15282a44de68623376f27 (patch) | |
| tree | db83ed47d1976161362c72e13e2c4752002bb807 /tools/perf/scripts/python/flamegraph.py | |
| parent | fe8b1951cd812ec592164cd43ee7a0ce49a79622 (diff) | |
xfs: flush multiple device caches in parallel in xlog_write_iclog
When xlog_write_iclog needs to flush the cache for more than one devices,
the current implementations does this sequentially, which adds up the
flush latency for all devices. Switch to kicking off all cache flushes
in parallel so that only the longest latency bounds the time of the log
I/O. This removes the REQ_PREFLUSH optimization for the log device,
but as that flag is never passed on to the device and just very slightly
reduce the latency by queueing the following write from a lower-level
context it is trivially shadowed by the latency improvements of the
parallel flush commands.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
