diff options
| author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-05-02 12:37:36 -0400 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-05-21 20:14:45 -0400 |
| commit | e9756dd29f33ede1a595d9fb5e0e2586f7542c1f (patch) | |
| tree | d941c2b4acd8a3bdac663cc77e81aba5263b5ee3 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | bcachefs: BCH_SNAPSHOT_DELETED -> BCH_SNAPSHOT_WILL_DELETE (diff) | |
| download | linux-e9756dd29f33ede1a595d9fb5e0e2586f7542c1f.tar.gz linux-e9756dd29f33ede1a595d9fb5e0e2586f7542c1f.zip | |
bcachefs: bcachefs_metadata_version_snapshot_deletion_v2
We're going to be speeding up snapshot deletion, by only having it
process the extents/dirents/xattrs btrees if an inode of a given
snapshot ID was present.
This raises the possibility of 'bkey_in_missing_snapshot' errors popping
up, if we ever accidentally don't do the corresponding inode update, or
if the new algorithm has bugs.
So instead of deleting snapshot IDs, add a new deleted flag, so that
'key in missing snapshot' errors can more definitively tell what
happened and automatically repair.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
