Commit b47eda86 authored by Chris Mason's avatar Chris Mason
Browse files

Btrfs: Turn off extent state leak debugging

The extent_io.c code has a #define to find and cleanup extent state leaks
on module unmount.  This adds a very highly contended spinlock to a
hot path for most FS operations.

Turn it off by default.  A later changeset will add a .config option
for it.
Signed-off-by: default avatarChris Mason <>
parent 445a6944
......@@ -30,7 +30,7 @@ static struct kmem_cache *extent_buffer_cache;
static LIST_HEAD(buffers);
static LIST_HEAD(states);
#define LEAK_DEBUG 1
#define LEAK_DEBUG 0
static spinlock_t leak_lock = SPIN_LOCK_UNLOCKED;
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