Linux XFS filesystem development
 help / color / mirror / Atom feed
* fix and then optimize cache flushes for the RT device
@ 2026-09-02  5:49 Christoph Hellwig
  2026-09-02  5:49 ` [PATCH 1/6] xfs: also flush the RT device cache in xlog_write_iclog Christoph Hellwig
                   ` (5 more replies)
  0 siblings, 6 replies; 14+ messages in thread
From: Christoph Hellwig @ 2026-09-02  5:49 UTC (permalink / raw)
  To: Carlos Maiolino; +Cc: linux-xfs

Hi all,

when tracing workloads, I realized that currently the volatile write
cache on RT devices is only flushed by fsync, but never at all for
workloads that do not use fsync.

This series fixes that, and also optimizes cache flushes for file systems
with multiple devices.

Diffstat:
 xfs_file.c     |   50 +++++++------------------
 xfs_log.c      |  113 +++++++++++++++++++++++++++++++++++++++++++++++++--------
 xfs_log_cil.c  |   16 +++++---
 xfs_log_priv.h |   10 +++--
 4 files changed, 129 insertions(+), 60 deletions(-)

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2026-09-03  5:44 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-02  5:49 fix and then optimize cache flushes for the RT device Christoph Hellwig
2026-09-02  5:49 ` [PATCH 1/6] xfs: also flush the RT device cache in xlog_write_iclog Christoph Hellwig
2026-09-02 16:01   ` Darrick J. Wong
2026-09-02  5:49 ` [PATCH 2/6] xfs: don't continue on error in xfs_fsync Christoph Hellwig
2026-09-02 16:07   ` Darrick J. Wong
2026-09-02  5:49 ` [PATCH 3/6] xfs: clean up xfs_fsync_flush_log a bit Christoph Hellwig
2026-09-02 16:07   ` Darrick J. Wong
2026-09-02  5:49 ` [PATCH 4/6] xfs: avoid extra cache flushes for multi-device file systems in xfs_fsync Christoph Hellwig
2026-09-02 16:12   ` Darrick J. Wong
2026-09-02  5:49 ` [PATCH 5/6] xfs: optimize cache flushing for CIL commits on multi-device file systems Christoph Hellwig
2026-09-02 16:15   ` Darrick J. Wong
2026-09-02  5:49 ` [PATCH 6/6] xfs: flush multiple device caches in parallel in xlog_write_iclog Christoph Hellwig
2026-09-02 16:18   ` Darrick J. Wong
2026-09-03  5:44     ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox