[GIT PULL 7/9] xfs: force rebuilding of metadata

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

 



Hi Chandan,

Please pull this branch with changes for xfs for 6.6-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 d728f4e3b21e74910e370b09bab54629eb66badb:

xfs: allow the user to cancel repairs before we start writing (2023-08-10 07:48:10 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git tags/repair-force-rebuild-6.6_2023-08-10

for you to fetch changes up to 5c83df2e54b6af870e3e02ccd2a8ecd54e36668c:

xfs: allow userspace to rebuild metadata structures (2023-08-10 07:48:11 -0700)

----------------------------------------------------------------
xfs: force rebuilding of metadata [v26.1]

This patchset adds a new IFLAG to the scrub ioctl so that userspace can
force a rebuild of an otherwise consistent piece of metadata.  This will
eventually enable the use of online repair to relocate metadata during a
filesystem reorganization (e.g. shrink).  For now, it facilitates stress
testing of online repair without needing the debugging knobs to be
enabled.

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

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

----------------------------------------------------------------
Darrick J. Wong (2):
xfs: don't complain about unfixed metadata when repairs were injected
xfs: allow userspace to rebuild metadata structures

fs/xfs/libxfs/xfs_fs.h |  6 +++++-
fs/xfs/scrub/common.h  | 12 ++++++++++++
fs/xfs/scrub/scrub.c   | 18 ++++++++++++------
fs/xfs/scrub/trace.h   |  3 ++-
4 files changed, 31 insertions(+), 8 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