xfsprogs/repair: sparse inode chunks cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | repair: access helpers for on-disk inobt record freecountrepair/ repair/ repair/ | +38 | 0 replies | |
| 2/4 | repair: helper for inode chunk alignment and start/end ino number verificationrepair/ | +93 | 0 replies | |
| 3/4 | repair: helper to import on-disk inobt records to in-core treesrepair/ | +91 | 0 replies | |
| 4/4 | repair: helper to transition inode blocks to inode staterepair/ | +39 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] xfsprogs/repair: sparse inode chunks cleanups
Hi all,
This is a small cleanup series for some of the repair code touched by the sparse inode chunks feature, in response to review comments in the following thread:
http://oss.sgi.com/archives/xfs/2015-06/msg00053.html
It primarily creates a few helper functions for hunks of code executed multiple times or code that is common between the increasingly similar but separate inobt and finobt record scanning code. For much of the latter code, the only difference between the separate functions is the error message output to indicate which tree is affected by a problem. Therefore, I abstracted out the inobt name and factored out some helpers that can perform the appropriate checks regardless of the tree type.
This series is purely cleanup and should not alter functionality in any way. Thoughts?
Brian
Brian Foster (4):
repair: access helpers for on-disk inobt record freecount
repair: helper for inode chunk alignment and start/end ino number
verification
repair: helper to import on-disk inobt records to in-core trees
repair: helper to transition inode blocks to inode state
repair/dino_chunks.c | 91 ++++++------- repair/incore.h | 28 ++++ repair/phase5.c | 12 +- repair/scan.c | 377 +++++++++++++++++++++++++-------------------------- 4 files changed, 259 insertions(+), 249 deletions(-)
Signature · 6 lines
1.9.3 _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs