aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2022-10-12 11:04:28 -0400
committerKent Overstreet <[email protected]>2023-10-22 17:09:43 -0400
commitde107dc8008fe559ac39e89cabc4d21d0129684e (patch)
tree40f60018c5a2ffaee56af459f35e07c4af776a21 /tools/perf/scripts/python/export-to-sqlite.py
parente8540e56812360d4253b6a30e46452ce7448b24b (diff)
bcachefs: Call bch2_btree_update_add_new_node() before dropping write lock
btree nodes can be written by other threads (shrinker, journal reclaim) with only a read lock, but brand new nodes should only be written by the thread doing the split/interior update. bch2_btree_update_add_new_node() sets btree node flags to indicate that this is a new node and should not be written out by other threads, thus we need to call it before dropping our write lock. Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions