• Chris Mason's avatar
    Btrfs: disable leak debugging checks in extent_io.c · 3935127c
    Chris Mason authored
    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>
    3935127c
extent_io.c 92.5 KB