diff options
| author | Kent Overstreet | 2019-10-11 14:45:22 -0400 |
|---|---|---|
| committer | Kent Overstreet | 2023-10-22 17:08:29 -0400 |
| commit | ea3532cbf7fdbb9fa4e45114532d55d1fc3ac7c2 (patch) | |
| tree | 304ed5223daf5a0f80a271f53f103eabfeb53406 /tools/perf/scripts/python/bin | |
| parent | 9a3df993e15e0d44974d6ac7c5749c7028aa9e3c (diff) | |
bcachefs: Fix a subtle race in the btree split path
We have to free the old (in memory) btree node _before_ unlocking the
new nodes - else, some other thread with a read lock on the old node
could see stale data after another thread has already updated the new
node.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
