diff options
author | 2024-03-22 16:29:23 -0400 | |
---|---|---|
committer | 2024-03-31 20:36:11 -0400 | |
commit | ec9cc18fc2e65b08c588e01f24aaeb71551a7132 (patch) | |
tree | af145579dc99b4b2f90f9ddf72f7f20f6df45106 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bcachefs: Move snapshot table size to struct snapshot_table (diff) | |
download | wireguard-linux-ec9cc18fc2e65b08c588e01f24aaeb71551a7132.tar.xz wireguard-linux-ec9cc18fc2e65b08c588e01f24aaeb71551a7132.zip |
bcachefs: Add checks for invalid snapshot IDs
Previously, we assumed that keys were consistent with the snapshots
btree - but that's not correct as fsck may not have been run or may not
be complete.
This adds checks and error handling when using the in-memory snapshots
table (that mirrors the snapshots btree).
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions