Skip to content

fstests/btrfs: fixes for tests btrfs/06[0-9] and btrfs/07[0-4]

[email protected] fstests linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 16 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10btrfs: add helper to kill background process running _btrfs_stress_balancecommon/btrfs tests/btrfs/060 tests/btrfs/061 +4 more+34 -362 replies
2/10btrfs/028: use the helper _btrfs_kill_stress_balance_pidtests/btrfs/028+3 -62 replies
3/10btrfs/028: removed redundant sync and scratch filesystem unmounttests/btrfs/028+2 -50 replies
4/10btrfs: add helper to kill background process running _btrfs_stress_scrubcommon/btrfs tests/btrfs/061 tests/btrfs/066 +3 more+32 -302 replies
5/10btrfs: add helper to kill background process running _btrfs_stress_defragcommon/btrfs tests/btrfs/062 tests/btrfs/067 +3 more+28 -302 replies
6/10btrfs: add helper to kill background process running _btrfs_stress_remount_compresscommon/btrfs tests/btrfs/063 tests/btrfs/068 +3 more+25 -334 replies
7/10btrfs: add helper to kill background process running _btrfs_stress_replacecommon/btrfs tests/btrfs/064 tests/btrfs/065 +3 more+21 -361 reply
8/10btrfs: add helper to stop background process running _btrfs_stress_subvolumecommon/btrfs tests/btrfs/060 tests/btrfs/065 +3 more+17 -101 reply
9/10btrfs: remove stop file early at _btrfs_stress_subvolumecommon/btrfs tests/btrfs/060 tests/btrfs/065 +3 more+1 -101 reply
10/10btrfs/06[0-9]..07[0-4]: kill all background tasks when test is killed/interruptedtests/btrfs/060 tests/btrfs/061 tests/btrfs/062 +12 more+295 -51 reply

Reviews trailers per patch

7 of 10 patches have a Reviewed-by or Acked-by.

PatchAnand Jain
1/10R-b
2/10
3/10
4/10
5/10R-b
6/10R-b
7/10R-b
8/10R-b
9/10R-b
10/10R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/10] fstests/btrfs: fixes for tests btrfs/06[0-9] and btrfs/07[0-4]

From: Filipe Manana <[email protected]>

Killing any of the tests cases btrfs/06[0-9] and btrfs/07[0-4] often leaves some background processes running around that prevent unmounting the scratch filesystems or running fstests again. When that happens it requires manually finding which processes are still using the scratch filesystem and then kill them. These patches address that issue. Details in the change logs.

Filipe Manana (10):
btrfs: add helper to kill background process running _btrfs_stress_balance btrfs/028: use the helper _btrfs_kill_stress_balance_pid
btrfs/028: removed redundant sync and scratch filesystem unmount
btrfs: add helper to kill background process running _btrfs_stress_scrub
btrfs: add helper to kill background process running _btrfs_stress_defrag
btrfs: add helper to kill background process running _btrfs_stress_remount_compress
btrfs: add helper to kill background process running _btrfs_stress_replace
btrfs: add helper to stop background process running _btrfs_stress_subvolume
btrfs: remove stop file early at _btrfs_stress_subvolume btrfs/06[0-9]..07[0-4]: kill all background tasks when test is killed/interrupted

 common/btrfs    | 84 +++++++++++++++++++++++++++++++++++++++++++++++++
 tests/btrfs/028 | 16 +++-------
 tests/btrfs/060 | 33 +++++++++++++------
 tests/btrfs/061 | 30 ++++++++++++------
 tests/btrfs/062 | 30 ++++++++++++------
 tests/btrfs/063 | 30 ++++++++++++------
 tests/btrfs/064 | 30 ++++++++++++------
 tests/btrfs/065 | 33 +++++++++++++------
 tests/btrfs/066 | 33 +++++++++++++------
 tests/btrfs/067 | 33 +++++++++++++------
 tests/btrfs/068 | 33 +++++++++++++------
 tests/btrfs/069 | 31 ++++++++++++------
 tests/btrfs/070 | 31 ++++++++++++------
 tests/btrfs/071 | 31 ++++++++++++------
 tests/btrfs/072 | 31 ++++++++++++------
 tests/btrfs/073 | 30 ++++++++++++------
 tests/btrfs/074 | 30 ++++++++++++------
 tests/btrfs/255 |  8 ++---
 18 files changed, 417 insertions(+), 160 deletions(-)
Signature · 1 line
2.43.0