diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-04-10 19:53:28 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-04-11 05:28:36 +0300 |
commit | beccf29114886f1604e26f739cd108f048878ca8 (patch) | |
tree | c19ba70cae534c4c88cc8c746472a4c00ac138fd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9b31152fd74eeb10a20345909e542fef6f1d98e2 (diff) | |
download | linux-beccf29114886f1604e26f739cd108f048878ca8.tar.xz |
bcachefs: Fix a race in btree_update_nodes_written()
One btree update might have terminated in a node update, and then while
it is in flight another btree update might free that original node.
This race has to be handled in btree_update_nodes_written() - we were
missing a READ_ONCE().
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