Backport of XFS umount hang fixes
Status from this message: Queued the series for 5.10, thanks.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest posting 8/819 patches 3 repliesApplied
- v2 posting 7/89 patches 1 replyApplied
- v2 posting 6/85 patches 1 replyApplied
Earlier versions · 6
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 posting 5/8 | 5 patches | 5 replies | Applied | |
| v2 posting 4/8 | 6 patches | 2 replies | Applied | |
| v2 posting 3/8 | 19 patches | 0 replies | Superseded | |
| v2 posting 2/8 | 5 patches | 2 replies | Superseded | |
| v2 posting 1/8 | 6 patches | 0 replies | Superseded | |
| v1 | 21 patches | 0 replies | Superseded |
Patches in v2 posting 8/8 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/19 | xfs: hoist recovered bmap intent checks out of xfs_bui_item_recoverfs/ | +47 | 0 replies | |
| 2/19 | xfs: improve the code that checks recovered bmap intent itemsfs/ | +13 | 0 replies | |
| 3/19 | xfs: hoist recovered rmap intent checks out of xfs_rui_item_recoverfs/ | +42 | 0 replies | |
| 4/19 | xfs: improve the code that checks recovered rmap intent itemsfs/ | +18 | 0 replies | |
| 5/19 | xfs: hoist recovered refcount intent checks out of xfs_cui_item_recoverfs/ | +38 | 0 replies | |
| 6/19 | xfs: improve the code that checks recovered refcount intent itemsfs/ | +11 | 0 replies | |
| 7/19 | xfs: don't nest icloglock inside ic_callback_lockfs/ | +4 | 0 replies | |
| 8/19 | xfs: convert XLOG_FORCED_SHUTDOWN() to xlog_is_shutdown()fs/ fs/ fs/ +2 more | +29 | 0 replies | |
| 9/19 | xfs: log items should have a xlog pointer, not a mountfs/ fs/ fs/ +8 more | +17 | 0 replies | |
| 10/19 | xfs: aborting inodes on shutdown may need buffer lockfs/ fs/ fs/ +1 more | +137 | 0 replies | |
| 11/19 | xfs: remove xfs_buf_t typedeffs/ fs/ fs/ +13 more | +80 | 0 replies | |
| 12/19 | xfs: fix super block buf log item UAF during force shutdownfs/ | +2 | 0 replies | |
| 13/19 | xfs: fix intermittent hang during quotacheckfs/ | +7 | 0 replies | |
| 14/19 | xfs: buffer pins need to hold a buffer referencefs/ | +65 | 0 replies | |
| 15/19 | xfs: xfs_ifree_cluster vs xfs_iflush_shutdown_abort deadlockfs/ fs/ | +10 | 0 replies | |
| 16/19 | xfs: catch stale AGF/AGF metadatafs/ fs/ | +64 | 0 replies | |
| 17/19 | xfs: rearrange code in xfs_buf_item.cfs/ fs/ | +60 | 0 replies | |
| 18/19 | xfs: factor out stale buffer item completionfs/ | +37 | 0 replies | |
| 19/19 | xfs: fix unmount hang with unflushable inodes stuck in the AILfs/ fs/ | +87 | 0 replies |
Reviews trailers per patch
All 19 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Christoph Hellwig | Brian Foster | Darrick J. Wong | Chandan Babu R | Dave Chinner | Carlos Maiolino |
|---|---|---|---|---|---|---|
| Series | A-b | |||||
| 1/19 | R-b | R-b | ||||
| 2/19 | R-b | R-b | ||||
| 3/19 | R-b | R-b | ||||
| 4/19 | R-b | |||||
| 5/19 | R-b | R-b | ||||
| 6/19 | R-b | R-b | ||||
| 7/19 | R-b | R-b | ||||
| 8/19 | R-b | R-b | ||||
| 9/19 | R-b | R-b | ||||
| 10/19 | R-b | |||||
| 11/19 | R-b | R-b | ||||
| 12/19 | R-b A-b | |||||
| 13/19 | A-b | R-b | ||||
| 14/19 | R-b | R-b | A-b | |||
| 15/19 | R-b | R-b | ||||
| 16/19 | R-b | |||||
| 17/19 | R-b | |||||
| 18/19 | R-b | |||||
| 19/19 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.
Cover letter [PATCH RESEND 5.10 v2 00/19] Backport of XFS umount hang fixes
Backport of this series:
https://lore.kernel.org/all/[email protected]/
I have added information in commit message upon conflict resolutions.
v2: Address Sasha's comments to v1 in the below mail:
https://lore.kernel.org/stable/2026-10-01-1-daily-reply-0012-re-xfs-umount-hang-backports@kernel.org/
Thanks,
Siddh
Darrick J. Wong (7):
xfs: hoist recovered bmap intent checks out of xfs_bui_item_recover
xfs: improve the code that checks recovered bmap intent items
xfs: hoist recovered rmap intent checks out of xfs_rui_item_recover
xfs: improve the code that checks recovered rmap intent items
xfs: hoist recovered refcount intent checks out of
xfs_cui_item_recover
xfs: improve the code that checks recovered refcount intent items
xfs: fix intermittent hang during quotacheck
Dave Chinner (11):
xfs: don't nest icloglock inside ic_callback_lock
xfs: convert XLOG_FORCED_SHUTDOWN() to xlog_is_shutdown()
xfs: log items should have a xlog pointer, not a mount
xfs: aborting inodes on shutdown may need buffer lock
xfs: remove xfs_buf_t typedef
xfs: buffer pins need to hold a buffer reference
xfs: xfs_ifree_cluster vs xfs_iflush_shutdown_abort deadlock
xfs: catch stale AGF/AGF metadata
xfs: rearrange code in xfs_buf_item.c
xfs: factor out stale buffer item completion
xfs: fix unmount hang with unflushable inodes stuck in the AIL
Guo Xuenan (1):
xfs: fix super block buf log item UAF during force shutdown
fs/xfs/libxfs/xfs_alloc.c | 61 ++++-- fs/xfs/libxfs/xfs_bmap.c | 6 +- fs/xfs/libxfs/xfs_btree.c | 10 +- fs/xfs/libxfs/xfs_ialloc.c | 38 +++- fs/xfs/libxfs/xfs_rtbitmap.c | 22 +- fs/xfs/xfs_bmap_item.c | 76 ++++--- fs/xfs/xfs_buf.c | 24 +-- fs/xfs/xfs_buf.h | 14 +- fs/xfs/xfs_buf_item.c | 384 ++++++++++++++++++++++------------- fs/xfs/xfs_buf_item.h | 3 +- fs/xfs/xfs_dquot_item.c | 5 +- fs/xfs/xfs_extfree_item.c | 2 +- fs/xfs/xfs_fsops.c | 2 +- fs/xfs/xfs_icache.c | 10 +- fs/xfs/xfs_inode.c | 9 +- fs/xfs/xfs_inode_item.c | 164 ++++++++++++--- fs/xfs/xfs_inode_item.h | 1 + fs/xfs/xfs_log.c | 50 ++--- fs/xfs/xfs_log_cil.c | 12 +- fs/xfs/xfs_log_priv.h | 7 +- fs/xfs/xfs_log_recover.c | 17 +- fs/xfs/xfs_qm.c | 7 + fs/xfs/xfs_refcount_item.c | 60 ++++-- fs/xfs/xfs_rmap_item.c | 75 ++++--- fs/xfs/xfs_rtalloc.c | 20 +- fs/xfs/xfs_rtalloc.h | 4 +- fs/xfs/xfs_symlink.c | 4 +- fs/xfs/xfs_trace.h | 4 +- fs/xfs/xfs_trans.c | 6 +- fs/xfs/xfs_trans.h | 3 +- fs/xfs/xfs_trans_buf.c | 16 +- 31 files changed, 723 insertions(+), 393 deletions(-)
Signature · 1 line
2.53.0