diff options
author | Kody A Kantor <[email protected]> | 2019-09-22 17:25:39 -0500 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-09-22 15:25:39 -0700 |
commit | d49d7336dd42d19de00ee24d1112d496829ff027 (patch) | |
tree | 044463e27a7111cd41da1c4f14253ab5d8c61411 /cmd/zpool/zpool_vdev.c | |
parent | afc8f0a6ffb4dd2dd5e17abc39e035eb7c7bcdc8 (diff) |
Disabled resilver_defer feature leads to looping resilvers
When a disk is replaced with another on a pool with the resilver_defer
feature present, but not enabled the resilver activity restarts during
each spa_sync. This patch checks to make sure that the resilver_defer
feature is first enabled before requesting a deferred resilver.
This was originally fixed in illumos-joyent as OS-7982.
Reviewed-by: Chris Dunlop <[email protected]>
Reviewed-by: George Melikov <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Tom Caputi <[email protected]>
Reviewed by: Jerry Jelinek <[email protected]>
Signed-off-by: Kody A Kantor <[email protected]>
External-issue: illumos-joyent OS-7982
Closes #9299
Closes #9338
Diffstat (limited to 'cmd/zpool/zpool_vdev.c')
0 files changed, 0 insertions, 0 deletions