diff options
| author | Kent Overstreet <[email protected]> | 2022-08-16 03:08:15 -0400 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2023-10-22 17:09:38 -0400 |
| commit | 8192f8a58626ca3903a20f942ce86a6beb959a71 (patch) | |
| tree | a30809776d81ee6ede1154fc81a33e9d43169c94 /tools/perf/scripts/python | |
| parent | d0b50524f1d9b60318b92830546b45cd3325cfe2 (diff) | |
bcachefs: Another should_be_locked fixup
When returning a key from the key cache, in BTREE_ITER_WITH_KEY_CACHE
mode, we don't want to set should_be_locked on iter->path; we're not
returning a key from that path, so we donn't need to, and also since we
traversed the key cache iterator before setting should_be_locked on that
path it might be unlocked (if we unlocked, bch2_trans_relock() won't
have relocked it).
Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions