Files
mirror_zfs/module/zfs
Isaac Huang 6d82f98c3d Fix incorrect spare vdev state after replacing
After a hot spare replaces an OFFLINE vdev, the new
parent spare vdev state is set incorrectly to OFFLINE.
The correct state should be DEGRADED. The incorrect
OFFLINE state will prevent top-level vdev from reading
the spare vdev, thus causing unnecessary reconstruction.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Don Brady <don.brady@intel.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Isaac Huang <he.huang@intel.com>
Closes #5766 
Closes #5770
2017-02-23 10:32:15 -08:00
..
2015-01-16 14:41:26 -08:00
2015-01-16 14:41:26 -08:00
2016-11-02 12:14:45 -07:00
2017-02-08 09:27:48 -08:00
2016-12-12 10:46:26 -08:00
2016-12-12 10:46:26 -08:00
2017-01-03 11:31:18 -06:00
2015-01-16 14:41:26 -08:00
2016-04-21 09:49:25 -07:00
2017-01-03 11:31:18 -06:00
2010-08-31 13:41:58 -07:00
2017-01-03 11:31:18 -06:00
2016-08-11 11:23:49 -07:00
2017-01-03 11:31:18 -06:00
2016-12-02 16:57:49 -07:00
2016-11-29 14:34:33 -08:00
2016-11-29 14:34:33 -08:00
2013-10-31 14:58:04 -07:00
2010-08-31 13:41:58 -07:00
2016-09-21 18:09:00 -07:00
2017-01-03 11:31:18 -06:00
2016-11-30 16:18:20 -07:00
2017-02-08 17:28:22 -08:00
2016-12-16 13:54:51 -08:00
2017-01-03 11:31:18 -06:00
2017-02-11 12:42:17 -08:00
2016-05-31 16:04:26 -07:00
2017-01-03 11:31:18 -06:00
2017-01-23 10:35:58 -08:00
2017-02-08 09:27:48 -08:00