diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-10 22:51:16 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-01 11:47:41 -0500 |
commit | 002c76dcf6a49a82498e8cddcde75e0dd83f745a (patch) | |
tree | c08ae79e14a748667958c67a5136f5cd74f6b14f /fs/bcachefs/recovery_types.h | |
parent | 38ced43bb04ac59b1417f520f4d5a5c3bc3d1e57 (diff) |
bcachefs: check_root() can now be run online
check_root() is simple enough to run as one single transaction, so is
trivial to run online.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/recovery_types.h')
-rw-r--r-- | fs/bcachefs/recovery_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/recovery_types.h b/fs/bcachefs/recovery_types.h index 6a7debe663b9..6dfc4f10948d 100644 --- a/fs/bcachefs/recovery_types.h +++ b/fs/bcachefs/recovery_types.h @@ -42,7 +42,7 @@ x(check_indirect_extents, 26, PASS_FSCK) \ x(check_dirents, 27, PASS_FSCK) \ x(check_xattrs, 28, PASS_FSCK) \ - x(check_root, 29, PASS_FSCK) \ + x(check_root, 29, PASS_ONLINE|PASS_FSCK) \ x(check_directory_structure, 30, PASS_FSCK) \ x(check_nlinks, 31, PASS_FSCK) \ x(delete_dead_inodes, 32, PASS_FSCK|PASS_UNCLEAN) \ |