Linux XFS filesystem development
 help / color / mirror / Atom feed
* [PATCH 0/8] xfs: consolidate btree insert/delete checks
@ 2026-10-16 19:29 Eric Sandeen
  2026-10-16 19:29 ` [PATCH 1/8] xfs: remove redundant stat checks after xfs_btree_insert() Eric Sandeen
                   ` (7 more replies)
  0 siblings, 8 replies; 17+ messages in thread
From: Eric Sandeen @ 2026-10-16 19:29 UTC (permalink / raw)
  To: linux-xfs; +Cc: cem, hch, dgc

Every xfs_btree_insert/delete caller expects overall only success
or failure, so these tests and mark_sick calls can be consolidated
into those functions themselves, with callchain tests and extra
"status" parameters removed.

 libxfs/xfs_alloc.c    |   91 ++++++++------------------------
 libxfs/xfs_bmap.c     |  139 ++++++++++--------------------------------------
 libxfs/xfs_btree.c    |   14 ++---
 libxfs/xfs_btree.h    |    4 -
 libxfs/xfs_ialloc.c   |   51 +++---------------
 libxfs/xfs_ialloc.h   |    3 -
 libxfs/xfs_refcount.c |   97 ++++++----------------------------
 libxfs/xfs_refcount.h |    2 
 libxfs/xfs_rmap.c     |   96 +++++-----------------------------
 scrub/rcbag.c         |   12 ----
 scrub/rcbag_btree.c   |    5 -
 scrub/rcbag_btree.h   |    3 -
 12 files changed, 110 insertions(+), 407 deletions(-)



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

end of thread, other threads:[~2026-10-16 19:47 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-16 19:29 [PATCH 0/8] xfs: consolidate btree insert/delete checks Eric Sandeen
2026-10-16 19:29 ` [PATCH 1/8] xfs: remove redundant stat checks after xfs_btree_insert() Eric Sandeen
2026-10-16 19:44   ` Darrick J. Wong
2026-10-16 19:29 ` [PATCH 2/8] xfs: remove redundant stat checks after xfs_refcount_insert() Eric Sandeen
2026-10-16 19:44   ` Darrick J. Wong
2026-10-16 19:29 ` [PATCH 3/8] xfs: remove redundant stat checks after xfs_inobt_insert_rec() Eric Sandeen
2026-10-16 19:45   ` Darrick J. Wong
2026-10-16 19:29 ` [PATCH 4/8] xfs: remove redundant stat check after rcbagbt_insert() Eric Sandeen
2026-10-16 19:45   ` Darrick J. Wong
2026-10-16 19:29 ` [PATCH 5/8] xfs: remove status parameter from several btree insert functions Eric Sandeen
2026-10-16 19:46   ` Darrick J. Wong
2026-10-16 19:29 ` [PATCH 6/8] xfs: add stat check to xfs_btree_delete and remove caller checks Eric Sandeen
2026-10-16 19:47   ` Darrick J. Wong
2026-10-16 19:29 ` [PATCH 7/8] xfs: remove redundant stat checks after xfs_refcount_delete() Eric Sandeen
2026-10-16 19:47   ` Darrick J. Wong
2026-10-16 19:29 ` [PATCH 8/8] xfs: remove status parameter from two btree delete functions Eric Sandeen
2026-10-16 19:47   ` 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