[GIT PULL 08/16] xfs: online repair of inode unlinked state

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Chandan,

Please pull this branch with changes for xfs for 6.10-rc1.

As usual, I did a test-merge with the main upstream branch as of a few
minutes ago, and didn't see any conflicts.  Please let me know if you
encounter any problems.

--D

The following changes since commit 6c631e79e73c7122c890ef943f8ca9aab9e1dec8:

xfs: create an xattr iteration function for scrub (2024-04-15 14:58:54 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git tags/repair-unlinked-inode-state-6.10_2024-04-15

for you to fetch changes up to 669dfe883c8e20231495f80a28ec7cc0b8fdddc4:

xfs: update the unlinked list when repairing link counts (2024-04-15 14:58:55 -0700)

----------------------------------------------------------------
xfs: online repair of inode unlinked state [v30.3 08/16]

This series adds some logic to the inode scrubbers so that they can
detect and deal with consistency errors between the link count and the
per-inode unlinked list state.  The helpers needed to do this are
presented here because they are a prequisite for rebuildng directories,
since we need to get a rebuilt non-empty directory off the unlinked
list.

Note that this patchset does not provide comprehensive reconstruction of
the AGI unlinked list; that is coming in a subsequent patchset.

This has been running on the djcloud for months with no problems.  Enjoy!

Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx>

----------------------------------------------------------------
Darrick J. Wong (2):
xfs: ensure unlinked list state is consistent with nlink during scrub
xfs: update the unlinked list when repairing link counts

fs/xfs/scrub/inode.c         | 19 +++++++++++++++++++
fs/xfs/scrub/inode_repair.c  | 45 ++++++++++++++++++++++++++++++++++++++++++++
fs/xfs/scrub/nlinks_repair.c | 42 ++++++++++++++++++++++++++++++++---------
fs/xfs/xfs_inode.c           |  5 +----
fs/xfs/xfs_inode.h           |  2 ++
5 files changed, 100 insertions(+), 13 deletions(-)





[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux