[Top] [All Lists]

[PATCH 0/4] xfsprogs/repair: sparse inode chunks cleanups

To: xfs@xxxxxxxxxxx
Subject: [PATCH 0/4] xfsprogs/repair: sparse inode chunks cleanups
From: Brian Foster <bfoster@xxxxxxxxxx>
Date: Mon, 8 Jun 2015 07:29:20 -0400
Delivered-to: xfs@xxxxxxxxxxx
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:


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 Foster (4):
  repair: access helpers for on-disk inobt record freecount
  repair: helper for inode chunk alignment and start/end ino number
  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(-)


<Prev in Thread] Current Thread [Next in Thread>