Linux XFS filesystem development
 help / color / mirror / Atom feed
* handle ophdr formatting entirely in xlog_write
@ 2026-11-25 14:42 Christoph Hellwig
  2026-11-25 14:42 ` [PATCH 01/15] xfs: don't bother setting oh_tid in callers of xlog_write Christoph Hellwig
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: Christoph Hellwig @ 2026-11-25 14:42 UTC (permalink / raw)
  To: Carlos Maiolino; +Cc: linux-xfs

Hi all,

for historic reasons, generating of the log ophdrs is split over the log
item formatting and the core log write in somewhat awkward ways.  This
less to subtle extra code, extra (small) memory usage for keeping the
headers in memory when they are not needed.  This series refactors
the log vec formatting a bit and the xlog_write code a lot so that the
ophdrs are formatted when writing to the iclog, and the no memory
for the ophdrs is allocated for logvecs in the CIL.

Diffstat:
 xfs_log.c      |  298 ++++++++++++++++++++++++++-------------------------------
 xfs_log_cil.c  |  258 ++++++++++++++++---------------------------------
 xfs_log_priv.h |   19 +++
 3 files changed, 238 insertions(+), 337 deletions(-)

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

end of thread, other threads:[~2026-11-25 20:18 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-25 14:42 handle ophdr formatting entirely in xlog_write Christoph Hellwig
2026-11-25 14:42 ` [PATCH 01/15] xfs: don't bother setting oh_tid in callers of xlog_write Christoph Hellwig
2026-11-25 14:42 ` [PATCH 02/15] xfs: always set oh_len in xlog_write Christoph Hellwig
2026-11-25 14:42 ` [PATCH 03/15] xfs: refactor the continuation loop in xlog_write_partial Christoph Hellwig
2026-11-25 14:42 ` [PATCH 04/15] xfs: factor out a xlog_write_ophdr helper Christoph Hellwig
2026-11-25 14:42 ` [PATCH 05/15] xfs: factor out a xlog_write_cont_ophdr helper Christoph Hellwig
2026-11-25 14:42 ` [PATCH 06/15] xfs: factor out a xlog_write_region helper Christoph Hellwig
2026-11-25 14:42 ` [PATCH 07/15] xfs: remove xlog_write_{partial,full} Christoph Hellwig
2026-11-25 14:42 ` [PATCH 08/15] xfs: build the entire ophdr in xlog_write_ophdr Christoph Hellwig
2026-11-25 14:42 ` [PATCH 09/15] xfs: directly format ophdrs into the iclog Christoph Hellwig
2026-11-25 14:42 ` [PATCH 10/15] xfs: make the i_len field in xfs_log_iovec an uint32_t Christoph Hellwig
2026-11-25 14:42 ` [PATCH 11/15] xfs: improve an assert in xlog_format_commit Christoph Hellwig
2026-11-25 14:42 ` [PATCH 12/15] xfs: remove the lv_bytes field from struct xfs_log_vec Christoph Hellwig
2026-11-25 14:42 ` [PATCH 13/15] xfs: create ophdrs on the fly in xlog_write Christoph Hellwig
2026-11-25 14:42 ` [PATCH 14/15] xfs: move building the checkpoint header into xlog_cil_write_chain Christoph Hellwig
2026-11-25 14:42 ` [PATCH 15/15] xfs: cleanup log vec used tracking Christoph Hellwig
2026-11-25 20:18 ` handle ophdr formatting entirely in xlog_write Dave Chinner

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