freebsd-skq/etc
Alan Somers 7a0c41d5d7 zfsd(8), the ZFS fault management daemon
Add zfsd, which deals with hard drive faults in ZFS pools. It manages
hotspares and replements in drive slots that publish physical paths.

cddl/usr.sbin/zfsd
	Add zfsd(8) and its unit tests

cddl/usr.sbin/Makefile
	Add zfsd to the build

lib/libdevdctl
	A C++ library that helps devd clients process events

lib/Makefile
share/mk/bsd.libnames.mk
share/mk/src.libnames.mk
	Add libdevdctl to the build. It's a private library, unusable by
	out-of-tree software.

etc/defaults/rc.conf
	By default, set zfsd_enable to NO

etc/mtree/BSD.include.dist
	Add a directory for libdevdctl's include files

etc/mtree/BSD.tests.dist
	Add a directory for zfsd's unit tests

etc/mtree/BSD.var.dist
	Add /var/db/zfsd/cases, where zfsd stores case files while it's shut
	down.

etc/rc.d/Makefile
etc/rc.d/zfsd
	Add zfsd's rc script

sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev.c
	Fix the resource.fs.zfs.statechange message. It had a number of
	problems:

	It was only being emitted on a transition to the HEALTHY state.
	That made it impossible for zfsd to take actions based on drives
	getting sicker.

	It compared the new state to vdev_prevstate, which is the state that
	the vdev had the last time it was opened.  That doesn't make sense,
	because a vdev can change state multiple times without being
	reopened.

	vdev_set_state contains logic that will change the device's new
	state based on various conditions.  However, the statechange event
	was being posted _before_ that logic took effect.  Now it's being
	posted after.

Submitted by:	gibbs, asomers, mav, allanjude
Reviewed by:	mav, delphij
Relnotes:	yes
Sponsored by:	Spectra Logic Corp, iX Systems
Differential Revision:	https://reviews.freebsd.org/D6564
2016-05-28 17:43:40 +00:00
..
autofs Make the autofs(5) -hosts map more robust, primarily to make it correctly 2016-03-23 12:13:53 +00:00
bluetooth
casper
defaults zfsd(8), the ZFS fault management daemon 2016-05-28 17:43:40 +00:00
devd Regenerate usb.conf . 2016-04-29 12:00:36 +00:00
etc.aarch64 Update the arm64 ttys file to enable the correct uart based on which device 2015-10-01 09:36:18 +00:00
etc.amd64 Enable all callin ttys if the tty is an available console. 2015-10-20 16:10:46 +00:00
etc.arm Enable ttyu1, ttyu2, ttyu3 for arm installations. 2015-06-21 19:50:02 +00:00
etc.i386 Enable all callin ttys if the tty is an available console. 2015-10-20 16:10:46 +00:00
etc.mips Enable all callin ttys if the tty is an available console. 2015-10-20 16:10:46 +00:00
etc.pc98 Enable all callin ttys if the tty is an available console. 2015-10-20 16:10:46 +00:00
etc.powerpc Enable all callin ttys if the tty is an available console. 2015-10-20 16:10:46 +00:00
etc.riscv Start support for the RISC-V 64-bit architecture developed by UC Berkeley. 2015-12-11 22:55:23 +00:00
etc.sparc64 Enable all callin ttys if the tty is an available console. 2015-10-20 16:10:46 +00:00
gss
mail Add a ${CP} alias for copying files in the build. 2015-01-16 21:39:08 +00:00
mtree zfsd(8), the ZFS fault management daemon 2016-05-28 17:43:40 +00:00
newsyslog.conf.d META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
ntp Update leap-seconds to leap-seconds.3661459200. 2016-05-19 03:56:07 +00:00
pam.d Create a rcmds package. 2016-01-21 17:33:31 +00:00
periodic MFH 2016-02-10 04:20:39 +00:00
pkg
rc.d zfsd(8), the ZFS fault management daemon 2016-05-28 17:43:40 +00:00
root Step 1 of eliminating the "games" distribution: Move binaries to /usr/bin; 2015-02-12 05:35:00 +00:00
sendmail If world is built with a custom sendmail.cf, use it for the distribution 2015-10-12 21:02:36 +00:00
amd.map
apmd.conf
auto_master Add -noauto autofs map, for automatic handling of fstab entries 2015-03-13 12:44:46 +00:00
crontab
csh.cshrc
csh.login
csh.logout
ddb.conf
devd.conf Merge from head 2015-09-12 11:41:31 +00:00
devfs.conf
dhclient.conf
disktab
fbtab
freebsd-update.conf
ftpusers
gettytab
group Fix regression introduced on r293801. 2016-01-27 06:28:56 +00:00
hosts
hosts.allow Allow info to display correctly in for varying tabstop settings 2014-12-24 01:50:44 +00:00
hosts.equiv
hosts.lpd
inetd.conf - Add IPv6 support in quota(1). While rpc.rquotad has supported PF_INET6 2015-07-07 20:15:09 +00:00
libalias.conf
libmap.conf
login.access
login.conf Fix handling of umtxp resource limit in sh(1)/ulimit(1), limits(1), add 2016-03-12 14:54:34 +00:00
mac.conf
Makefile Fix etcupdate(8) with rc.sendmail and devd/*. It turns out 2016-04-17 03:45:45 +00:00
Makefile.depend META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
man.alias
master.passwd Capitalize "LDAP" in the description field of the _ypldap entry. 2016-05-10 12:47:36 +00:00
minfree
motd Add the less-ambiguous freebsd-version command. 2014-11-02 19:25:31 +00:00
netconfig
netstart Loading rc.subr and rc.conf has no effect since all we do is run other 2015-10-26 15:14:16 +00:00
network.subr network.subr: avoid unnecessary reinitialization 2016-02-29 20:21:54 +00:00
networks
newsyslog.conf
nls.alias
nscd.conf
nsmb.conf
nsswitch.conf
ntp.conf Add support for automatic leap-second file updates. 2016-01-26 07:06:44 +00:00
opieaccess
pccard_ether Fix dynamic attach/detach of 802.11 devices after r287197: 2015-09-02 12:46:42 +00:00
pf.os
phones
portsnap.conf Disable building INDEX-9 and INDEX-10 because they are not useful for 2015-08-11 22:43:28 +00:00
printcap
profile
protocols etc: minor spelling fixes. 2016-05-01 16:43:22 +00:00
rc Try a little harder to remove firstboot and firstboot-reboot files in 2016-01-06 17:13:40 +00:00
rc.bsdextended
rc.firewall Slight tidy up of comments before MFC 2015-06-29 07:43:09 +00:00
rc.initdiskless etc: minor spelling fixes. 2016-05-01 16:43:22 +00:00
rc.resume
rc.sendmail
rc.shutdown Since r275359, there is no need to provide a bogus service name. 2015-10-26 15:16:27 +00:00
rc.subr Refactor the root mount hold code and add the wait to etc/rc.d/fsck. 2016-05-10 08:44:44 +00:00
rc.suspend
regdomain.xml
remote
rpc
services Replace all whitespaces between port name and number with tabs, 2015-12-24 16:35:28 +00:00
shells
snmpd.config Adds the bsnmp module to export the temperature data from lm75 sensors on 2014-06-01 03:14:03 +00:00
sysctl.conf
syslog.conf
termcap.small