mirror_zfs/module
Kody A Kantor d49d7336dd 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 <chris@onthe.net.au>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tom Caputi <tcaputi@datto.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Signed-off-by: Kody A Kantor <kody@kkantor.com>
External-issue: illumos-joyent OS-7982
Closes #9299 
Closes #9338
2019-09-22 15:25:39 -07:00
..
avl Fix typos in module/ 2019-08-30 14:32:18 -07:00
icp OpenZFS restructuring - move platform specific headers 2019-09-05 09:34:54 -07:00
lua Fix typos in module/ 2019-08-30 14:32:18 -07:00
nvpair Fix typos in module/ 2019-08-30 14:32:18 -07:00
os Scrubbing root pools may deadlock on kernels without elevator_change() (#9321) 2019-09-13 18:09:59 -07:00
spl OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00
unicode Update build system and packaging 2018-05-29 16:00:33 -07:00
zcommon Make module tunables cross platform 2019-09-05 14:49:49 -07:00
zfs Disabled resilver_defer feature leads to looping resilvers 2019-09-22 15:25:39 -07:00
.gitignore Prepare SPL repo to merge with ZFS repo 2018-05-29 14:51:39 -07:00
Makefile.in OpenZFS restructuring - move platform specific sources 2019-09-06 11:26:26 -07:00