Commit d94189ad authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Debug mode for c->writes references



This adds a debug mode where we split up the c->writes refcount into
distinct refcounts for every codepath that takes a reference, and adds
sysfs code to print the value of each ref.

This will make it easier to debug shutdown hangs due to refcount leaks.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent dd81a060
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment