summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub/xfile.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2022-07-14 11:06:56 -0700
committerDarrick J. Wong <djwong@kernel.org>2022-11-09 19:07:43 -0800
commit6a74f77f01266ec7f78dd54892059263645a5dad (patch)
tree1fdd869276dbd565de0108edc9cc9301086b1bc0 /fs/xfs/scrub/xfile.c
parentaa6c7e472cebaa846d0519f36b2fb9d1ce2a2c29 (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/scrub/xfile.c')
0 files changed, 0 insertions, 0 deletions