xfs
[Top] [All Lists]

Re: 2.6.27.7 vanilla, project quota enabled and process stuck in D state

To: Arkadiusz Miskiewicz <arekm@xxxxxxxx>, xfs@xxxxxxxxxxx
Subject: Re: 2.6.27.7 vanilla, project quota enabled and process stuck in D state (repeatable every time)
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Thu, 4 Dec 2008 07:32:06 -0500
In-reply-to: <20081203220934.GA32301@disturbed>
References: <200812021949.55463.arekm@xxxxxxxx> <200812031406.41882.arekm@xxxxxxxx> <20081203213028.GW18236@disturbed> <200812032242.29326.arekm@xxxxxxxx> <20081203220934.GA32301@disturbed>
User-agent: Mutt/1.5.18 (2008-05-17)
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.

<Prev in Thread] Current Thread [Next in Thread>