freebsd-dev/cddl/usr.sbin/zfsd
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
..
tests Utilize SYSROOT from r320119 in places where DESTDIR may be wanting WORLDTMP. 2017-06-19 20:47:24 +00:00
callout.cc
callout.h zfsd: minor spelling fix. 2016-05-30 19:32:56 +00:00
case_file.cc zfsd: Don't spare a vdev that's being replaced 2018-01-30 21:25:43 +00:00
case_file.h zfsd should be able to online an L2ARC that disappears and returns 2017-10-26 15:28:18 +00:00
Makefile Remove unnecessary variable (SRCDIR) replaced by SRCTOP in Makefile.common 2016-08-29 19:07:48 +00:00
Makefile.common Use SRCTOP instead of a homegrown definition for it (SRCDIR) 2016-08-29 19:06:40 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
vdev_iterator.cc zfsd should be able to online an L2ARC that disappears and returns 2017-10-26 15:28:18 +00:00
vdev_iterator.h
vdev.cc
vdev.h Add an empty virtual destructor to zfsd's Vdev class. This is needed 2016-08-29 18:51:49 +00:00
zfsd_event.cc Close a memory leak when using zpool_read_all_labels 2017-09-25 20:44:40 +00:00
zfsd_event.h
zfsd_exception.cc
zfsd_exception.h
zfsd_main.cc
zfsd.8
zfsd.cc zfsd(8): Remove pidfile on shutdown 2017-06-20 19:45:02 +00:00
zfsd.h
zpool_list.cc
zpool_list.h