diff options
author | 2024-04-02 18:30:14 -0400 | |
---|---|---|
committer | 2024-04-02 20:24:00 -0400 | |
commit | 7ee88737ab802ac832f978d6e6258571fe08d870 (patch) | |
tree | cea43d70c963bf7c4bba92a6d9fdf764ae304f74 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bcachefs: Improve bch2_btree_update_to_text() (diff) | |
download | wireguard-linux-7ee88737ab802ac832f978d6e6258571fe08d870.tar.xz wireguard-linux-7ee88737ab802ac832f978d6e6258571fe08d870.zip |
bcachefs: Check for bad needs_discard before doing discard
In the discard worker, we were failing to validate the bucket state -
meaning a corrupt needs_discard btree could cause us to discard a bucket
that we shouldn't.
If check_alloc_info hasn't run yet we just want to bail out, otherwise
it's a filesystem inconsistent error.
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