@@ -41,6 +41,22 @@ param=MKFS_OPTS=-m crc=1
distro=-el6
arch=all
+[xfs-rmap]
+desc=ltp-aiodio tests on xfs with rmapbt enabled
+tag=tier2 xfs
+param=FSTYP=xfs
+param=MKFS_OPTS=-m rmap=1
+distro=-el6
+arch=all
+
+[xfs-reflink]
+desc=ltp-aiodio tests on xfs with reflink enabled
+tag=tier2 xfs
+param=FSTYP=xfs
+param=MKFS_OPTS=-m reflink=1
+distro=-el6
+arch=all
+
[xfs-sparse]
desc=ltp-aiodio tests on xfs with crc and sparse enabled
tag=tier3 xfs
@@ -48,6 +48,30 @@ distro=-el6
partition=fs="xfs" name="/mnt/ltp" size="5" type="part"
arch=all
+[xfs-rmap]
+desc=ltp tests on xfs with rmapbt enabled
+tag=tier2 xfs
+param=FSTYP=xfs
+# TEST_MNT should not be /mnt/testarea, unable to umount /mnt/testarea since beaker
+# is using it. So let's grab the test device mounted on /mnt/ltp then mount it on
+# /mnt/testarea
+param=TEST_MNT=/mnt/ltp
+param=MKFS_OPTS=-m rmap=1
+partition=fs="xfs" name="/mnt/ltp" size="5" type="part"
+arch=all
+
+[xfs-reflink]
+desc=ltp tests on xfs with reflink enabled
+tag=tier2 xfs
+param=FSTYP=xfs
+# TEST_MNT should not be /mnt/testarea, unable to umount /mnt/testarea since beaker
+# is using it. So let's grab the test device mounted on /mnt/ltp then mount it on
+# /mnt/testarea
+param=TEST_MNT=/mnt/ltp
+param=MKFS_OPTS=-m reflink=1
+partition=fs="xfs" name="/mnt/ltp" size="5" type="part"
+arch=all
+
[xfs-sparse]
desc=ltp tests on xfs with crc and sparse enabled
tag=tier3 xfs
@@ -57,8 +81,6 @@ param=FSTYP=xfs
# /mnt/testarea
param=TEST_MNT=/mnt/ltp
param=MKFS_OPTS=-m crc=1 -i sparse=1
-# only RHEL7 supports v5 xfs
-distro=-el6
partition=fs="xfs" name="/mnt/ltp" size="5" type="part"
arch=all
@@ -18,6 +18,24 @@ task=/kernel/filesystems/xfs/regression
arch=all
param=MKFS_OPTS=-m crc=1
+[xfs-regression-rmap]
+type=regression
+schedule=alone
+tag=tier2 xfs
+desc=xfs regression tests with rmap enabled
+task=/kernel/filesystems/xfs/regression
+arch=all
+param=MKFS_OPTS=-m rmap=1
+
+[xfs-regression-reflink]
+type=regression
+schedule=alone
+tag=tier2 xfs
+desc=xfs regression tests with reflink enabled
+task=/kernel/filesystems/xfs/regression
+arch=all
+param=MKFS_OPTS=-m reflink=1
+
[xfs-regression-sparse]
type=regression
schedule=alone
Signed-off-by: Eryu Guan <eguan@redhat.com> --- tasks-upstream/function-ltp-aiodio.task | 16 ++++++++++++++++ tasks-upstream/function-ltp.task | 26 ++++++++++++++++++++++++-- tasks-upstream/regression-xfs.task | 18 ++++++++++++++++++ 3 files changed, 58 insertions(+), 2 deletions(-)