summaryrefslogtreecommitdiff
path: root/fs/bcachefs/recovery_types.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-12-11 06:52:43 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2024-01-01 19:47:44 +0300
commitc98d132ed1e37bb1c6b2ddbb50f9eae2283f0df6 (patch)
treef1659eb04877fbf3b3de67d2fe0bbd09ef582091 /fs/bcachefs/recovery_types.h
parentd296e7b18521d60e3c428945c19a66ecf012c002 (diff)
downloadlinux-c98d132ed1e37bb1c6b2ddbb50f9eae2283f0df6.tar.xz
bcachefs: check_directory_structure() can now be run online
Now that we have dynamically resizable btree paths, check_directory_structure() can check one path - inode up to the root - in a single transaction. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/recovery_types.h')
-rw-r--r--fs/bcachefs/recovery_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/recovery_types.h b/fs/bcachefs/recovery_types.h
index 6dfc4f10948d..fa0c8efd2a1b 100644
--- a/fs/bcachefs/recovery_types.h
+++ b/fs/bcachefs/recovery_types.h
@@ -43,7 +43,7 @@
x(check_dirents, 27, PASS_FSCK) \
x(check_xattrs, 28, PASS_FSCK) \
x(check_root, 29, PASS_ONLINE|PASS_FSCK) \
- x(check_directory_structure, 30, PASS_FSCK) \
+ x(check_directory_structure, 30, PASS_ONLINE|PASS_FSCK) \
x(check_nlinks, 31, PASS_FSCK) \
x(delete_dead_inodes, 32, PASS_FSCK|PASS_UNCLEAN) \
x(fix_reflink_p, 33, 0) \