mirror of
https://github.com/opnsense/src.git
synced 2026-02-22 17:32:57 -05:00
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 |
||
|---|---|---|
| .. | ||
| autofs | ||
| bluetooth | ||
| casper | ||
| defaults | ||
| devd | ||
| etc.aarch64 | ||
| etc.amd64 | ||
| etc.arm | ||
| etc.i386 | ||
| etc.mips | ||
| etc.pc98 | ||
| etc.powerpc | ||
| etc.riscv | ||
| etc.sparc64 | ||
| gss | ||
| mtree | ||
| newsyslog.conf.d | ||
| ntp | ||
| pam.d | ||
| periodic | ||
| pkg | ||
| rc.d | ||
| root | ||
| sendmail | ||
| amd.map | ||
| apmd.conf | ||
| auto_master | ||
| crontab | ||
| csh.cshrc | ||
| csh.login | ||
| csh.logout | ||
| ddb.conf | ||
| devd.conf | ||
| devfs.conf | ||
| dhclient.conf | ||
| disktab | ||
| fbtab | ||
| freebsd-update.conf | ||
| ftpusers | ||
| gettytab | ||
| group | ||
| hosts | ||
| hosts.allow | ||
| hosts.equiv | ||
| hosts.lpd | ||
| inetd.conf | ||
| libalias.conf | ||
| libmap.conf | ||
| login.access | ||
| login.conf | ||
| mac.conf | ||
| Makefile | ||
| Makefile.depend | ||
| man.alias | ||
| master.passwd | ||
| minfree | ||
| motd | ||
| netconfig | ||
| netstart | ||
| network.subr | ||
| networks | ||
| newsyslog.conf | ||
| nls.alias | ||
| nscd.conf | ||
| nsmb.conf | ||
| nsswitch.conf | ||
| ntp.conf | ||
| opieaccess | ||
| pccard_ether | ||
| pf.os | ||
| phones | ||
| portsnap.conf | ||
| printcap | ||
| profile | ||
| protocols | ||
| rc | ||
| rc.bsdextended | ||
| rc.firewall | ||
| rc.initdiskless | ||
| rc.resume | ||
| rc.sendmail | ||
| rc.shutdown | ||
| rc.subr | ||
| rc.suspend | ||
| regdomain.xml | ||
| remote | ||
| rpc | ||
| services | ||
| shells | ||
| snmpd.config | ||
| sysctl.conf | ||
| syslog.conf | ||
| termcap.small | ||