diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-09-27 21:44:56 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:10:15 +0300 |
commit | 4220666398de7f5127bab5437b5276b3eb155282 (patch) | |
tree | ef6652e6d8e75ad660ce21a2dc43aeb46fe7c636 /scripts/gdb/linux/utils.py | |
parent | 7dcf62c06d11195e8caecd7b2236aa5b07e3ef8c (diff) | |
download | linux-4220666398de7f5127bab5437b5276b3eb155282.tar.xz |
bcachefs: Fix bch2_inode_delete_keys()
bch2_inode_delete_keys() was using BTREE_ITER_NOT_EXTENTS, on the
assumption that it would never need to split extents.
But that caused a race with extents being split by other threads -
specifically, the data move path. Extents iterators have the iterator
position pointing to the start of the extent, which avoids the race.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions