[Top] [All Lists]

Re: deadlocks with fallocate

To: Thomas Neumann <tneumann@xxxxxxxxxxxxxxxxxxxxx>
Subject: Re: deadlocks with fallocate
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Thu, 15 Oct 2009 08:13:45 -0400
Cc: Christoph Hellwig <hch@xxxxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: <200910150758.06003.tneumann@xxxxxxxxxxxxxxxxxxxxx>
References: <hak2l2$ko2$1@xxxxxxxxxxxxx> <20091014150951.GA13123@xxxxxxxxxxxxx> <200910150758.06003.tneumann@xxxxxxxxxxxxxxxxxxxxx>
User-agent: Mutt/1.5.19 (2009-01-05)
On Thu, Oct 15, 2009 at 07:58:05AM +0200, Thomas Neumann wrote:
> I did some more tests, and indeed the patch makes the deadlock go away. Your 
> description of it as a hack makes me somewhat concerned about using it 
> permanently, but hopefully you will find a proper solution ;)

It's basically a flag to say all allocations from this thread should
not recurse back into filesystem code.  I'll either need to change
the allocations manually or keep this flag and write a comment
documenting why.  I'll decide what to on my long airplane ride tomorrow
and will make sure it goes off to Linus' tree ASAP after that.

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