xfs: consolidate btree insert/delete checks
Status from this message: Applied to for-next, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | xfs: remove redundant stat checks after xfs_btree_insert()fs/ fs/ fs/ +1 more | +0 | 2 replies | |
| 2/8 | xfs: remove redundant stat checks after xfs_refcount_insert()fs/ | +2 | 2 replies | |
| 3/8 | xfs: remove redundant stat checks after xfs_inobt_insert_rec()fs/ | +0 | 2 replies | |
| 4/8 | xfs: remove redundant stat check after rcbagbt_insert()fs/ | +0 | 2 replies | |
| 5/8 | xfs: remove status parameter from several btree insert functionsfs/ fs/ fs/ +9 more | +53 | 4 replies | |
| 6/8 | xfs: add stat check to xfs_btree_delete and remove caller checksfs/ fs/ fs/ +4 more | +6 | 2 replies | |
| 7/8 | xfs: remove redundant stat checks after xfs_refcount_delete()fs/ | +0 | 2 replies | |
| 8/8 | xfs: remove status parameter from two btree delete functionsfs/ fs/ fs/ +5 more | +49 | 2 replies |
Reviews trailers per patch
All 8 patches have a Reviewed-by or Acked-by.
| Patch | Darrick J. Wong | Christoph Hellwig |
|---|---|---|
| 1/8 | R-b | R-b |
| 2/8 | R-b | R-b |
| 3/8 | R-b | R-b |
| 4/8 | R-b | R-b |
| 5/8 | R-b | R-b |
| 6/8 | R-b | R-b |
| 7/8 | R-b | R-b |
| 8/8 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/8] xfs: consolidate btree insert/delete checks
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(-)