Merge tag 'repair-force-rebuild-6.6_2023-08-10' of https://git.kernel.org/pub/scm...
authorChandan Babu R <chandan.babu@oracle.com>
Fri, 18 Aug 2023 08:02:43 +0000 (13:32 +0530)
committerChandan Babu R <chandan.babu@oracle.com>
Fri, 18 Aug 2023 08:02:43 +0000 (13:32 +0530)
commit5221002c054376fcf2f0cea1d13f00291a90222e
treeac7ebdc03145075d0e2150b2cfe12af7df4f3021
parent7857acd8773e74124a0e1bb8791e6f69d9b7f6f0
parent5c83df2e54b6af870e3e02ccd2a8ecd54e36668c
Merge tag 'repair-force-rebuild-6.6_2023-08-10' of https://git./linux/kernel/git/djwong/xfs-linux into xfs-6.6-mergeA

xfs: force rebuilding of metadata

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.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandan.babu@oracle.com>
* tag 'repair-force-rebuild-6.6_2023-08-10' of https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux:
  xfs: allow userspace to rebuild metadata structures
  xfs: don't complain about unfixed metadata when repairs were injected