diff options
| author | Kent Overstreet <[email protected]> | 2024-04-10 22:19:40 -0400 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2024-05-08 17:29:19 -0400 |
| commit | 5d8c9d94283ff170e74f13b501c3f264365621b5 (patch) | |
| tree | 696f0da04ed3d1db03758b6a12548d551fa7ca6e /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | f2d9823f46b4aebbe2d6a7f1a76158536c6291a8 (diff) | |
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 <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions