Re: [Ext2-devel] [RFC] probably bug in current ext3/jbd

From: Andrew Morton (akpm@digeo.com)
Date: Wed May 21 2003 - 11:38:48 EST


Alex Tomas <bzzz@tmi.comex.ru> wrote:
>
> looks Andrew Morton should return BKL in ext3_get_block_handle() in -mm tree?
> this BKL protects ext3_alloc_branch() -> ext3_alloc_block() -> ext3_new_block()
> call chain. or we may implement new protection schema where each jh has some
> reference alike 'used by transaction N'

Can this be solved by spinlocking the relevant buffer_head, in a similar
way to your recent changes to journal_add_journal_head()?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri May 23 2003 - 22:00:45 EST