On Sun, 2005-04-10 at 12:31 +0200, Ingo Molnar wrote: > looks much cleaner than earlier ones. Would it be possible to make the > locks per journal? [...]
I've already looked into doing this, but it would be much more intrusive to implement. The problem lies where these locks are called with only the buffer head as a reference. The locks are used to attach or detach the buffer head from a journal or just see if it is already attached. So having the lock with the journal is difficult since you need to take the lock sometimes before you know which journal is needed. I'm sure this is possible but it will need modifying the code where the locks are called instead of just replacing the contents of the lock function. Maybe with the help of Stephen Tweedie, this can be done. But what I gave you was the cleanest and most reliable solution currently, without changing anything but the functions to take the locks. -- 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/