xfs: refactor ordered buffer logging code
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest9 patches 2 repliesIn review
- v19 patches 19 repliesSuperseded
Changes in v2 from the cover letter
- Various cleanups.
- Rename bmbt scan invalid owner flag.
- Added stable CC for bmbt owner change log recovery fix (6/9).
v1: https://marc.info/?l=linux-xfs&m=150367356112090&w=2
- Drop unnecessary buffer type set in xfs_btree_block_change_owner().
- Several new cleanup patches.
- Fix bmbt owner change (extent swap) log recovery.
- Update buffer ordering to fail on previously dirty buffers.
- Rework bmbt owner change to use ordered buffers correctly.
rfc: https://marc.info/?l=linux-xfs&m=150272969407981&w=2
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | xfs: open-code xfs_buf_item_dirty()fs/ fs/ fs/ | +1 | 0 replies | |
| 2/9 | xfs: remove unnecessary dirty bli format check for ordered bufsfs/ fs/ | +33 | 0 replies | |
| 3/9 | xfs: ordered buffer log items are never formattedfs/ fs/ | +2 | 1 reply | |
| 4/9 | xfs: refactor buffer logging into buffer dirtying helperfs/ fs/ | +33 | 0 replies | |
| 5/9 | xfs: don't log dirty ranges for ordered buffersfs/ fs/ fs/ | +16 | 0 replies | |
| 6/9 | xfs: skip bmbt block ino validation during owner changefs/ fs/ fs/ | +4 | 0 replies | |
| 7/9 | xfs: move bmbt owner change to last step of extent swapfs/ | +26 | 0 replies | |
| 8/9 | xfs: disallow marking previously dirty buffers as orderedfs/ fs/ | +6 | 0 replies | |
| 9/9 | xfs: relog dirty buffers during swapext bmbt owner changefs/ fs/ | +65 | 0 replies |
Reviews trailers per patch
All 9 patches have a Reviewed-by or Acked-by.
| Patch | Darrick J. Wong | Christoph Hellwig | Allison Henderson |
|---|---|---|---|
| 1/9 | R-b | R-b | |
| 2/9 | R-b | ||
| 3/9 | R-b | R-b | |
| 4/9 | R-b | R-b | R-b |
| 5/9 | R-b | R-b | R-b |
| 6/9 | R-b | R-b | |
| 7/9 | R-b | R-b | |
| 8/9 | R-b | R-b | |
| 9/9 | R-b | 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 3 reviewers.
Cover letter [PATCH v2 0/9] xfs: refactor ordered buffer logging code
Hi all,
Here's v2 of the ordered buffer / buffer relogging refactoring series. Only minor updates in this version. I've also tagged patch 6 for stable as it fixes a log recovery regression for bmbt owner change operations.
Brian
v2:
- Various cleanups.
- Rename bmbt scan invalid owner flag.
- Added stable CC for bmbt owner change log recovery fix (6/9).
v1: https://marc.info/?l=linux-xfs&m=150367356112090&w=2
- Drop unnecessary buffer type set in xfs_btree_block_change_owner().
- Several new cleanup patches.
- Fix bmbt owner change (extent swap) log recovery.
- Update buffer ordering to fail on previously dirty buffers.
- Rework bmbt owner change to use ordered buffers correctly.
rfc: https://marc.info/?l=linux-xfs&m=150272969407981&w=2
Brian Foster (9):
xfs: open-code xfs_buf_item_dirty()
xfs: remove unnecessary dirty bli format check for ordered bufs
xfs: ordered buffer log items are never formatted
xfs: refactor buffer logging into buffer dirtying helper
xfs: don't log dirty ranges for ordered buffers
xfs: skip bmbt block ino validation during owner change
xfs: move bmbt owner change to last step of extent swap
xfs: disallow marking previously dirty buffers as ordered
xfs: relog dirty buffers during swapext bmbt owner change
fs/xfs/libxfs/xfs_bmap_btree.c | 1 + fs/xfs/libxfs/xfs_btree.c | 27 ++++++++---- fs/xfs/libxfs/xfs_btree.h | 3 +- fs/xfs/libxfs/xfs_ialloc.c | 2 - fs/xfs/xfs_bmap_util.c | 93 +++++++++++++++++++++++++++++++----------- fs/xfs/xfs_buf_item.c | 75 +++++++++++++--------------------- fs/xfs/xfs_buf_item.h | 2 +- fs/xfs/xfs_trace.h | 1 - fs/xfs/xfs_trans.h | 6 ++- fs/xfs/xfs_trans_buf.c | 79 +++++++++++++++++++++-------------- 10 files changed, 173 insertions(+), 116 deletions(-)
Signature · 1 line
2.9.5