commit | 49124d8a7f3bc0f2bd33ba6cdfa2e9514a74b109 | [log] [tgz] |
---|---|---|
author | Kent Overstreet <kent.overstreet@gmail.com> | Thu Jul 14 02:47:36 2022 -0400 |
committer | Kent Overstreet <kent.overstreet@linux.dev> | Sun Oct 22 17:09:35 2023 -0400 |
tree | 59645c4ec1ba715ab4eac85f0cb69fa42dc698c3 | |
parent | 4ab35c34d5ab258fdd7325315fe5d94699e51eb4 [diff] |
bcachefs: Improve snapshots_seen This makes the snapshots_seen data structure fsck private and improves it; we now also track the equivalence class for each snapshot id we've seen, which means we can detect when snapshot deletion hasn't finished or run correctly (which will otherwise confuse fsck). Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>