Re: next-20090310: ext4 hangs

From: Alexander Beregalov
Date: Wed Mar 25 2009 - 11:29:31 EST


2009/3/25 Jan Kara <jack@xxxxxxx>:
> On Wed 25-03-09 18:18:43, Alexander Beregalov wrote:
>> 2009/3/25 Jan Kara <jack@xxxxxxx>:
>> >> > So, I think I need to try it on 2.6.29-rc7 again.
>> >> Â I've looked into this. Obviously, what's happenning is that we delete
>> >> an inode and jbd2_journal_release_jbd_inode() finds inode is just under
>> >> writeout in transaction commit and thus it waits. But it gets never woken
>> >> up and because it has a handle from the transaction, every one eventually
>> >> blocks on waiting for a transaction to finish.
>> >> Â But I don't really see how that can happen. The code is really
>> >> straightforward and everything happens under j_list_lock... Strange.
>> > ÂBTW: Is the system SMP?
>> No, it is UP system.
> ÂEven stranger. And do you have CONFIG_PREEMPT set?
>
>> The bug exists even in 2.6.29, I posted it with a new topic.
> ÂOK, I've sort-of expected this.

CONFIG_PREEMPT_RCU=y
CONFIG_PREEMPT_RCU_TRACE=y
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
CONFIG_DEBUG_PREEMPT=y
# CONFIG_PREEMPT_TRACER is not set

config is attached.

Attachment: sparc-config
Description: Binary data