summaryrefslogtreecommitdiff
path: root/io_uring/splice.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-02-24 19:14:36 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2024-02-24 20:41:46 -0500
commit204f45140faa0772d2ca1b3de96d1c0fb3db8e77 (patch)
treefdd1de00ed72cc9cdccf21d7ca86ab116eaace29 /io_uring/splice.c
parent04fee68dd99a53dbf0716e99270b66da26519daf (diff)
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>
Diffstat (limited to 'io_uring/splice.c')
0 files changed, 0 insertions, 0 deletions