xfs: deferred scrub of parent pointers
authorDarrick J. Wong <djwong@kernel.org>
Mon, 22 Apr 2024 16:48:04 +0000 (09:48 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 23 Apr 2024 14:47:02 +0000 (07:47 -0700)
commit8ad345306d1eba337a3b88f9acbe762f9e770f76
treeacab316a1fc8325084076ef5d090d9b3c5784525
parent0d29a20fbdba89501bd2ac003faeee666c9a5008
xfs: deferred scrub of parent pointers

If the trylock-based dirent check fails, retain those parent pointers
and check them at the end.  This may involve dropping the locks on the
file being scanned, so yay.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/Makefile
fs/xfs/scrub/parent.c
fs/xfs/scrub/trace.h