[PATCH] xfs_io: deprecate the "-F" foreign flag

Christoph Hellwig hch at infradead.org
Fri Feb 3 09:04:43 CST 2012


On Thu, Feb 02, 2012 at 11:35:04AM -0600, Eric Sandeen wrote:
> There's no real reason to force the user to specify "-F" for non-xfs
> files, when we can just test for that after it's opened.
> 
> * Remove the -F flag from usage() & man pages, but still accept it.
> * Set IO_FOREIGN when we open the file, if the fd tests as non-xfs.

Looks good. We probably should kill the IO_FOREIGN eventually too, but
let's do the user facing part first.


Reviewed-by: Christoph Hellwig <hch at lst.de>



More information about the xfs mailing list