freebsd-dev/cddl/usr.sbin
Alan Somers af63bbd0f0 zfsd: Don't spare a vdev that's being replaced
If a zfs pool contains a replacing vdev (either created manually by "zpool
replace" or by zfsd(8) via autoreplace by physical path) and then new spares
get added to the pool, zfsd shouldn't use one to replace the drive that is
already being replaced.  That's a waste of resources that just slows down
the rebuild.

PR:		225547
MFC after:	3 weeks
Sponsored by:	Spectra Logic Corp
2018-01-30 21:25:43 +00:00
..
dtrace Remove tst.zonename.d from the list of expected failures. 2018-01-14 17:56:19 +00:00
lockstat DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
plockstat DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
tests Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
zdb DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
zfsd zfsd: Don't spare a vdev that's being replaced 2018-01-30 21:25:43 +00:00
zhack DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
Makefile Convert traditional ${MK_TESTS} conditional idiom for including test 2017-08-02 08:35:51 +00:00
Makefile.inc