fstests: btrfs: add some missing groups to tests
cover fstests: btrfs: add some missing groups to tests
From: Filipe Manana <[email protected]>
Some tests are missing some groups. Details in the change logs.
Filipe Manana (2):
btrfs: add tests that exercise raid profiles to the raid group btrfs/023: add to the quick group
tests/btrfs/003 | 2 +- tests/btrfs/011 | 2 +- tests/btrfs/020 | 2 +- tests/btrfs/023 | 2 +- tests/btrfs/027 | 2 +- tests/btrfs/060 | 2 +- tests/btrfs/061 | 2 +- tests/btrfs/062 | 2 +- tests/btrfs/063 | 2 +- tests/btrfs/064 | 2 +- tests/btrfs/065 | 2 +- tests/btrfs/066 | 2 +- tests/btrfs/067 | 2 +- tests/btrfs/068 | 2 +- tests/btrfs/069 | 2 +- tests/btrfs/070 | 2 +- tests/btrfs/071 | 2 +- tests/btrfs/072 | 2 +- tests/btrfs/073 | 2 +- tests/btrfs/074 | 2 +- tests/btrfs/100 | 2 +- tests/btrfs/101 | 2 +- tests/btrfs/124 | 2 +- tests/btrfs/125 | 2 +- tests/btrfs/140 | 2 +- tests/btrfs/141 | 2 +- tests/btrfs/142 | 2 +- tests/btrfs/143 | 2 +- tests/btrfs/146 | 2 +- tests/btrfs/148 | 2 +- tests/btrfs/150 | 2 +- tests/btrfs/151 | 2 +- tests/btrfs/160 | 2 +- tests/btrfs/175 | 2 +- tests/btrfs/184 | 2 +- tests/btrfs/195 | 2 +- tests/btrfs/197 | 2 +- tests/btrfs/198 | 2 +- tests/btrfs/223 | 2 +- tests/btrfs/242 | 2 +- tests/btrfs/249 | 2 +- tests/btrfs/254 | 2 +- tests/btrfs/265 | 2 +- tests/btrfs/266 | 2 +- tests/btrfs/267 | 2 +- tests/btrfs/268 | 2 +- tests/btrfs/269 | 2 +- tests/btrfs/270 | 2 +- tests/btrfs/286 | 2 +- tests/btrfs/296 | 2 +- tests/btrfs/335 | 2 +- 51 files changed, 51 insertions(+), 51 deletions(-)
Signature · 1 line
2.47.2
PATCH 1/2 btrfs: add tests that exercise raid profiles to the raid group
From: Filipe Manana <[email protected]>
Many tests (in fact most) that exercise one or more raid profiles are not tagged in the raid group. Tag them with the raid group so that we can easily run only raid test with "./check -g raid" when testing changes that affect only raid code.
--- tests/btrfs/003 | 2 +- tests/btrfs/011 | 2 +- tests/btrfs/020 | 2 +- tests/btrfs/023 | 2 +- tests/btrfs/027 | 2 +- tests/btrfs/060 | 2 +- tests/btrfs/061 | 2 +- tests/btrfs/062 | 2 +- tests/btrfs/063 | 2 +- tests/btrfs/064 | 2 +- tests/btrfs/065 | 2 +- tests/btrfs/066 | 2 +- tests/btrfs/067 | 2 +- tests/btrfs/068 | 2 +- tests/btrfs/069 | 2 +- tests/btrfs/070 | 2 +- tests/btrfs/071 | 2 +- tests/btrfs/072 | 2 +- tests/btrfs/073 | 2 +- tests/btrfs/074 | 2 +- tests/btrfs/100 | 2 +- tests/btrfs/101 | 2 +- tests/btrfs/124 | 2 +- tests/btrfs/125 | 2 +- tests/btrfs/140 | 2 +- tests/btrfs/141 | 2 +- tests/btrfs/142 | 2 +- tests/btrfs/143 | 2 +- tests/btrfs/146 | 2 +- tests/btrfs/148 | 2 +- tests/btrfs/150 | 2 +- tests/btrfs/151 | 2 +- tests/btrfs/160 | 2 +- tests/btrfs/175 | 2 +- tests/btrfs/184 | 2 +- tests/btrfs/195 | 2 +- tests/btrfs/197 | 2 +- tests/btrfs/198 | 2 +- tests/btrfs/223 | 2 +- tests/btrfs/242 | 2 +- tests/btrfs/249 | 2 +- tests/btrfs/254 | 2 +- tests/btrfs/265 | 2 +- tests/btrfs/266 | 2 +- tests/btrfs/267 | 2 +- tests/btrfs/268 | 2 +- tests/btrfs/269 | 2 +- tests/btrfs/270 | 2 +- tests/btrfs/286 | 2 +- tests/btrfs/296 | 2 +- tests/btrfs/335 | 2 +- 51 files changed, 51 insertions(+), 51 deletions(-)
tests/btrfs/003 +1 -1
@@ -7,7 +7,7 @@ # btrfs vol tests # . ./common/preamble -_begin_fstest auto replace volume balance +_begin_fstest auto replace volume balance raid dev_removed=0 removed_dev_htl=""
tests/btrfs/011 +1 -1
@@ -20,7 +20,7 @@ # performed, a btrfsck run, and finally the filesystem is remounted. # . ./common/preamble -_begin_fstest auto replace volume scrub +_begin_fstest auto replace volume scrub raid noise_pid=0
tests/btrfs/020 +1 -1
@@ -10,7 +10,7 @@ # bbb651e Btrfs: don't allow the replace procedure on read only filesystems # . ./common/preamble -_begin_fstest auto quick replace volume +_begin_fstest auto quick replace volume raid # Override the default cleanup function. _cleanup()
tests/btrfs/023 +1 -1
@@ -9,7 +9,7 @@ # The test aims to create the raid and verify that its created # . ./common/preamble -_begin_fstest auto +_begin_fstest auto raid . ./common/filter
tests/btrfs/027 +1 -1
@@ -7,7 +7,7 @@ # Test replace of a missing device on various data and metadata profiles. # . ./common/preamble -_begin_fstest auto replace volume scrub +_begin_fstest auto replace volume scrub raid . ./common/filter
tests/btrfs/060 +1 -1
@@ -8,7 +8,7 @@ # with fsstress running in background. # . ./common/preamble -_begin_fstest auto balance subvol scrub +_begin_fstest auto balance subvol scrub raid _cleanup() {
tests/btrfs/061 +1 -1
@@ -8,7 +8,7 @@ # running in background. # . ./common/preamble -_begin_fstest auto balance scrub +_begin_fstest auto balance scrub raid _cleanup() {
tests/btrfs/062 +1 -1
@@ -8,7 +8,7 @@ # running in background. # . ./common/preamble -_begin_fstest auto balance defrag compress scrub +_begin_fstest auto balance defrag compress scrub raid _cleanup() {
tests/btrfs/063 +1 -1
@@ -8,7 +8,7 @@ # simultaneously, with fsstress running in background. # . ./common/preamble -_begin_fstest auto balance remount compress scrub +_begin_fstest auto balance remount compress scrub raid _cleanup() {
tests/btrfs/064 +1 -1
@@ -10,7 +10,7 @@ # run simultaneously. One of them is expected to fail when the other is running. . ./common/preamble -_begin_fstest auto balance replace volume scrub +_begin_fstest auto balance replace volume scrub raid _cleanup() {
tests/btrfs/065 +1 -1
@@ -8,7 +8,7 @@ # operation simultaneously, with fsstress running in background. # . ./common/preamble -_begin_fstest auto subvol replace volume scrub +_begin_fstest auto subvol replace volume scrub raid _cleanup() {
tests/btrfs/066 +1 -1
@@ -8,7 +8,7 @@ # operation simultaneously, with fsstress running in background. # . ./common/preamble -_begin_fstest auto subvol scrub +_begin_fstest auto subvol scrub raid _cleanup() {
tests/btrfs/067 +1 -1
@@ -8,7 +8,7 @@ # operation simultaneously, with fsstress running in background. # . ./common/preamble -_begin_fstest auto subvol defrag compress scrub +_begin_fstest auto subvol defrag compress scrub raid _cleanup() {
tests/btrfs/068 +1 -1
@@ -9,7 +9,7 @@ # in background. # . ./common/preamble -_begin_fstest auto subvol remount compress scrub +_begin_fstest auto subvol remount compress scrub raid _cleanup() {
tests/btrfs/069 +1 -1
@@ -8,7 +8,7 @@ # running in background. # . ./common/preamble -_begin_fstest auto replace scrub volume +_begin_fstest auto replace scrub volume raid _cleanup() {
tests/btrfs/070 +1 -1
@@ -8,7 +8,7 @@ # running in background. # . ./common/preamble -_begin_fstest auto replace defrag compress volume scrub +_begin_fstest auto replace defrag compress volume scrub raid _cleanup() {
tests/btrfs/071 +1 -1
@@ -8,7 +8,7 @@ # algorithms simultaneously with fsstress running in background. # . ./common/preamble -_begin_fstest auto replace remount compress volume scrub +_begin_fstest auto replace remount compress volume scrub raid _cleanup() {
tests/btrfs/072 +1 -1
@@ -8,7 +8,7 @@ # running in background. # . ./common/preamble -_begin_fstest auto scrub defrag compress +_begin_fstest auto scrub defrag compress raid _cleanup() {
tests/btrfs/073 +1 -1
@@ -8,7 +8,7 @@ # simultaneously with fsstress running in background. # . ./common/preamble -_begin_fstest auto scrub remount compress +_begin_fstest auto scrub remount compress raid _cleanup() {
tests/btrfs/074 +1 -1
@@ -8,7 +8,7 @@ # simultaneously with fsstress running in background. # . ./common/preamble -_begin_fstest auto defrag remount compress scrub +_begin_fstest auto defrag remount compress scrub raid _cleanup() {
tests/btrfs/100 +1 -1
@@ -8,7 +8,7 @@ # # . ./common/preamble -_begin_fstest auto replace volume eio +_begin_fstest auto replace volume eio raid # Override the default cleanup function. _cleanup()
tests/btrfs/101 +1 -1
@@ -8,7 +8,7 @@ # # . ./common/preamble -_begin_fstest auto replace volume eio +_begin_fstest auto replace volume eio raid # Override the default cleanup function. _cleanup()
tests/btrfs/124 +1 -1
@@ -23,7 +23,7 @@ # Verify if all three checkpoints match # . ./common/preamble -_begin_fstest auto replace volume balance +_begin_fstest auto replace volume balance raid # Override the default cleanup function. _cleanup()
tests/btrfs/125 +1 -1
@@ -22,7 +22,7 @@ # Verify if all three checkpoints match # . ./common/preamble -_begin_fstest replace volume balance auto quick +_begin_fstest replace volume balance auto quick raid # Override the default cleanup function. _cleanup()
tests/btrfs/140 +1 -1
@@ -12,7 +12,7 @@ # commit 2e949b0a5592 ("Btrfs: fix invalid dereference in btrfs_retry_endio") # . ./common/preamble -_begin_fstest auto quick read_repair fiemap +_begin_fstest auto quick read_repair fiemap raid . ./common/filter
tests/btrfs/141 +1 -1
@@ -13,7 +13,7 @@ # Commit 9d0d1c8b1c9d ("Btrfs: bring back repair during read") # . ./common/preamble -_begin_fstest auto quick read_repair +_begin_fstest auto quick read_repair raid . ./common/filter
tests/btrfs/142 +1 -1
@@ -13,7 +13,7 @@ # commit 97bf5a5589aa ("Btrfs: fix segmentation fault when doing dio read") # . ./common/preamble -_begin_fstest auto quick read_repair +_begin_fstest auto quick read_repair raid . ./common/filter . ./common/dmdust
tests/btrfs/143 +1 -1
@@ -20,7 +20,7 @@ # commit 9d0d1c8b1c9d ("Btrfs: bring back repair during read") # . ./common/preamble -_begin_fstest auto quick read_repair +_begin_fstest auto quick read_repair raid . ./common/filter . ./common/dmdust
tests/btrfs/146 +1 -1
@@ -10,7 +10,7 @@ # Then fsync on all one last time and verify that all return 0. # . ./common/preamble -_begin_fstest auto quick eio +_begin_fstest auto quick eio raid # Override the default cleanup function. _cleanup()
tests/btrfs/148 +1 -1
@@ -7,7 +7,7 @@ # Test that direct IO writes work on RAID5 and RAID6 filesystems. # . ./common/preamble -_begin_fstest auto quick rw scrub +_begin_fstest auto quick rw scrub raid . ./common/filter
tests/btrfs/150 +1 -1
@@ -11,7 +11,7 @@ # Btrfs: fix kernel oops while reading compressed data # . ./common/preamble -_begin_fstest auto quick dangerous read_repair compress +_begin_fstest auto quick dangerous read_repair compress raid . ./common/filter . ./common/fail_make_request
tests/btrfs/151 +1 -1
@@ -11,7 +11,7 @@ # Btrfs: avoid losing data raid profile when deleting a device # . ./common/preamble -_begin_fstest auto quick volume +_begin_fstest auto quick volume raid . ./common/filter
tests/btrfs/160 +1 -1
@@ -9,7 +9,7 @@ # then call fsync on it. Is the error reported? # . ./common/preamble -_begin_fstest auto quick eio +_begin_fstest auto quick eio raid # Override the default cleanup function. _cleanup()
tests/btrfs/175 +1 -1
@@ -7,7 +7,7 @@ # Test swap file activation on multiple devices. # . ./common/preamble -_begin_fstest auto quick swap volume +_begin_fstest auto quick swap volume raid . ./common/filter
tests/btrfs/184 +1 -1
@@ -8,7 +8,7 @@ # filesystem its superblock copies are correctly deleted # . ./common/preamble -_begin_fstest auto quick volume +_begin_fstest auto quick volume raid . ./common/filter
tests/btrfs/195 +1 -1
@@ -8,7 +8,7 @@ # source profiles just rely on being able to read the data and metadata. # . ./common/preamble -_begin_fstest auto volume balance scrub +_begin_fstest auto volume balance scrub raid . ./common/filter
tests/btrfs/197 +1 -1
@@ -10,7 +10,7 @@ # btrfs: remove identified alien btrfs device in open_fs_devices # . ./common/preamble -_begin_fstest auto quick volume +_begin_fstest auto quick volume raid # Override the default cleanup function. _cleanup()
tests/btrfs/198 +1 -1
@@ -7,7 +7,7 @@ # Test outdated and foreign non-btrfs devices in the device listing. # . ./common/preamble -_begin_fstest auto quick volume +_begin_fstest auto quick volume raid . ./common/filter . ./common/filter.btrfs
tests/btrfs/223 +1 -1
@@ -10,7 +10,7 @@ # new device only in degraded mode, as this is the easiest way to verify it. # . ./common/preamble -_begin_fstest auto quick replace trim +_begin_fstest auto quick replace trim raid . ./common/filter
tests/btrfs/242 +1 -1
@@ -9,7 +9,7 @@ # [patch] btrfs: check for missing device in btrfs_trim_fs . ./common/preamble -_begin_fstest auto quick volume trim +_begin_fstest auto quick volume trim raid . ./common/filter
tests/btrfs/249 +1 -1
@@ -14,7 +14,7 @@ # . ./common/preamble -_begin_fstest auto quick seed volume +_begin_fstest auto quick seed volume raid _require_scratch_dev_pool 3 _require_command "$WIPEFS_PROG" wipefs
tests/btrfs/254 +1 -1
@@ -8,7 +8,7 @@ # Test if the kernel can free the stale device entries. # . ./common/preamble -_begin_fstest auto quick volume +_begin_fstest auto quick volume raid # Override the default cleanup function. node=$seq-test
tests/btrfs/265 +1 -1
@@ -9,7 +9,7 @@ # mirrors for the same logical offset. # . ./common/preamble -_begin_fstest auto quick read_repair +_begin_fstest auto quick read_repair raid . ./common/filter
tests/btrfs/266 +1 -1
@@ -10,7 +10,7 @@ # . ./common/preamble -_begin_fstest auto quick read_repair +_begin_fstest auto quick read_repair raid . ./common/filter
tests/btrfs/267 +1 -1
@@ -10,7 +10,7 @@ # . ./common/preamble -_begin_fstest auto quick read_repair +_begin_fstest auto quick read_repair raid . ./common/filter
tests/btrfs/268 +1 -1
@@ -9,7 +9,7 @@ # . ./common/preamble -_begin_fstest auto quick read_repair +_begin_fstest auto quick read_repair raid . ./common/filter
tests/btrfs/269 +1 -1
@@ -13,7 +13,7 @@ # . ./common/preamble -_begin_fstest auto quick read_repair +_begin_fstest auto quick read_repair raid . ./common/filter
tests/btrfs/270 +1 -1
@@ -7,7 +7,7 @@ # Regression test for btrfs buffered read repair of compressed data. # . ./common/preamble -_begin_fstest auto quick read_repair compress +_begin_fstest auto quick read_repair compress raid . ./common/filter
tests/btrfs/286 +1 -1
@@ -8,7 +8,7 @@ # for NODATASUM data. # . ./common/preamble -_begin_fstest auto replace +_begin_fstest auto replace raid . ./common/filter
tests/btrfs/296 +1 -1
@@ -8,7 +8,7 @@ # when a new feature is added. # . ./common/preamble -_begin_fstest auto quick balance +_begin_fstest auto quick balance raid _require_scratch_dev_pool 3 _fixed_by_kernel_commit b7625f461da6 \
tests/btrfs/335 +1 -1
@@ -9,7 +9,7 @@ # position in the target zone. # . ./common/preamble -_begin_fstest zone quick volume +_begin_fstest zone quick volume raid . ./common/filter
Signature · 1 line
2.47.2
Re: [PATCH 1/2] btrfs: add tests that exercise raid profiles to the raid group
Very appreciated,
PATCH 2/2 btrfs/023: add to the quick group
In reply to [email protected]From: Filipe Manana <[email protected]>
This is a very quick test, so add it to the quick group.
--- tests/btrfs/023 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/btrfs/023 +1 -1
@@ -9,7 +9,7 @@ # The test aims to create the raid and verify that its created # . ./common/preamble -_begin_fstest auto raid +_begin_fstest auto quick raid . ./common/filter
Signature · 1 line
2.47.2
Re: [PATCH 2/2] btrfs/023: add to the quick group
Quoted 14 lines · On 15.05.25 13:51, [email protected] wrote:
From: Filipe Manana <[email protected]>
This is a very quick test, so add it to the quick group.
Signed-off-by Filipe Manana <[email protected]>--- tests/btrfs/023 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tests/btrfs/023 +0
-0
tests/btrfs/023 line 15
Quoted 8 lines
tests/btrfs/023 +1
-1@@ -9,7 +9,7 @@ # The test aims to create the raid and verify that its created # . ./common/preamble -_begin_fstest auto raid +_begin_fstest auto quick raid . ./common/filter
But why did you delete it from the raid group?
Re: [PATCH 2/2] btrfs/023: add to the quick group
Quoted 22 lines · Johannes Thumshirn
Quoted 20 lines · On 15.05.25 13:51, [email protected] wrote:
From: Filipe Manana <[email protected]>
This is a very quick test, so add it to the quick group.
Signed-off-by Filipe Manana <[email protected]>--- tests/btrfs/023 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tests/btrfs/023 +1
-1@@ -9,7 +9,7 @@ # The test aims to create the raid and verify that its created # . ./common/preamble -_begin_fstest auto raid +_begin_fstest auto quick raid
Quoted 4 lines
tests/btrfs/023 line 15
Quoted 2 lines
tests/btrfs/023 +0
-0. ./common/filterBut why did you delete it from the raid group?
What do you mean?
line before: _begin_fstest auto raid line after: _begin_fstest auto quick raid
It's still there.
Re: [PATCH 2/2] btrfs/023: add to the quick group
Quoted 29 lines · Filipe Manana
Quoted 22 lines · Johannes Thumshirn
Quoted 20 lines · On 15.05.25 13:51, [email protected] wrote:
From: Filipe Manana <[email protected]>
This is a very quick test, so add it to the quick group.
Signed-off-by Filipe Manana <[email protected]>--- tests/btrfs/023 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tests/btrfs/023 +1
-1@@ -9,7 +9,7 @@ # The test aims to create the raid and verify that its created # . ./common/preamble -_begin_fstest auto raid +_begin_fstest auto quick raidQuoted 4 lines
tests/btrfs/023 line 15
Quoted 2 lines
tests/btrfs/023 +0
-0. ./common/filterBut why did you delete it from the raid group?
Quoted 7 lines
What do you mean?
line before: _begin_fstest auto raid line after: _begin_fstest auto quick raidIt's still there.
I'm fscking blind, I'm sorry.
Re: [PATCH 2/2] btrfs/023: add to the quick group
In reply to [email protected]Quoted 14 lines · On Thu, May 15, 2025 at 12:50:08PM +0100, [email protected] wrote:
From: Filipe Manana <[email protected]>
This is a very quick test, so add it to the quick group.
Signed-off-by Filipe Manana <[email protected]>--- tests/btrfs/023 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tests/btrfs/023 +0
-0
tests/btrfs/023 line 12
Quoted 5 lines
tests/btrfs/023 +1
-1@@ -9,7 +9,7 @@ # The test aims to create the raid and verify that its created # . ./common/preamble -_begin_fstest auto raid +_begin_fstest auto quick raid
Sure it's fast enough:
btrfs/023 2s
Quoted 7 lines
tests/btrfs/023 +0
-0. ./common/filterSignature · 1 line
2.47.2