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

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



From: Filipe Manana <fdmanana@xxxxxxxx>

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(-)

-- 
2.43.0





[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux