tasks-upstream: remove xfs finobt tests and add sparse inode tests
PATCH 1/2 tasks-upstream: remove xfs finobt tests and add sparse inode tests
finobt feature is enabled by default in upstream xfsprogs, there's no need to test finobt explicitly.
Instead, test sparse inode feature, which is off by default.
Signed-off-by Eryu Guan <[email protected]>
--- tasks-upstream/function-ltp-aiodio.task | 8 +++----- tasks-upstream/function-ltp.task | 8 +++----- tasks-upstream/regression-xfs.task | 8 ++++---- tasks-upstream/regression-xfstests.task | 26 ++++++++++++-------------- 4 files changed, 22 insertions(+), 28 deletions(-)
tasks-upstream/function-ltp-aiodio.task +3 -5
@@ -41,13 +41,11 @@ param=MKFS_OPTS=-m crc=1 distro=-el6 arch=all -# free inode btree feature is only available on v5 xfs and it's off by default -# this feature is only available on RHEL7.2 and later releases -[xfs-finobt] -desc=ltp-aiodio tests on xfs with crc and finobt enabled +[xfs-sparse] +desc=ltp-aiodio tests on xfs with crc and sparse enabled tag=tier3 xfs param=FSTYP=xfs -param=MKFS_OPTS=-m crc=1,finobt=1 +param=MKFS_OPTS=-m crc=1 -i sparse=1 # only RHEL7 supports v5 xfs distro=-el6 arch=all
tasks-upstream/function-ltp.task +3 -5
@@ -48,17 +48,15 @@ distro=-el6 partition=fs="xfs" name="/mnt/ltp" size="5" type="part" arch=all -# free inode btree feature is only available on v5 xfs and it's off by default -# this feature is only available on RHEL7.2 and later releases -[xfs-finobt] -desc=ltp tests on xfs with crc and finobt enabled +[xfs-sparse] +desc=ltp tests on xfs with crc and sparse enabled tag=tier3 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 crc=1,finobt=1 +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"
tasks-upstream/regression-xfs.task +4 -4
@@ -18,13 +18,13 @@ task=/kernel/filesystems/xfs/regression arch=all param=MKFS_OPTS=-m crc=1 -[xfs-regression-finobt] +[xfs-regression-sparse] type=regression schedule=alone tag=tier3 xfs -# only RHEL7 supports v5 xfs(metadata checksum) and finobt feature +# only RHEL7 supports v5 xfs(metadata checksum) and sparse feature distro=-el6 -desc=xfs regression tests with crc and finobt enabled +desc=xfs regression tests with crc and sparse enabled task=/kernel/filesystems/xfs/regression arch=all -param=MKFS_OPTS=-m crc=1,finobt=1 +param=MKFS_OPTS=-m crc=1 -i sparse=1
tasks-upstream/regression-xfstests.task +12 -14
@@ -289,16 +289,14 @@ cond: arch_not_s390x ? param=TEST_PARAM_SCRATCH_MNT=/mnt/xfstests/mnt2 cond: arch_not_s390x ? partition=fs="xfs" name="/mnt/xfstests/mnt1" size="15" type="part" cond: arch_not_s390x ? partition=fs="xfs" name="/mnt/xfstests/mnt2" size="15" type="part" -# free inode btree feature is only available on v5 xfs and it's off by default -# this feature is only available on RHEL7.2 and later releases -[xfs-4k-finobt] -desc=xfstests on xfs with crc and finobt enabled +[xfs-4k-sparse] +desc=xfstests on xfs with crc and sparse enabled tag=tier2 xfs arch=all distro=-el6 param=TEST_PARAM_FSTYPE=xfs -param=TEST_PARAM_MKFS_OPTS=-m crc=1,finobt=1 -param=TEST_PARAM_KNOWN_ISSUE=upstream_xfs__4k_finobt +param=TEST_PARAM_MKFS_OPTS=-m crc=1 -i sparse=1 +param=TEST_PARAM_KNOWN_ISSUE=upstream_xfs__4k_sparse cond: arch_not_s390x ? param=TEST_PARAM_TEST_DIR=/mnt/xfstests/mnt1 cond: arch_not_s390x ? param=TEST_PARAM_SCRATCH_MNT=/mnt/xfstests/mnt2 cond: arch_not_s390x ? partition=fs="xfs" name="/mnt/xfstests/mnt1" size="15" type="part"
@@ -331,15 +329,15 @@ cond: arch_not_s390x ? param=TEST_PARAM_SCRATCH_MNT=/mnt/xfstests/mnt2 cond: arch_not_s390x ? partition=fs="xfs" name="/mnt/xfstests/mnt1" size="15" type="part" cond: arch_not_s390x ? partition=fs="xfs" name="/mnt/xfstests/mnt2" size="15" type="part" -[xfs-2k-finobt] -desc=xfstests on 2k block size xfs with crc and finobt enabled +[xfs-2k-sparse] +desc=xfstests on 2k block size xfs with crc and sparse enabled tag=tier3 xfs arch=all distro=-el6 param=TEST_PARAM_FSTYPE=xfs param=TEST_PARAM_BLKSIZE=2048 -param=TEST_PARAM_MKFS_OPTS=-m crc=1,finobt=1 -param=TEST_PARAM_KNOWN_ISSUE=upstream_xfs__2k_finobt +param=TEST_PARAM_MKFS_OPTS=-m crc=1 -i sparse=1 +param=TEST_PARAM_KNOWN_ISSUE=upstream_xfs__2k_sparse cond: arch_not_s390x ? param=TEST_PARAM_TEST_DIR=/mnt/xfstests/mnt1 cond: arch_not_s390x ? param=TEST_PARAM_SCRATCH_MNT=/mnt/xfstests/mnt2 cond: arch_not_s390x ? partition=fs="xfs" name="/mnt/xfstests/mnt1" size="15" type="part"
@@ -372,15 +370,15 @@ cond: arch_not_s390x ? param=TEST_PARAM_SCRATCH_MNT=/mnt/xfstests/mnt2 cond: arch_not_s390x ? partition=fs="xfs" name="/mnt/xfstests/mnt1" size="15" type="part" cond: arch_not_s390x ? partition=fs="xfs" name="/mnt/xfstests/mnt2" size="15" type="part" -[xfs-1k-finobt] -desc=xfstests on 1k block size xfs with crc and finobt enabled +[xfs-1k-sparse] +desc=xfstests on 1k block size xfs with crc and sparse enabled tag=tier3 xfs arch=all distro=-el6 param=TEST_PARAM_FSTYPE=xfs param=TEST_PARAM_BLKSIZE=1024 -param=TEST_PARAM_MKFS_OPTS=-m crc=1,finobt=1 -param=TEST_PARAM_KNOWN_ISSUE=upstream_xfs__1k_finobt +param=TEST_PARAM_MKFS_OPTS=-m crc=1 -i sparse=1 +param=TEST_PARAM_KNOWN_ISSUE=upstream_xfs__1k_sparse cond: arch_not_s390x ? param=TEST_PARAM_TEST_DIR=/mnt/xfstests/mnt1 cond: arch_not_s390x ? param=TEST_PARAM_SCRATCH_MNT=/mnt/xfstests/mnt2 cond: arch_not_s390x ? partition=fs="xfs" name="/mnt/xfstests/mnt1" size="15" type="part"
Signature · 1 line
2.9.3
PATCH 2/2 tasks-upstream: add xfs rmapbt and reflink tests to xfs regression and ltp tests
Signed-off-by Eryu Guan <[email protected]>
--- 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(-)
tasks-upstream/function-ltp-aiodio.task +16 -0
@@ -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
tasks-upstream/function-ltp.task +24 -2
@@ -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
tasks-upstream/regression-xfs.task +18 -0
@@ -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
Signature · 1 line
2.9.3
Quoted 6 lines · Eryu Guan
finobt feature is enabled by default in upstream xfsprogs, there's no need to test finobt explicitly.
Instead, test sparse inode feature, which is off by default.
Signed-off-by Eryu Guan <[email protected]>
Sorry for the noise! Sent to wrong list, please ignore these patches.
(my finger typed [email protected] automatically without thinking..)
Eryu