Steven Rostedt <[EMAIL PROTECTED]> wrote:
>
> The problem here is that it's not ext3 bh's only. They're still the normal
>  buffer head.  The problem arrises because the ext3 "journal head" is
>  allocated within these bit spin locks.

Yes, the locks do want to live inside the buffer_head.

Stephen has pointed out that we might want to remove
jbd_lock_bh_journal_head() altogether some time, just use
jbd_lock_bh_state() for that.

In 2.4 these locks are global (or per-superblock).  Making them a global
spinlock would be acceptable for 2-ways and probably larger.

-
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