[PATCH 4/5] repair: don't cache large blkmap allocations

Christoph Hellwig hch at infradead.org
Sun Oct 9 18:48:09 CDT 2011


> +	/* consider more than 100k extents rare */
> +	if (blkmap->naexts < 100 * 1024)
> +		return;

100k extents still seems like a fairly high number.  Otherwise looks
okay.

(If only we had a non-sucky threaded memory allocator in userspace..)




More information about the xfs mailing list