xfs: document full filesystem scans for online fsck
authorDarrick J. Wong <djwong@kernel.org>
Wed, 12 Apr 2023 01:59:50 +0000 (18:59 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 12 Apr 2023 01:59:50 +0000 (18:59 -0700)
commita0d856eede5a3ccfc7f0a4e02ee2e91ffab7f784
tree78cfdcbd1d301439a43cb995c628ab5b6a7c4ff4
parentd697887193ef25df3d6e6a77d4108e7924eba2ca
xfs: document full filesystem scans for online fsck

Certain parts of the online fsck code need to scan every file in the
entire filesystem.  It is not acceptable to block the entire filesystem
while this happens, which means that we need to be clever in allowing
scans to coordinate with ongoing filesystem updates.  We also need to
hook the filesystem so that regular updates propagate to the staging
records.

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