From 4e9b156960562373e005798575a3fbc6d66e32ff Mon Sep 17 00:00:00 2001 From: LOLi Date: Sat, 9 Dec 2017 01:58:41 +0100 Subject: Various ZED fixes * Teach ZED to handle spares usingi the configured ashift: if the zpool 'ashift' property is set then ZED should use its value when kicking in a hotspare; with this change 512e disks can be used as spares for VDEVs that were created with ashift=9, even if ZFS natively detects them as 4K block devices. * Introduce an additional auto_spare test case which verifies that in the face of multiple device failures an appropiate number of spares are kicked in. * Fix zed_stop() in "libtest.shlib" which did not correctly wait the target pid. * Fix ZED crashing on startup caused by a race condition in libzfs when used in multi-threaded context. * Convert ZED over to using the tpool library which is already present in the Illumos FMA code. Reviewed-by: Brian Behlendorf Signed-off-by: loli10K Closes #2562 Closes #6858 --- tests/runfiles/linux.run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/runfiles/linux.run') diff --git a/tests/runfiles/linux.run b/tests/runfiles/linux.run index 9424c80a0..0c8f298c6 100644 --- a/tests/runfiles/linux.run +++ b/tests/runfiles/linux.run @@ -464,7 +464,7 @@ tags = ['functional', 'exec'] [tests/functional/fault] tests = ['auto_online_001_pos', 'auto_replace_001_pos', 'auto_spare_001_pos', - 'auto_spare_002_pos.ksh'] + 'auto_spare_002_pos', 'auto_spare_ashift', 'auto_spare_multiple'] tags = ['functional', 'fault'] [tests/functional/features/async_destroy] -- cgit v1.2.3