fix log recovery for v5 superblocks
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 0 repliesNew
- v15 patches 8 repliesSuperseded
Changes in v2 from the cover letter
- Rebased to for-next.
- Limit LSN change trigger to log commit records.
- Comment rewrite/fixups.
- Refactor buffer validation handling of NULL current lsn callers (skipped bufs).
v1: http://oss.sgi.com/pipermail/xfs/2016-August/050840.html
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | xfs: rework log recovery to submit buffers on LSN boundariesfs/ fs/ | +66 | 0 replies | |
| 2/5 | xfs: pass current lsn to log recovery buffer validationfs/ | +8 | 0 replies | |
| 3/5 | xfs: don't warn on buffers not being recovered due to LSNfs/ | +26 | 0 replies | |
| 4/5 | xfs: update metadata LSN in buffers during log recoveryfs/ | +38 | 0 replies | |
| 5/5 | xfs: log recovery tracepoints to track current lsn and buffer submissionfs/ fs/ | +31 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/5] fix log recovery for v5 superblocks
Hi all,
Here's v2 of the series to fix up log recovery to update metadata LSNs and handle buffer submission correctly. This is mostly similar to v1. The primary functional change is a fixup to patch 1, that came out of the discussion with Dave, to drain queued buffers on LSN changes of commit log records (as opposed to all LSN changes). Otherwise, fixes include some light refactoring and comment reworks. Thoughts, reviews, flames appreciated.
Brian
v2:
- Rebased to for-next.
- Limit LSN change trigger to log commit records.
- Comment rewrite/fixups.
- Refactor buffer validation handling of NULL current lsn callers (skipped bufs).
v1: http://oss.sgi.com/pipermail/xfs/2016-August/050840.html
Brian Foster (5):
xfs: rework log recovery to submit buffers on LSN boundaries
xfs: pass current lsn to log recovery buffer validation
xfs: don't warn on buffers not being recovered due to LSN
xfs: update metadata LSN in buffers during log recovery
xfs: log recovery tracepoints to track current lsn and buffer
submission
fs/xfs/xfs_log_priv.h | 3 +- fs/xfs/xfs_log_recover.c | 191 +++++++++++++++++++++++++++++++++-------------- fs/xfs/xfs_trace.h | 31 +++++++- 3 files changed, 166 insertions(+), 59 deletions(-)
Signature · 1 line
2.5.5