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

Christoph Hellwig hch at infradead.org
Thu Apr 9 12:14:12 CDT 2009

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.

More information about the xfs mailing list