Skip to content
Commit 3935127c authored by Chris Mason's avatar Chris Mason
Browse files

Btrfs: disable leak debugging checks in extent_io.c



extent_io.c has debugging code to report and free leaked extent_state
and extent_buffer objects at rmmod time.  This helps track down
leaks and it saves you from rebooting just to properly remove the
kmem_cache object.

But, the code runs under a fairly expensive spinlock and the checks to
see if it is currently enabled are not entirely consistent.  Some use
#ifdef and some #if.

This changes everything to #if and disables the leak checking.

Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent b7a9f29f
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