<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/lib/libdevdctl, branch master</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=master</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2020-06-23T16:29:59Z</updated>
<entry>
<title>libdevdctl: Force full match of "timestamp" field name</title>
<updated>2020-06-23T16:29:59Z</updated>
<author>
<name>Ryan Moeller</name>
<email>freqlabs@FreeBSD.org</email>
</author>
<published>2020-06-23T16:29:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5f018c9147685536eb56456536a9ddaa993a308f'/>
<id>urn:sha1:5f018c9147685536eb56456536a9ddaa993a308f</id>
<content type='text'>
OpenZFS generates events with a "zio_timestamp" field, which gets mistaken for
"timestamp" by libdevdctl due to imprecise string matching.  Then later it is
assumed a "timestamp" field exists when it doesn't and an exception is thrown.

Add a space to the search string so we match exactly "timestamp" rather than
anything with that as a suffix.

Approved by:	mav (mentor)
MFC after:	3 days
Sponsored by:	iXsystems, Inc.
</content>
</entry>
<entry>
<title>libdevdctl: g++9 avoid Wdeprecated-copy</title>
<updated>2019-12-21T02:44:26Z</updated>
<author>
<name>Ryan Libby</name>
<email>rlibby@FreeBSD.org</email>
</author>
<published>2019-12-21T02:44:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=47ce20aef1e636e601ef26a4bc7e05c64a000640'/>
<id>urn:sha1:47ce20aef1e636e601ef26a4bc7e05c64a000640</id>
<content type='text'>
g++9 now warns about having defined an assignment operator but using the
default copy constructor, or vice versa.  Avoid the issue in libdevdctl
by just using the default assignment operator too.

Reviewed by:	asomers, dim
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D22887
</content>
</entry>
<entry>
<title>Update Makefile.depend files</title>
<updated>2019-12-11T17:37:53Z</updated>
<author>
<name>Simon J. Gerraty</name>
<email>sjg@FreeBSD.org</email>
</author>
<published>2019-12-11T17:37:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=2c9a9dfc187d171de6b92654d71b977f067ed641'/>
<id>urn:sha1:2c9a9dfc187d171de6b92654d71b977f067ed641</id>
<content type='text'>
Update a bunch of Makefile.depend files as
a result of adding Makefile.depend.options files

Reviewed by:	 bdrewery
MFC after:	1 week
Sponsored by:   Juniper Networks
Differential Revision:  https://reviews.freebsd.org/D22494
</content>
</entry>
<entry>
<title>Another round of attempting to squelch -Wdeprecated-declarations, which</title>
<updated>2019-09-17T06:07:08Z</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2019-09-17T06:07:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=2c3f47a727372086b41ef9ce06eb1f1eb83a67d3'/>
<id>urn:sha1:2c3f47a727372086b41ef9ce06eb1f1eb83a67d3</id>
<content type='text'>
has become very trigger-happy with libc++ 9.0.0.

It does not help that gcc's implementation of this warning is even more
trigger-happy, in the sense that it already warns on the declaration
itself, not when you are using it.  This is very annoying with our use
of -Wsystem-headers.  That should really be disabled for gcc.
</content>
</entry>
<entry>
<title>Instead of disabling gcc's deprecated declaration warnings about e.g.</title>
<updated>2019-09-14T19:16:28Z</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2019-09-14T19:16:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=23e2b4d9b18cfe9aa9c50c5a63e922b592f23c4e'/>
<id>urn:sha1:23e2b4d9b18cfe9aa9c50c5a63e922b592f23c4e</id>
<content type='text'>
std::auto_ptr in a whole bunch of individual Makefiles, make the warning
globally non-fatal instead.  This is similar to what was done to many
more non-fatal warnings from newer gcc versions.
</content>
</entry>
<entry>
<title>Silence gcc warnings in libdevdctl about deprecated std::auto_ptr, and</title>
<updated>2019-09-09T19:56:20Z</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2019-09-09T19:56:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e008cf3eb58f57efc484c8aaef1fbc9f8f146036'/>
<id>urn:sha1:e008cf3eb58f57efc484c8aaef1fbc9f8f146036</id>
<content type='text'>
various function objects from &lt;functional&gt;.
</content>
</entry>
<entry>
<title>zfsd: Allow zfsd to work on any type of GEOM provider</title>
<updated>2018-02-14T23:52:39Z</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2018-02-14T23:52:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a07d59d1daafdaae0d1b1ad1f977f9eda92dc83b'/>
<id>urn:sha1:a07d59d1daafdaae0d1b1ad1f977f9eda92dc83b</id>
<content type='text'>
cddl/usr.sbin/zfsd/zfsd_event.cc
	Remove the check for da and ada devices.  This way zfsd can work on md,
	geli, glabel, gstripe, etc devices.  geli in particular is useful
	combined with ZFS.  gnop is also useful for simulating drive pulls in
	the ZFSD test suite.

	Also, eliminate the DevfsEvent class entirely.  Move its
	responsibilities into GeomEvent.  We can get everything we need to know
	just from listening to GEOM events.

lib/libdevdctl/event.cc
	Fix GeomEvent::DevName for CREATE events.  Oddly, the relevant field is
	named "cdev" for CREATE events but "devname" for disk events.

MFC after:	3 weeks
Relnotes:	Yes (probably worth mentioning the geli part)
Sponsored by:	Spectra Logic Corp
</content>
</entry>
<entry>
<title>DIRDEPS_BUILD: Update dependencies.</title>
<updated>2017-10-31T00:07:04Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2017-10-31T00:07:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=ea825d02749f382c3f7e17f28247f20a48733eab'/>
<id>urn:sha1:ea825d02749f382c3f7e17f28247f20a48733eab</id>
<content type='text'>
Sponsored by:	Dell EMC Isilon
</content>
</entry>
<entry>
<title>Partially revert r325011: restore Guid's default constructor</title>
<updated>2017-10-26T17:56:34Z</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2017-10-26T17:56:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=33d9904abc19905861ec8a0ccf9b435eb955faed'/>
<id>urn:sha1:33d9904abc19905861ec8a0ccf9b435eb955faed</id>
<content type='text'>
Reported by:	ohartmann
MFC after:	3 weeks
X-MFC-With:	325011
Sponsored by:	Spectra Logic Corp
</content>
</entry>
<entry>
<title>zfsd should be able to online an L2ARC that disappears and returns</title>
<updated>2017-10-26T15:28:18Z</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2017-10-26T15:28:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=12a88a3d637e7e7a3726e8dedbcf82cb96cea529'/>
<id>urn:sha1:12a88a3d637e7e7a3726e8dedbcf82cb96cea529</id>
<content type='text'>
Previously, this didn't work because L2ARC devices' labels don't contain
pool GUIDs.  Modify zfsd so that the pool GUID won't be required:

lib/libdevdctl/guid.h
	Change INVALID_GUID from a uint64_t constant to a function that
	returns an invalid Guid object.  Remove the void constructor.
	Nothing uses it, and it violates RAII.

cddl/usr.sbin/zfsd/case_file.h
cddl/usr.sbin/zfsd/case_file.cc
	Allow CaseFile::Find to match a CaseFile based on Vdev GUID alone.
	In CaseFile::ReEvaluate, attempt to online devices even if the newly
	arrived device has no pool GUID.

cddl/usr.sbin/zfsd/vdev_iterator.cc
	Iterate through a pool's cache devices as well as its regular
	devices.

Reported by:	avg
Reviewed by:	avg
MFC after:	3 weeks
Sponsored by:	Spectra Logic Corp
Differential Revision:	https://reviews.freebsd.org/D12791
</content>
</entry>
</feed>
