Re: tasks hangs in D state while writing to xfs

Dave Chinner
2011-10-15T22:09:28Z

On Sat, Oct 15, 2011 at 01:54:15PM +0200, Marcin M wrote:
> Hello!
> I've noticed strange problem with xfs. I've created filesystem with
> blocksize=1024 and log as small as it possible. Next i'm copying files
> using rsync, after sometime rsync hangs in D state. So i can't kill it,
> i've got to reboot hosts. In dmesg i'm getting such messages:

Known problem - it's a log space hang. You can often get stuff
moving again via "echo 2 > /proc/sys/vm/drop_caches".

That said, Christoph's fixes for the 3.0.x kernel series are here:

http://oss.sgi.com/archives/xfs/2011-10/msg00305.html

Cheers,

Dave.
--
Dave Chinner
david@fromorbit.com