• Steven Rostedt's avatar
    fs: jbd: replace bh_state lock · c0dd527e
    Steven Rostedt authored
    I was compiling a kernel in a shell that I set to a priority of 20,
    and it locked up on the bit_spin_lock crap of jbd.
    
    This patch adds another spinlock to the buffer head and uses that
    instead of the bit_spins.
    
    From: Steven Rostedt <rostedt@goodmis.org>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    
    --
    
     fs/buffer.c                 |    3 ++-
     include/linux/buffer_head.h |    1 +
     include/linux/jbd.h         |   12 ++++++------
     3 files changed, 9 insertions(+), 7 deletions(-)
    c0dd527e
buffer.c 88.8 KB