On Fri, 11 Mar 2005, Ingo Molnar wrote: > > * Steven Rostedt <[EMAIL PROTECTED]> wrote:
> > I've tried making two global spinlocks, one for the state bit and one > > for the journal head bit use. But this deadlocks with j_state_lock. > > The journal head lock seems to be ok to be global, but the state lock > > needs to have one for every buffer head. I'm now hacking away to do > > this without touching the actual buffer head. But I'm not sure what > > some of the side effects this is having. I'll keep you posted when I > > get something working. I'm now having a crash course in how kjournal > > and friends work. > > 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. -- Steve - 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/