public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCHSET] xfsprogs: new libxfs code from kernel 7.0
@ 2026-03-03  0:12 Darrick J. Wong
  2026-03-03  0:12 ` [PATCH 01/36] libfrog: hoist some utilities from libxfs Darrick J. Wong
                   ` (35 more replies)
  0 siblings, 36 replies; 48+ messages in thread
From: Darrick J. Wong @ 2026-03-03  0:12 UTC (permalink / raw)
  To: aalbersh, djwong
  Cc: kees, hans.holmberg, torvalds, shinsj4653, cem, dlemoal, hch,
	nirjhar.roy.lists, mark.tinguely, wilfred.mallawa, cmaiolino,
	linux-xfs

Hi all,

This series ports kernel libxfs code to userspace from 7.0-rc2 and is a prereq
for the xfs_healer patches that come next.  The cc list on this userspace port
has gotten kind of out of hand due to the treewide cleanups that went in just
before -rc1.

If you're going to start using this code, I strongly recommend pulling
from my git trees, which are linked below.

With a bit of luck, this should all go splendidly.
Comments and questions are, as always, welcome.

--D

xfsprogs git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=libxfs-7.0-sync
---
Commits in this patchset:
 * libfrog: hoist some utilities from libxfs
 * libfrog: fix missing gettext call in current_fixed_time
 * xfs: start creating infrastructure for health monitoring
 * xfs: create event queuing, formatting, and discovery infrastructure
 * xfs: convey filesystem unmount events to the health monitor
 * xfs: convey metadata health events to the health monitor
 * xfs: convey filesystem shutdown events to the health monitor
 * xfs: convey externally discovered fsdax media errors to the health monitor
 * xfs: convey file I/O errors to the health monitor
 * xfs: check if an open file is on the health monitored fs
 * xfs: add media verification ioctl
 * xfs: move struct xfs_log_iovec to xfs_log_priv.h
 * xfs: directly include xfs_platform.h
 * xfs: remove xfs_attr_leaf_hasname
 * xfs: add missing forward declaration in xfs_zones.h
 * xfs: add a xfs_rtgroup_raw_size helper
 * xfs: split and refactor zone validation
 * xfs: delete attr leaf freemap entries when empty
 * xfs: fix freemap adjustments when adding xattrs to leaf blocks
 * xfs: refactor attr3 leaf table size computation
 * xfs: strengthen attr leaf block freemap checking
 * xfs: reduce xfs_attr_try_sf_addname parameters
 * xfs: speed up parent pointer operations when possible
 * xfs: add a method to replace shortform attrs
 * xfs: fix spacing style issues in xfs_alloc.c
 * xfs: don't validate error tags in the I/O path
 * xfs: add zone reset error injection
 * xfs: give the defer_relog stat a xs_ prefix
 * treewide: Replace kmalloc with kmalloc_obj for non-scalar types
 * Convert 'alloc_obj' family to use the new default GFP_KERNEL argument
 * xfs: Refactoring the nagcount and delta calculation
 * xfs: fix code alignment issues in xfs_ondisk.c
 * xfs: remove metafile inodes from the active inode stat
 * xfs: Add a comment in xfs_log_sb()
 * xfs: remove duplicate static size checks
 * xfs: add static size checks for ioctl UABI
---
 include/kmem.h                |   36 +++++++
 include/libxfs.h              |    7 -
 include/platform_defs.h       |    8 ++
 include/xfs_fs_compat.h       |    8 --
 include/xfs_trace.h           |    1 
 libfrog/util.h                |   21 ++++
 libxfs/libxfs_api_defs.h      |    2 
 libxfs/xfs_ag.h               |    3 +
 libxfs/xfs_attr.h             |    6 +
 libxfs/xfs_attr_leaf.h        |    1 
 libxfs/xfs_da_format.h        |    2 
 libxfs/xfs_errortag.h         |    8 +-
 libxfs/xfs_fs.h               |  189 +++++++++++++++++++++++++++++++++++++++
 libxfs/xfs_health.h           |    5 +
 libxfs/xfs_log_format.h       |    7 -
 libxfs/xfs_ondisk.h           |   52 +++++++----
 libxfs/xfs_platform.h         |   25 +----
 libxfs/xfs_rtgroup.h          |   15 +++
 libxfs/xfs_zones.h            |    6 +
 libfrog/Makefile              |    4 +
 libfrog/util.c                |  166 +++++++++++++++++++++++++++++++++++
 libxfs/Makefile               |    4 -
 libxfs/buf_mem.c              |    2 
 libxfs/cache.c                |    2 
 libxfs/defer_item.c           |    2 
 libxfs/init.c                 |    2 
 libxfs/inode.c                |    2 
 libxfs/iunlink.c              |    2 
 libxfs/kmem.c                 |    2 
 libxfs/logitem.c              |    2 
 libxfs/rdwr.c                 |    2 
 libxfs/topology.c             |    2 
 libxfs/trans.c                |    2 
 libxfs/util.c                 |  162 ----------------------------------
 libxfs/xfblob.c               |    2 
 libxfs/xfile.c                |    2 
 libxfs/xfs_ag.c               |   32 ++++++-
 libxfs/xfs_ag_resv.c          |    2 
 libxfs/xfs_alloc.c            |   10 +-
 libxfs/xfs_alloc_btree.c      |    2 
 libxfs/xfs_attr.c             |  191 +++++++++++++++++++++++++++-------------
 libxfs/xfs_attr_leaf.c        |  197 ++++++++++++++++++++++++++++++++++-------
 libxfs/xfs_attr_remote.c      |    2 
 libxfs/xfs_bit.c              |    2 
 libxfs/xfs_bmap.c             |    2 
 libxfs/xfs_bmap_btree.c       |    2 
 libxfs/xfs_btree.c            |    2 
 libxfs/xfs_btree_mem.c        |    2 
 libxfs/xfs_btree_staging.c    |    2 
 libxfs/xfs_da_btree.c         |    2 
 libxfs/xfs_defer.c            |    6 +
 libxfs/xfs_dir2.c             |   21 ++--
 libxfs/xfs_dir2_block.c       |    2 
 libxfs/xfs_dir2_data.c        |    2 
 libxfs/xfs_dir2_leaf.c        |    2 
 libxfs/xfs_dir2_node.c        |    2 
 libxfs/xfs_dir2_sf.c          |    2 
 libxfs/xfs_dquot_buf.c        |    2 
 libxfs/xfs_exchmaps.c         |    2 
 libxfs/xfs_group.c            |    2 
 libxfs/xfs_ialloc.c           |    2 
 libxfs/xfs_ialloc_btree.c     |    2 
 libxfs/xfs_iext_tree.c        |    2 
 libxfs/xfs_inode_buf.c        |    6 +
 libxfs/xfs_inode_fork.c       |    2 
 libxfs/xfs_inode_util.c       |    2 
 libxfs/xfs_log_rlimit.c       |    2 
 libxfs/xfs_metadir.c          |    2 
 libxfs/xfs_metafile.c         |    7 +
 libxfs/xfs_parent.c           |   16 ++-
 libxfs/xfs_refcount.c         |    6 +
 libxfs/xfs_refcount_btree.c   |    2 
 libxfs/xfs_rmap.c             |    2 
 libxfs/xfs_rmap_btree.c       |    2 
 libxfs/xfs_rtbitmap.c         |    2 
 libxfs/xfs_rtgroup.c          |    4 -
 libxfs/xfs_rtrefcount_btree.c |    2 
 libxfs/xfs_rtrmap_btree.c     |    2 
 libxfs/xfs_sb.c               |    5 +
 libxfs/xfs_symlink_remote.c   |    2 
 libxfs/xfs_trans_inode.c      |    2 
 libxfs/xfs_trans_resv.c       |    2 
 libxfs/xfs_trans_space.c      |    2 
 libxfs/xfs_types.c            |    2 
 libxfs/xfs_zones.c            |  151 ++++++++-----------------------
 libxlog/xfs_log_recover.c     |    4 -
 repair/zoned.c                |    7 +
 87 files changed, 973 insertions(+), 526 deletions(-)
 rename libxfs/{libxfs_priv.h => xfs_platform.h} (96%)


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

end of thread, other threads:[~2026-03-03 16:24 UTC | newest]

Thread overview: 48+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-03  0:12 [PATCHSET] xfsprogs: new libxfs code from kernel 7.0 Darrick J. Wong
2026-03-03  0:12 ` [PATCH 01/36] libfrog: hoist some utilities from libxfs Darrick J. Wong
2026-03-03 14:41   ` Christoph Hellwig
2026-03-03  0:12 ` [PATCH 02/36] libfrog: fix missing gettext call in current_fixed_time Darrick J. Wong
2026-03-03 14:42   ` Christoph Hellwig
2026-03-03  0:12 ` [PATCH 03/36] xfs: start creating infrastructure for health monitoring Darrick J. Wong
2026-03-03  0:13 ` [PATCH 04/36] xfs: create event queuing, formatting, and discovery infrastructure Darrick J. Wong
2026-03-03  0:13 ` [PATCH 05/36] xfs: convey filesystem unmount events to the health monitor Darrick J. Wong
2026-03-03  0:13 ` [PATCH 06/36] xfs: convey metadata health " Darrick J. Wong
2026-03-03  0:13 ` [PATCH 07/36] xfs: convey filesystem shutdown " Darrick J. Wong
2026-03-03  0:14 ` [PATCH 08/36] xfs: convey externally discovered fsdax media errors " Darrick J. Wong
2026-03-03  0:14 ` [PATCH 09/36] xfs: convey file I/O " Darrick J. Wong
2026-03-03  0:14 ` [PATCH 10/36] xfs: check if an open file is on the health monitored fs Darrick J. Wong
2026-03-03  0:15 ` [PATCH 11/36] xfs: add media verification ioctl Darrick J. Wong
2026-03-03  0:15 ` [PATCH 12/36] xfs: move struct xfs_log_iovec to xfs_log_priv.h Darrick J. Wong
2026-03-03 14:44   ` Christoph Hellwig
2026-03-03 16:19     ` Darrick J. Wong
2026-03-03  0:15 ` [PATCH 13/36] xfs: directly include xfs_platform.h Darrick J. Wong
2026-03-03  0:15 ` [PATCH 14/36] xfs: remove xfs_attr_leaf_hasname Darrick J. Wong
2026-03-03  0:16 ` [PATCH 15/36] xfs: add missing forward declaration in xfs_zones.h Darrick J. Wong
2026-03-03  0:16 ` [PATCH 16/36] xfs: add a xfs_rtgroup_raw_size helper Darrick J. Wong
2026-03-03  0:16 ` [PATCH 17/36] xfs: split and refactor zone validation Darrick J. Wong
2026-03-03 14:45   ` Christoph Hellwig
2026-03-03 15:40     ` Darrick J. Wong
2026-03-03  0:16 ` [PATCH 18/36] xfs: delete attr leaf freemap entries when empty Darrick J. Wong
2026-03-03  0:17 ` [PATCH 19/36] xfs: fix freemap adjustments when adding xattrs to leaf blocks Darrick J. Wong
2026-03-03  0:17 ` [PATCH 20/36] xfs: refactor attr3 leaf table size computation Darrick J. Wong
2026-03-03  0:17 ` [PATCH 21/36] xfs: strengthen attr leaf block freemap checking Darrick J. Wong
2026-03-03  0:17 ` [PATCH 22/36] xfs: reduce xfs_attr_try_sf_addname parameters Darrick J. Wong
2026-03-03  0:18 ` [PATCH 23/36] xfs: speed up parent pointer operations when possible Darrick J. Wong
2026-03-03  0:18 ` [PATCH 24/36] xfs: add a method to replace shortform attrs Darrick J. Wong
2026-03-03  0:18 ` [PATCH 25/36] xfs: fix spacing style issues in xfs_alloc.c Darrick J. Wong
2026-03-03  0:18 ` [PATCH 26/36] xfs: don't validate error tags in the I/O path Darrick J. Wong
2026-03-03  0:19 ` [PATCH 27/36] xfs: add zone reset error injection Darrick J. Wong
2026-03-03  0:19 ` [PATCH 28/36] xfs: give the defer_relog stat a xs_ prefix Darrick J. Wong
2026-03-03  0:19 ` [PATCH 29/36] treewide: Replace kmalloc with kmalloc_obj for non-scalar types Darrick J. Wong
2026-03-03 14:46   ` Christoph Hellwig
2026-03-03 16:22     ` Darrick J. Wong
2026-03-03  0:19 ` [PATCH 30/36] Convert 'alloc_obj' family to use the new default GFP_KERNEL argument Darrick J. Wong
2026-03-03 14:47   ` Christoph Hellwig
2026-03-03  0:20 ` [PATCH 31/36] xfs: Refactoring the nagcount and delta calculation Darrick J. Wong
2026-03-03  0:20 ` [PATCH 32/36] xfs: fix code alignment issues in xfs_ondisk.c Darrick J. Wong
2026-03-03  0:20 ` [PATCH 33/36] xfs: remove metafile inodes from the active inode stat Darrick J. Wong
2026-03-03 14:49   ` Christoph Hellwig
2026-03-03 16:24     ` Darrick J. Wong
2026-03-03  0:21 ` [PATCH 34/36] xfs: Add a comment in xfs_log_sb() Darrick J. Wong
2026-03-03  0:21 ` [PATCH 35/36] xfs: remove duplicate static size checks Darrick J. Wong
2026-03-03  0:21 ` [PATCH 36/36] xfs: add static size checks for ioctl UABI Darrick J. Wong

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