2.6.27.7 vanilla, project quota enabled and process stuck in D state (repeatable every time)
Dave Chinner
david at fromorbit.com
Thu Dec 4 15:34:01 CST 2008
On Thu, Dec 04, 2008 at 07:32:06AM -0500, Christoph Hellwig wrote:
> On Thu, Dec 04, 2008 at 09:09:34AM +1100, Dave Chinner wrote:
> > Is that the unlock of the inodes is using the incorrect lock
> > type for the unlock, (inodes lock XFS_ILOCK_EXCL, unlocked XFS_ILOCK_SHARED)
> > which means they don't get unlocked and the next attempt to do anything
> > with those inodes will hang.
> >
> > Compile-tested-only patch below that should fix the problem.
>
> Yeah, that also explains why my patch fixes it :) I'd say let's put
> yours into 2.6.28 and -stable, and I'll rediff mine ontop for the 2.6.29
> queue. I'll also write a testcase for xfsqa based on Arkadiusz's
> report.
I agree that this is probably the best approach - your fix is the
better long term solution, I think.
SGI folk, can we get my patch pushed to linus and stable ASAP?
Probably be an idea to add a:
Tested-by: Arkadiusz Miskiewicz <arekm at maven.pl>
tag to it as well to make it easy for the stable review process....
Cheers,
Dave.
--
Dave Chinner
david at fromorbit.com
More information about the xfs
mailing list