Re: konqueror deadlocks on 2.6.22

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Chris Mason
Date: Tuesday, January 22, 2008 - 7:25 am

On Tuesday 22 January 2008, Al Boldi wrote:

Running fsync in data=ordered means that all of the dirty blocks on the FS 
will get written before fsync returns.  Your original stack trace shows 
everyone either performing writeback for a log commit or waiting for the log 
commit to return.

They key task in your trace is kjournald, stuck in get_request_wait.  It could 
be a block layer bug, not giving him requests quickly enough, or it could be 
the scheduler not giving him back the cpu fast enough.

At any rate, that's where to concentrate the debugging.  You should be able to 
simulate this by running a few instances of the below loop and looking for 
stalls:

while(true) ; do
    time dd if=/dev/zero of=foo bs=50M count=4 oflags=sync    
done

-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
konqueror deadlocks on 2.6.22, Al Boldi, (Sat Jan 19, 11:14 am)
Re: konqueror deadlocks on 2.6.22, Oliver Pinter (Pinté ..., (Sat Jan 19, 11:53 am)
Re: konqueror deadlocks on 2.6.22, Al Boldi, (Sat Jan 19, 1:57 pm)
Re: konqueror deadlocks on 2.6.22, Oliver Pinter (Pinté ..., (Sat Jan 19, 3:17 pm)
Re: konqueror deadlocks on 2.6.22, Ingo Molnar, (Tue Jan 22, 3:10 am)
Re: konqueror deadlocks on 2.6.22, Al Boldi, (Tue Jan 22, 6:23 am)
Re: konqueror deadlocks on 2.6.22, Chris Mason, (Tue Jan 22, 7:25 am)
Re: konqueror deadlocks on 2.6.22, Al Boldi, (Tue Jan 22, 11:54 am)
Re: konqueror deadlocks on 2.6.22, Chris Mason, (Tue Jan 22, 12:13 pm)