6c96553e8a
Convert libdevctl to use devd's new SEQPACKET socket. lib/libdevctl/consumer.cc lib/libdevctl/event_buffer.cc lib/libdevctl/event_buffer.h lib/libdevctl/reader.cc lib/libdevctl/reader.h Read from the new /var/run/devd.seqpacket.pipe instead of /var/run/devd.pipe. Since it preserves record boundaries, we can eliminate all the repacketization code in EventBuffer::ExtractEvent as well as much supporting code from the Reader class. lib/libdevctl/consumer.cc Make the pipe nonblocking. Previously, we avoided blocking by using the FIONREAD ioctl, but this is simpler. cddl/sbin/zfsd/case_file.cc cddl/sbin/zfsd/tests/zfsd_unittest.cc cddl/sbin/zfsd/vdev.cc cddl/sbin/zfsd/zfsd.cc cddl/sbin/zfsd/zfsd.h cddl/sbin/zfsd/zfsd_event.cc Update zfsd according to the libdevctl changes. The only nontrivial change is to CaseFile::DeSerialize, which elimintes the use of IStreamReader. cddl/sbin/zfsd/case_file.cc For an unknown reason, sometimes the std::ios::failbit will get set on caseStream. Instead of checking for !eof(), check for good(). That method checks the eofbit, errorbit, and failbit. livdevctl cleanup (from gibbs) lib/libdevctl/event.cc: lib/libdevctl/event.h: Remove the event class's name from its Builder method. It's perfectly clear that DevfsEvent::Builder() is the DevfsEvent class's Builder function. cddl/sbin/zfsd/zfsd.cc: cddl/sbin/zfsd/zfsd_event.cc: cddl/sbin/zfsd/zfsd_event.h: Conform to new libdevct Builder naming convention. Fix autoreplace by physical path when a hotspare is present cddl/sbin/zfsd/case_file.cc Fix logic error in CaseFile::Replace regarding whether the replacement device is a spare or not. Reviewed by: gibbs Sponsored by: Spectra Logic
279 lines
5.3 KiB
Plaintext
279 lines
5.3 KiB
Plaintext
# $FreeBSD$
|
|
#
|
|
# Please see the file src/etc/mtree/README before making changes to this file.
|
|
#
|
|
|
|
/set type=dir uname=root gname=wheel mode=0755
|
|
.
|
|
include
|
|
atf-c
|
|
..
|
|
atf-c++
|
|
..
|
|
..
|
|
share
|
|
aclocal
|
|
..
|
|
atf
|
|
..
|
|
doc
|
|
atf
|
|
..
|
|
..
|
|
..
|
|
tests
|
|
bin
|
|
date
|
|
..
|
|
mv
|
|
..
|
|
pax
|
|
..
|
|
pkill
|
|
..
|
|
sh
|
|
builtins
|
|
..
|
|
errors
|
|
..
|
|
execution
|
|
..
|
|
expansion
|
|
..
|
|
parameters
|
|
..
|
|
parser
|
|
..
|
|
set-e
|
|
..
|
|
..
|
|
test
|
|
..
|
|
..
|
|
cddl
|
|
lib
|
|
..
|
|
sbin
|
|
zfsd
|
|
..
|
|
..
|
|
usr.bin
|
|
..
|
|
usr.sbin
|
|
..
|
|
..
|
|
etc
|
|
..
|
|
games
|
|
..
|
|
gnu
|
|
lib
|
|
..
|
|
usr.bin
|
|
..
|
|
..
|
|
lib
|
|
atf
|
|
libatf-c
|
|
detail
|
|
..
|
|
..
|
|
libatf-c++
|
|
detail
|
|
..
|
|
..
|
|
test-programs
|
|
..
|
|
..
|
|
libcrypt
|
|
..
|
|
..
|
|
libexec
|
|
atf
|
|
atf-check
|
|
..
|
|
..
|
|
..
|
|
sbin
|
|
dhclient
|
|
..
|
|
growfs
|
|
..
|
|
mdconfig
|
|
..
|
|
..
|
|
secure
|
|
lib
|
|
..
|
|
libexec
|
|
..
|
|
usr.bin
|
|
..
|
|
usr.sbin
|
|
..
|
|
..
|
|
share
|
|
examples
|
|
tests
|
|
atf
|
|
..
|
|
plain
|
|
..
|
|
..
|
|
..
|
|
..
|
|
sys
|
|
kern
|
|
..
|
|
netinet
|
|
..
|
|
..
|
|
usr.bin
|
|
apply
|
|
..
|
|
atf
|
|
atf-sh
|
|
..
|
|
..
|
|
bmake
|
|
archives
|
|
fmt_44bsd
|
|
..
|
|
fmt_44bsd_mod
|
|
..
|
|
fmt_oldbsd
|
|
..
|
|
..
|
|
basic
|
|
t0
|
|
..
|
|
t1
|
|
..
|
|
t2
|
|
..
|
|
t3
|
|
..
|
|
..
|
|
execution
|
|
ellipsis
|
|
..
|
|
empty
|
|
..
|
|
joberr
|
|
..
|
|
plus
|
|
..
|
|
..
|
|
shell
|
|
builtin
|
|
..
|
|
meta
|
|
..
|
|
path
|
|
..
|
|
path_select
|
|
..
|
|
replace
|
|
..
|
|
select
|
|
..
|
|
..
|
|
suffixes
|
|
basic
|
|
..
|
|
src_wild1
|
|
..
|
|
src_wild2
|
|
..
|
|
..
|
|
syntax
|
|
directive-t0
|
|
..
|
|
enl
|
|
..
|
|
funny-targets
|
|
..
|
|
semi
|
|
..
|
|
..
|
|
sysmk
|
|
t0
|
|
2
|
|
1
|
|
..
|
|
..
|
|
mk
|
|
..
|
|
..
|
|
t1
|
|
2
|
|
1
|
|
..
|
|
..
|
|
mk
|
|
..
|
|
..
|
|
t2
|
|
2
|
|
1
|
|
..
|
|
..
|
|
mk
|
|
..
|
|
..
|
|
..
|
|
variables
|
|
modifier_M
|
|
..
|
|
modifier_t
|
|
..
|
|
opt_V
|
|
..
|
|
t0
|
|
..
|
|
..
|
|
..
|
|
calendar
|
|
..
|
|
comm
|
|
..
|
|
file2c
|
|
..
|
|
join
|
|
..
|
|
jot
|
|
..
|
|
lastcomm
|
|
..
|
|
m4
|
|
..
|
|
ncal
|
|
..
|
|
printf
|
|
..
|
|
sed
|
|
regress.multitest.out
|
|
..
|
|
..
|
|
tr
|
|
..
|
|
uudecode
|
|
..
|
|
uuencode
|
|
..
|
|
xargs
|
|
..
|
|
yacc
|
|
..
|
|
..
|
|
usr.sbin
|
|
etcupdate
|
|
..
|
|
newsyslog
|
|
..
|
|
sa
|
|
..
|
|
..
|
|
..
|
|
..
|