]> Gentwo Git Trees - linux/.git/commit
xfs: add a on-disk log header cycle array accessor
authorChristoph Hellwig <hch@lst.de>
Mon, 27 Oct 2025 07:05:49 +0000 (08:05 +0100)
committerCarlos Maiolino <cem@kernel.org>
Wed, 12 Nov 2025 10:09:25 +0000 (11:09 +0100)
commit899b7ee44baebcfb2b2366b2aff6e9aca4486c4d
tree7f685b9eed980e3c600186520a9ea6d3cbda67ca
parent74d975ed6c9f8ba44179502a8ad5a839b38e8630
xfs: add a on-disk log header cycle array accessor

Accessing the cycle arrays in the original log record header vs the
extended header is messy and duplicated in multiple places.

Add a xlog_cycle_data helper to abstract it out.

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>
fs/xfs/xfs_log.c
fs/xfs/xfs_log_priv.h
fs/xfs/xfs_log_recover.c