summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2026-09-07 10:33:09 +0300
committerCarlos Maiolino <cem@kernel.org>2026-09-10 16:26:37 +0200
commit761e015e5a54851043c3b5bb7cfb6f539b01a35e (patch)
tree4535379feb592399e2ea9a8a1f502f7272ba433f /scripts/Makefile.thinlto
parentc84455c683eb0b0397b0f5c5f5ce5cd82572a23f (diff)
downloadlinux-761e015e5a54851043c3b5bb7cfb6f539b01a35e.tar.gz
linux-761e015e5a54851043c3b5bb7cfb6f539b01a35e.zip
xfs: avoid extra cache flushes for multi-device file systems in xfs_fsync
When xlog_force_lsn sets log_flushed, it has just called xlog_force_iclog through xlog_force_and_check_iclog, which sets XLOG_ICL_NEED_FLUSH before writing out the head iclog. This means that we already flushed the log, data, and (with the recent fix) RT devices before writing out the iclog start record and no extra cache flushed is required. This optimizes the external log case, and fixes a performance regression due to double RT dev flushes with "xfs: also flush the RT device cache in xlog_write_iclog". The explicit flush of the data that the device resides on when no iclog was written out is still required. 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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions