aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-04-10 22:19:40 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2024-05-08 17:29:19 -0400
commit5d8c9d94283ff170e74f13b501c3f264365621b5 (patch)
tree696f0da04ed3d1db03758b6a12548d551fa7ca6e /tools/perf/scripts/python/bin/stackcollapse-record
parentbcachefs: maintain lock invariants in btree_iter_next_node() (diff)
downloadlinux-5d8c9d94283ff170e74f13b501c3f264365621b5.tar.gz
linux-5d8c9d94283ff170e74f13b501c3f264365621b5.zip
bcachefs: bch2_btree_path_upgrade() checks nodes_locked, not uptodate
In the key cache fill path, we use path_upgrade() on a path that isn't uptodate yet but should be locked. This change makes bch2_btree_path_upgrade() slightly looser so we can use it in key cache upgrade, instead of the __ version. Also, make the related assert - that path->uptodate implies nodes_locked - slightly clearer. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions