diff options
| author | Kent Overstreet <[email protected]> | 2024-02-25 00:14:36 +0000 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2024-02-25 01:41:46 +0000 |
| commit | 204f45140faa0772d2ca1b3de96d1c0fb3db8e77 (patch) | |
| tree | fdd1de00ed72cc9cdccf21d7ca86ab116eaace29 /drivers/net/ethernet/intel/ice/ice_lib.c | |
| parent | bcachefs: Kill __GFP_NOFAIL in buffered read path (diff) | |
| download | kernel-204f45140faa0772d2ca1b3de96d1c0fb3db8e77.tar.gz kernel-204f45140faa0772d2ca1b3de96d1c0fb3db8e77.zip | |
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 <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
0 files changed, 0 insertions, 0 deletions
