* [PATCH 1/2] tasks-upstream: remove xfs finobt tests and add sparse inode tests
@ 2017-05-04 9:52 Eryu Guan
2017-05-04 9:52 ` [PATCH 2/2] tasks-upstream: add xfs rmapbt and reflink tests to xfs regression and ltp tests Eryu Guan
2017-05-04 9:58 ` [PATCH 1/2] tasks-upstream: remove xfs finobt tests and add sparse inode tests Eryu Guan
0 siblings, 2 replies; 3+ messages in thread
From: Eryu Guan @ 2017-05-04 9:52 UTC (permalink / raw)
To: fstests; +Cc: 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 <eguan@redhat.com>
---
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(-)
diff --git a/tasks-upstream/function-ltp-aiodio.task b/tasks-upstream/function-ltp-aiodio.task
index 8c7d4f7..6bbadf8 100644
--- a/tasks-upstream/function-ltp-aiodio.task
+++ b/tasks-upstream/function-ltp-aiodio.task
@@ -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
diff --git a/tasks-upstream/function-ltp.task b/tasks-upstream/function-ltp.task
index 4f0f1c1..9a92801 100644
--- a/tasks-upstream/function-ltp.task
+++ b/tasks-upstream/function-ltp.task
@@ -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"
diff --git a/tasks-upstream/regression-xfs.task b/tasks-upstream/regression-xfs.task
index b52b3e6..b017177 100644
--- a/tasks-upstream/regression-xfs.task
+++ b/tasks-upstream/regression-xfs.task
@@ -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
diff --git a/tasks-upstream/regression-xfstests.task b/tasks-upstream/regression-xfstests.task
index e4fe0ba..b332949 100644
--- a/tasks-upstream/regression-xfstests.task
+++ b/tasks-upstream/regression-xfstests.task
@@ -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"
--
2.9.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] tasks-upstream: add xfs rmapbt and reflink tests to xfs regression and ltp tests
2017-05-04 9:52 [PATCH 1/2] tasks-upstream: remove xfs finobt tests and add sparse inode tests Eryu Guan
@ 2017-05-04 9:52 ` Eryu Guan
2017-05-04 9:58 ` [PATCH 1/2] tasks-upstream: remove xfs finobt tests and add sparse inode tests Eryu Guan
1 sibling, 0 replies; 3+ messages in thread
From: Eryu Guan @ 2017-05-04 9:52 UTC (permalink / raw)
To: fstests; +Cc: Eryu Guan
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(-)
diff --git a/tasks-upstream/function-ltp-aiodio.task b/tasks-upstream/function-ltp-aiodio.task
index 6bbadf8..644b8e8 100644
--- a/tasks-upstream/function-ltp-aiodio.task
+++ b/tasks-upstream/function-ltp-aiodio.task
@@ -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
diff --git a/tasks-upstream/function-ltp.task b/tasks-upstream/function-ltp.task
index 9a92801..e477860 100644
--- a/tasks-upstream/function-ltp.task
+++ b/tasks-upstream/function-ltp.task
@@ -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
diff --git a/tasks-upstream/regression-xfs.task b/tasks-upstream/regression-xfs.task
index b017177..32758c2 100644
--- a/tasks-upstream/regression-xfs.task
+++ b/tasks-upstream/regression-xfs.task
@@ -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
--
2.9.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] tasks-upstream: remove xfs finobt tests and add sparse inode tests
2017-05-04 9:52 [PATCH 1/2] tasks-upstream: remove xfs finobt tests and add sparse inode tests Eryu Guan
2017-05-04 9:52 ` [PATCH 2/2] tasks-upstream: add xfs rmapbt and reflink tests to xfs regression and ltp tests Eryu Guan
@ 2017-05-04 9:58 ` Eryu Guan
1 sibling, 0 replies; 3+ messages in thread
From: Eryu Guan @ 2017-05-04 9:58 UTC (permalink / raw)
To: fstests
On Thu, May 04, 2017 at 05:52:38PM +0800, Eryu Guan wrote:
> 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 <eguan@redhat.com>
Sorry for the noise! Sent to wrong list, please ignore these patches.
(my finger typed fstests@vger.kernel.org automatically without
thinking..)
Eryu
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-05-04 9:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-04 9:52 [PATCH 1/2] tasks-upstream: remove xfs finobt tests and add sparse inode tests Eryu Guan
2017-05-04 9:52 ` [PATCH 2/2] tasks-upstream: add xfs rmapbt and reflink tests to xfs regression and ltp tests Eryu Guan
2017-05-04 9:58 ` [PATCH 1/2] tasks-upstream: remove xfs finobt tests and add sparse inode tests Eryu Guan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox