Re: [PATCH v4.2 00/32] xfstests: test the nfs/cifs/btrfs/xfs reflink/dedupe ioctls

Christoph Hellwig
2016-02-13T08:03:29Z

On Fri, Feb 12, 2016 at 08:38:34PM -0800, Darrick J. Wong wrote:
> > Followup patch, anyway, because I'm about to push out everything
> > that was in your second pull req (i.e. with the aiocp fix).
>
> xfs_io "bmap -c" is a new switch that dumps the CoW fork of a file.
> AFAICT there isn't any way to check that an xfs_io command supports
> a particular switch, though it wouldn't be difficult to add a check.

Just test for it the same way we test for the existance of xfs_io
subcommmand.