diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-04-09 23:53:57 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-05-23 07:59:43 -0400 |
commit | b41ac97fe0a6876edbc6fc90dfd05513ba7332ed (patch) | |
tree | 80da5cedf03bad7e75c63ce5e78327b39f51713d /scripts/gdb/linux/utils.py | |
parent | 22e921a6f9b8ec4c9ccbef4accae1494c6695745 (diff) |
bcachefs: Path must be locked if trans->locked && should_be_locked
If path->should_be_locked is true, that means user code (of the btree
API) has seen, in this transaction, something guarded by the node this
path has locked, and we have to keep it locked until the end of the
transaction.
Assert that we're not violating this; should_be_locked should also be
cleared only in _very_ special situations.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions