diff options
author | Darrick J. Wong <djwong@kernel.org> | 2022-07-14 11:06:56 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2022-10-14 14:16:55 -0700 |
commit | 98c995f046c8c615fc92a1d8ab37aa63c803b23c (patch) | |
tree | 79bc16b9a264ec4c05248cbdac37e286f5502c21 /fs/xfs/Makefile | |
parent | 6b55d25d9d009232001380a9a86fab923d66e948 (diff) |
xfs: online repair of directories
If a directory looks like it's in bad shape, try to sift through the
rubble to find whatever directory entries we can, scan the directory
tree for the parent (if needed), stage the new directory contents in a
temporary file and use the atomic extent swapping mechanism to commit
the results in bulk. As a side effect of this patch, directory
inactivation will be able to purge any leftover dir blocks.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/Makefile')
-rw-r--r-- | fs/xfs/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/Makefile b/fs/xfs/Makefile index 37b16c089c51..d390ab15090a 100644 --- a/fs/xfs/Makefile +++ b/fs/xfs/Makefile @@ -188,6 +188,7 @@ xfs-y += $(addprefix scrub/, \ attr_repair.o \ bmap_repair.o \ cow_repair.o \ + dir_repair.o \ fscounters_repair.o \ ialloc_repair.o \ inode_repair.o \ |