[PATCH] mkfs: add discard support

Nathan Scott nscott at aconex.com
Tue Oct 6 20:20:31 CDT 2009


----- "Christoph Hellwig" <hch at infradead.org> wrote:

> > It might be a bit cleaner to add this in with the existing
> platform-
> > specific code in libxfs/linux.c (or perhaps
> include/platform_defs.h)
> > with wrappers for the other platforms, rather than putting it
> directly
> > in mkfs like this?  repair may want to use this someday too, I
> guess.
> 
> How about this one?
> 

Looks good to me.

cheers.

-- 
Nathan




More information about the xfs mailing list