Files
linux-cryptodev-2.6/fs
Kent Overstreet 204f45140f bcachefs: Fix BTREE_ITER_FILTER_SNAPSHOTS on inodes btree
If we're in FILTER_SNAPSHOTS mode and we start scanning a range of the
keyspace where no keys are visible in the current snapshot, we have a
problem - we'll scan for a very long time before scanning terminates.

Awhile back, this was fixed for most cases with peek_upto() (and
assertions that enforce that it's being used).

But the fix missed the fact that the inodes btree is different - every
key offset is in a different snapshot tree, not just the inode field.

Fixes:
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-02-24 20:41:46 -05:00
..
2023-12-29 11:58:34 -08:00
2024-01-06 23:49:50 +01:00
2023-12-21 13:17:54 +01:00
2023-12-12 14:24:14 +01:00
2023-11-25 02:49:43 -05:00