diff options
author | 2023-09-27 14:44:56 -0400 | |
---|---|---|
committer | 2023-10-22 17:10:15 -0400 | |
commit | 4220666398de7f5127bab5437b5276b3eb155282 (patch) | |
tree | ef6652e6d8e75ad660ce21a2dc43aeb46fe7c636 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bcachefs: Make btree root read errors recoverable (diff) | |
download | wireguard-linux-4220666398de7f5127bab5437b5276b3eb155282.tar.xz wireguard-linux-4220666398de7f5127bab5437b5276b3eb155282.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions