• Kent Overstreet's avatar
    bcachefs: Print deadlock cycle in debugfs · 96d994b3
    Kent Overstreet authored
    In the event that we're not finished debugging the cycle detector, this
    adds a new file to debugfs that shows what the cycle detector finds, if
    anything. By comparing this with btree_transactions, which shows held
    locks for every btree_transaction, we'll be able to determine if it's
    the cycle detector that's buggy or something else.
    Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
    96d994b3
debug.c 17.7 KB