xfs
[Top] [All Lists]

Re: [PATCH 2/2] xfs: fix getbmap vs mmap deadlock

To: Felix Blyakher <felixb@xxxxxxx>
Subject: Re: [PATCH 2/2] xfs: fix getbmap vs mmap deadlock
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Thu, 9 Apr 2009 13:14:12 -0400
Cc: Christoph Hellwig <hch@xxxxxxxxxxxxx>, xfs@xxxxxxxxxxx
In-reply-to: <2B47193B-9486-4500-80C4-E96750BEA54B@xxxxxxx>
References: <20090224133902.GC15820@xxxxxxxxxxxxx> <2B47193B-9486-4500-80C4-E96750BEA54B@xxxxxxx>
User-agent: Mutt/1.5.18 (2008-05-17)
On Mon, Apr 06, 2009 at 07:42:57PM -0500, Felix Blyakher wrote:
> Actually with the patch we either get all requested extents, or none
> if we fail to get memory for them.
> Should we teach the callers to expect ENOMEM and repeat the call
> to xfs_getbmap with smaller number of extents?

The problem with any of that is that we don't actually get the exact
extent list but always a racy version.

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