diff options
author | Isaac Huang <[email protected]> | 2017-02-23 11:32:15 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-02-23 10:32:15 -0800 |
commit | 6d82f98c3d9f83045a801df60f904421b101faa9 (patch) | |
tree | 17917e3b6ac099b2eeb7c6b267bed63260dead19 /module/unicode | |
parent | 100790a8dd7c7cbbcf35871d7361429e2ae09435 (diff) |
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 <[email protected]>
Reviewed-by: Don Brady <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Isaac Huang <[email protected]>
Closes #5766
Closes #5770
Diffstat (limited to 'module/unicode')
0 files changed, 0 insertions, 0 deletions