commit | 35f1a5034d81416ca820032452bed583f78f1f5e | [log] [tgz] |
---|---|---|
author | Kent Overstreet <kent.overstreet@gmail.com> | Thu Jul 14 05:44:10 2022 -0400 |
committer | Kent Overstreet <kent.overstreet@linux.dev> | Sun Oct 22 17:09:35 2023 -0400 |
tree | a7db6c008faa62617a15897636e88437a39a713a | |
parent | 49124d8a7f3bc0f2bd33ba6cdfa2e9514a74b109 [diff] |
bcachefs: Improve fsck for subvols/snapshots - Bunch of refactoring, and move some code out of bch2_snapshots_start() and into bch2_snapshots_check(), for constency with the rest of fsck - Interior snapshot nodes no longer point to a subvolume; this is so we don't end up with dangling subvol references when deleting or require scanning the full snapshots btree. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>