Linux XFS filesystem development
 help / color / mirror / Atom feed
* [PATCH 0/3] xfsprogs: libxfs-v7.0-sync
@ 2026-04-27 12:09 Andrey Albershteyn
  2026-04-27 12:09 ` [PATCH 1/3] xfs: annotate struct xfs_attr_list_context with __counted_by_ptr Andrey Albershteyn
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Andrey Albershteyn @ 2026-04-27 12:09 UTC (permalink / raw)
  To: linux-xfs; +Cc: cem, djwong, hch, leo.lilong, morbo, Andrey Albershteyn

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(-)

-- 
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 <cem@kernel.org>
         Signed-off-by: Andrey Albershteyn <aalbersh@kernel.org>
     
    + ## 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

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

end of thread, other threads:[~2026-04-27 12:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-27 12:09 [PATCH 0/3] xfsprogs: libxfs-v7.0-sync Andrey Albershteyn
2026-04-27 12:09 ` [PATCH 1/3] xfs: annotate struct xfs_attr_list_context with __counted_by_ptr Andrey Albershteyn
2026-04-27 12:09 ` [PATCH 2/3] xfs: factor out xfs_attr3_node_entry_remove Andrey Albershteyn
2026-04-27 12:09 ` [PATCH 3/3] xfs: factor out xfs_attr3_leaf_init Andrey Albershteyn

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