LOLi 4e9b156960 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 <behlendorf1@llnl.gov>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #2562 
Closes #6858
2017-12-08 16:58:41 -08:00
..
2017-12-08 16:58:41 -08:00
2017-08-09 15:31:08 -07:00
2015-05-11 15:07:00 -07:00
2017-05-22 12:34:32 -04:00
2017-04-05 13:21:10 -07:00
2015-05-11 15:07:00 -07:00
2017-01-03 11:31:18 -06:00
2015-05-11 15:07:00 -07:00
2015-05-11 15:07:00 -07:00
2015-05-11 15:07:00 -07:00
2017-04-12 08:57:25 -07:00
2015-05-11 15:07:00 -07:00
2016-12-12 10:46:26 -08:00
2015-05-11 15:07:00 -07:00