diff options
author | 2025-04-22 04:45:25 -0400 | |
---|---|---|
committer | 2025-04-24 19:09:52 -0400 | |
commit | c4f89a1d3590243ef1bbd55557a1f55a4a93927d (patch) | |
tree | 054713fa34d15009f740fbec1887d22295b2dac2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bcachefs: Unit test fixes (diff) | |
download | wireguard-linux-c4f89a1d3590243ef1bbd55557a1f55a4a93927d.tar.xz wireguard-linux-c4f89a1d3590243ef1bbd55557a1f55a4a93927d.zip |
bcachefs: Make btree_iter_peek_prev() assert more precise
The issue this assert is guarding against is that in
BTREE_ITER_filter_snapshots mode we only want to be iterating within a
single inode number - if we iterate into another inode number with keys
for a different snapshot tree, we'll loop arbitrarily long before
finding a key we can return.
This comes up in the unit tests, where we're using inode 0 for our test
keys.
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