Message ID | b8729f80-6d09-6c57-1fb7-4303558fc9a3@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Eric Sandeen <sandeen@redhat.com> writes: > Same as we do for dm flakey. dm can't do dax. > > Signed-off-by: Eric Sandeen <sandeen@redhat.com> We'll add support eventually, but for now this makes sense. Acked-by: Jeff Moyer <jmoyer@redhat.com> -Jeff > --- > > diff --git a/common/dmerror b/common/dmerror > index 004530d..42c075e 100644 > --- a/common/dmerror > +++ b/common/dmerror > @@ -18,6 +18,11 @@ > # > # common functions for setting up and tearing down a dmerror device > > +echo $MOUNT_OPTIONS | grep -q dax > +if [ $? -eq 0 ]; then > + _notrun "Cannot run tests with DAX on dmerror devices" > +fi > + > _dmerror_init() > { > local dm_backing_dev=$SCRATCH_DEV > -- > To unsubscribe from this list: send the line "unsubscribe fstests" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe fstests" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Looks fine,
Reviewed-by: Christoph Hellwig <hch@lst.de>
--
To unsubscribe from this list: send the line "unsubscribe fstests" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/common/dmerror b/common/dmerror index 004530d..42c075e 100644 --- a/common/dmerror +++ b/common/dmerror @@ -18,6 +18,11 @@ # # common functions for setting up and tearing down a dmerror device +echo $MOUNT_OPTIONS | grep -q dax +if [ $? -eq 0 ]; then + _notrun "Cannot run tests with DAX on dmerror devices" +fi + _dmerror_init() { local dm_backing_dev=$SCRATCH_DEV
Same as we do for dm flakey. dm can't do dax. Signed-off-by: Eric Sandeen <sandeen@redhat.com> --- -- To unsubscribe from this list: send the line "unsubscribe fstests" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html