xfs
[Top] [All Lists]

Re: Infinite loop in xfssyncd on full file system

To: Stephane Doyon <sdoyon@xxxxxxxxx>
Subject: Re: Infinite loop in xfssyncd on full file system
From: David Chinner <dgc@xxxxxxx>
Date: Wed, 23 Aug 2006 14:02:18 +1000
Cc: linux-xfs@xxxxxxxxxxx, lnx1138@xxxxxxxxxx
In-reply-to: <Pine.LNX.4.64.0608221318300.3139@xxxxxxxxxxxxxxxxxxxxx>
References: <Pine.LNX.4.64.0608221318300.3139@xxxxxxxxxxxxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
On Tue, Aug 22, 2006 at 04:01:10PM -0400, Stephane Doyon wrote:
> I'm seeing what appears to be an infinite loop in xfssyncd. It is 
> triggered when writing to a file system that is full or nearly full. I 
> have pinpointed the change that introduced this problem: it's
> 
>     "TAKE 947395 - Fixing potential deadlock in space allocation and
>     freeing due to ENOSPC"
> 
> git commit d210a28cd851082cec9b282443f8cc0e6fc09830.

Thanks for tracking that down - I've been trying to isolate a test case
for another report of this looping in xfssyncd.

[Luciano - this is the same problem we've been trying to track down.]

> I hope you XFS experts see what might be wrong with that bug fix. It's 
> ironic but for me, this (apparent) infinite loop seems much easier to hit 
> than the out-of-order locking problem that the commit in question was 
> supposed to fix. Let me know if I can get you any more info.

Now we know what patch introduces the problem, we know where to look.
Stay tuned...

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group


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