xfs: document directory tree repairs
authorDarrick J. Wong <djwong@kernel.org>
Wed, 12 Apr 2023 01:59:51 +0000 (18:59 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 12 Apr 2023 01:59:51 +0000 (18:59 -0700)
commita26aa25247bc91fefa08e4127a16046135f30a5f
treeb1ba5c75a6249f16b5bdd10e065389394f9ba5ec
parent2f754f7fb9fdd4e051cb273010c4244f95095835
xfs: document directory tree repairs

Directory tree repairs are the least complete part of online fsck, due
to the lack of directory parent pointers.  However, even without that
feature, we can still make some corrections to the directory tree -- we
can salvage as many directory entries as we can from a damaged
directory, and we can reattach orphaned inodes to the lost+found, just
as xfs_repair does now.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Documentation/filesystems/xfs-online-fsck-design.rst