[PATCH 0/34] xfsprogs: libxfs sync v6.18

Andrey Albershteyn
2025-12-03T19:04:03Z

Hi all,

This is libxfs sync for v6.18. A lot of typedef cleanups mostly.

I replaced removed typedefs throughout xfsprogs and adjusted formating a
bit around these changes, and updated XFS_TEST_ERROR() macro in the
original commit to ignore expr argument. Nothing else changed.

Andrey Albershteyn <aalbersh@kernel.org>:
xfs: remove deprecated mount options
xfs: remove deprecated sysctl knobs
xfs: remove the xlog_op_header_t typedef
xfs: remove the xfs_trans_header_t typedef
xfs: remove the xfs_extent_t typedef
xfs: remove the xfs_extent32_t typedef
xfs: remove the xfs_extent64_t typedef
xfs: remove the xfs_efi_log_format_t typedef
xfs: remove the xfs_efi_log_format_32_t typedef
xfs: remove the xfs_efi_log_format_64_t typedef
xfs: remove the xfs_efd_log_format_t typedef
xfs: remove the unused xfs_efd_log_format_32_t typedef
xfs: remove the unused xfs_efd_log_format_64_t typedef
xfs: remove the unused xfs_buf_log_format_t typedef
xfs: remove the unused xfs_dq_logformat_t typedef
xfs: remove the unused xfs_qoff_logformat_t typedef
xfs: remove the unused xfs_log_iovec_t typedef
xfs: fix log CRC mismatches between i386 and other architectures
xfs: move the XLOG_REG_ constants out of xfs_log_format.h
xfs: remove the expr argument to XFS_TEST_ERROR
xfs: improve default maximum number of open zones
xfs: prevent gc from picking the same zone twice
xfs: convert xfs_buf_log_format_t typedef to struct
xfs: convert xlog_op_header_t typedef to struct
xfs: convert xfs_trans_header_t typdef to struct
xfs: convert xfs_log_iovec_t typedef to struct
xfs: convert xfs_qoff_logformat_t typedef to struct
xfs: convert xfs_dq_logformat_t typedef to struct
xfs: convert xfs_efi_log_format typedef to struct
xfs: convert xfs_efd_log_format_t typedef to struct
xfs: convert xfs_efi_log_format_32_t typedef to struct
xfs: convert xfs_extent_t typedef to struct
xfs: convert xfs_efi_log_format_64_t typedef to struct

Diffstat:
include/xfs_trans.h | 10 +++++-----
libxfs/defer_item.c | 2 +-
libxfs/libxfs_priv.h | 2 +-
libxfs/rdwr.c | 4 ++--
libxfs/util.c | 10 +++++-----
libxfs/xfs_ag_resv.c | 7 +++----
libxfs/xfs_alloc.c | 5 ++---
libxfs/xfs_attr_leaf.c | 25 ++++++-------------------
libxfs/xfs_bmap.c | 31 +++++++++++--------------------
libxfs/xfs_btree.c | 2 +-
libxfs/xfs_da_btree.c | 2 +-
libxfs/xfs_dir2.c | 2 +-
libxfs/xfs_exchmaps.c | 4 ++--
libxfs/xfs_ialloc.c | 6 +++---
libxfs/xfs_inode_buf.c | 4 ++--
libxfs/xfs_inode_fork.c | 3 +--
libxfs/xfs_inode_util.c | 11 -----------
libxfs/xfs_log_format.h | 150 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------
libxfs/xfs_log_recover.h | 2 +-
libxfs/xfs_metafile.c | 2 +-
libxfs/xfs_ondisk.h | 2 ++
libxfs/xfs_refcount.c | 7 +++----
libxfs/xfs_rmap.c | 2 +-
libxfs/xfs_rtbitmap.c | 2 +-
libxfs/xfs_rtgroup.h | 6 ++++++
libxfs/xfs_sb.c | 9 +++------
libxfs/xfs_zones.h | 7 +++++++
libxlog/xfs_log_recover.c | 20 ++++++++++----------
logprint/log_print_all.c | 28 ++++++++++++++--------------
logprint/log_redo.c | 89 +++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------
logprint/logprint.h | 2 +-
31 files changed, 214 insertions(+), 244 deletions(-)

--
- Andrey