Steven Rostedt <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to