Skip to content

xfsprogs: libxfs-v7.0-sync

Andrey Albershteyn linux-xfs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3xfs: annotate struct xfs_attr_list_context with __counted_by_ptrinclude/platform_defs.h libxfs/xfs_attr.h+5 -10 replies
2/3xfs: factor out xfs_attr3_node_entry_removelibxfs/xfs_da_btree.c libxfs/xfs_da_btree.h+44 -110 replies
3/3xfs: factor out xfs_attr3_leaf_initlibxfs/xfs_attr_leaf.c libxfs/xfs_attr_leaf.h+25 -00 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchChristoph HellwigDarrick J. Wong
1/3R-b R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] xfsprogs: libxfs-v7.0-sync

Hi all,

This is libxfs sync to v7.0 with a few missing patches. The most of the sync was done by Darrick as part of his xfs_healer/health monitoring series.

The __counted_by_ptr is NOPed. This attribute existed before but without pointer support, so this can not be easily wrapped by has_attribute. This will require build checks to check compiler version which doesn't seem to be a practice in xfsprogs.

Range-diff attached below.

Git Tag:
https://git.kernel.org/pub/scm/linux/kernel/git/aalbersh/xfsprogs-dev.git tags/libxfs-v7.0-sync_2026-04-27

Bill Wendling (1):
xfs: annotate struct xfs_attr_list_context with __counted_by_ptr

Long Li (2):
xfs: factor out xfs_attr3_node_entry_remove
xfs: factor out xfs_attr3_leaf_init

 include/platform_defs.h |  3 +++
 libxfs/xfs_attr.h       |  3 ++-
 libxfs/xfs_attr_leaf.c  | 22 +++++++++++++++++
 libxfs/xfs_attr_leaf.h  |  3 +++
 libxfs/xfs_da_btree.c   | 53 ++++++++++++++++++++++++++++++++---------
 libxfs/xfs_da_btree.h   |  2 ++
 6 files changed, 74 insertions(+), 12 deletions(-)
Signature · 23 lines
2.51.2

-- 
1:  d67701f62d9a ! 1:  df91bc3bdc9b xfs: annotate struct xfs_attr_list_context with __counted_by_ptr
    @@ Commit message
         Signed-off-by: Carlos Maiolino <[email protected]>
         Signed-off-by: Andrey Albershteyn <[email protected]>
     
    + ## include/platform_defs.h ##
    +@@ include/platform_defs.h: struct kvec {
    + #define BLK_ZONE_COND_ACTIVE      0xff
    + #endif
    + 
    ++/* xfs_attr.h */
    ++#define __counted_by_ptr(member)
    ++
    + #endif    /* __XFS_PLATFORM_DEFS_H__ */
    +
      ## libxfs/xfs_attr.h ##
     @@ libxfs/xfs_attr.h: struct xfs_attr_list_context {
        struct xfs_trans        *tp;
2:  d3b48de1f7db = 2:  e7aab724c89a xfs: factor out xfs_attr3_node_entry_remove
3:  a0a6a995a5b5 = 3:  922f14a9b776 xfs: factor out xfs_attr3_leaf_init