Re: [patch] Real-Time Preemption, -RT-2.6.11-rc3-V0.7.38-01

From: Andrew Morton
Date: Fri Mar 11 2005 - 05:49:49 EST

Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> > did you try the canonical way of putting a spinlock into every
> > buffer_head?
> >
> No, I'll try that now. I just didn't want to modify the buffer head struct
> just for journaling. But if it is the quickest and easiest fix, then I'll
> submit it and we can change it later.

You'll need two spinlocks. jbd_lock_bh_state() and jbd_lock_bh_journal_head().
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at