]> Gentwo Git Trees - linux/.git/commit
btrfs: print leaked references in kill_all_delayed_nodes()
authorLeo Martins <loemra.dev@gmail.com>
Tue, 12 Aug 2025 23:04:40 +0000 (16:04 -0700)
committerDavid Sterba <dsterba@suse.com>
Mon, 22 Sep 2025 08:54:32 +0000 (10:54 +0200)
commitb767a28d6154986929a2231d48b637b18b2aabb3
tree5507696230f9ce67942bcb817658672996b8268c
parente8513c012de75fd65e2df5499572bc6ef3f6e409
btrfs: print leaked references in kill_all_delayed_nodes()

We are seeing soft lockups in kill_all_delayed_nodes due to a
delayed_node with a lingering reference count of 1. Printing at this
point will reveal the guilty stack trace. If the delayed_node has no
references there should be no output.

Signed-off-by: Leo Martins <loemra.dev@gmail.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/delayed-inode.c
fs/btrfs/delayed-inode.h