Remove residual blank line at start of MakefileThis is a residual of the $FreeBSD$ removal.MFC After: 3 days (though I'll just run the command on the branches)Sponsored by: Netflix
Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
Remove $FreeBSD$: two-line .h patternRemove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
Use .CURDIR:H instead of .CURDIR to simplify pathing in output, etcMFC after: 3 weeksSponsored by: Dell EMC Isilon
zfsd(8), the ZFS fault management daemonAdd zfsd, which deals with hard drive faults in ZFS pools. It manageshotspares and replements in drive slots that publish physical paths.cddl/usr.sbin/zfs
zfsd(8), the ZFS fault management daemonAdd zfsd, which deals with hard drive faults in ZFS pools. It manageshotspares and replements in drive slots that publish physical paths.cddl/usr.sbin/zfsd Add zfsd(8) and its unit testscddl/usr.sbin/Makefile Add zfsd to the buildlib/libdevdctl A C++ library that helps devd clients process eventslib/Makefileshare/mk/bsd.libnames.mkshare/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 NOetc/mtree/BSD.include.dist Add a directory for libdevdctl's include filesetc/mtree/BSD.tests.dist Add a directory for zfsd's unit testsetc/mtree/BSD.var.dist Add /var/db/zfsd/cases, where zfsd stores case files while it's shut down.etc/rc.d/Makefileetc/rc.d/zfsd Add zfsd's rc scriptsys/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, allanjudeReviewed by: mav, delphijRelnotes: yesSponsored by: Spectra Logic Corp, iX SystemsDifferential Revision: https://reviews.freebsd.org/D6564
show more ...