Linux XFS filesystem development
 help / color / mirror / Atom feed
* kill xlog_in_core_2_t
@ 2025-09-16 13:56 Christoph Hellwig
  2025-09-16 13:56 ` [PATCH 1/7] xfs: add a XLOG_CYCLE_DATA_SIZE constant Christoph Hellwig
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Christoph Hellwig @ 2025-09-16 13:56 UTC (permalink / raw)
  To: Carlos Maiolino; +Cc: linux-xfs

Hi all,

xlog_in_core_2_t is probably one of the most confusing types in the
kernel. Not only does it describe an on-disk format despite claiming
to be in-core in the name, but it is also has an extremely confusing
layout.  This series revamps our C representation of the underlying
data structures so that they hopefully make a lot more sense while
killing off xlog_in_core_2_t for good.

Diffstat:
 libxfs/xfs_log_format.h |   38 +++++-----
 libxfs/xfs_ondisk.h     |    6 +
 xfs_log.c               |  181 +++++++++++++++++-------------------------------
 xfs_log_cil.c           |    6 -
 xfs_log_priv.h          |   27 +++++--
 xfs_log_recover.c       |   45 ++++-------
 xfs_trace.h             |    2 
 7 files changed, 131 insertions(+), 174 deletions(-)

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

end of thread, other threads:[~2025-09-17 17:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-16 13:56 kill xlog_in_core_2_t Christoph Hellwig
2025-09-16 13:56 ` [PATCH 1/7] xfs: add a XLOG_CYCLE_DATA_SIZE constant Christoph Hellwig
2025-09-16 13:56 ` [PATCH 2/7] xfs: add a on-disk log header cycle array accessor Christoph Hellwig
2025-09-16 13:56 ` [PATCH 3/7] xfs: don't use xlog_in_core_2_t in struct xlog_in_core Christoph Hellwig
2025-09-16 13:56 ` [PATCH 4/7] xfs: cleanup xlog_alloc_log a bit Christoph Hellwig
2025-09-16 13:56 ` [PATCH 5/7] xfs: remove xlog_in_core_2_t Christoph Hellwig
2025-09-16 13:56 ` [PATCH 6/7] xfs: remove the xlog_rec_header_t typedef Christoph Hellwig
2025-09-16 13:56 ` [PATCH 7/7] xfs: remove l_iclog_heads Christoph Hellwig
2025-09-17 18:00   ` Brian Foster

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