<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sbin/devd/devd.8, branch releng/11.4</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>MFC r306727:</title>
<updated>2016-10-16T23:35:04+00:00</updated>
<author>
<name>Sevan Janiyan</name>
<email>sevan@FreeBSD.org</email>
</author>
<published>2016-10-16T23:35:04+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f0be50990ec74465fbb7342b7f6efed9776ed648'/>
<id>f0be50990ec74465fbb7342b7f6efed9776ed648</id>
<content type='text'>
Add history section for devd(8)
Move sentence to a new line as advised by igor

PR:             212439
Approved by:    bcr (mentor)
Differential Revision:  https://reviews.freebsd.org/D8104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add history section for devd(8)
Move sentence to a new line as advised by igor

PR:             212439
Approved by:    bcr (mentor)
Differential Revision:  https://reviews.freebsd.org/D8104
</pre>
</div>
</content>
</entry>
<entry>
<title>Convert devd's client socket to type SOCK_SEQPACKET.</title>
<updated>2014-08-14T22:33:56+00:00</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2014-08-14T22:33:56+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=cdfa64aaeb859ef61a2e4a5cdf7aae7965c14533'/>
<id>cdfa64aaeb859ef61a2e4a5cdf7aae7965c14533</id>
<content type='text'>
This change consists of two merges from projects/zfsd/head along with the
addition of an ATF test case for the new functionality.

sbin/devd/tests/Makefile
sbin/devd/tests/client_test.c
	Add ATF test cases for reading events from both devd socket types.

r266519:
sbin/devd/devd.8
sbin/devd/devd.cc
	Create a new socket, of type SOCK_SEQPACKET, for communicating with
	clients. SOCK_SEQPACKET sockets preserve record boundaries,
	simplying code in the client. The old SOCK_STREAM socket is retained
	for backwards-compatibility with existing clients.

r269993:
sbin/devd/devd.8
	Fix grammar bug.

CR:		https://reviews.freebsd.org/rS266519
MFC after:	5 days
Sponsored by:	Spectra Logic
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change consists of two merges from projects/zfsd/head along with the
addition of an ATF test case for the new functionality.

sbin/devd/tests/Makefile
sbin/devd/tests/client_test.c
	Add ATF test cases for reading events from both devd socket types.

r266519:
sbin/devd/devd.8
sbin/devd/devd.cc
	Create a new socket, of type SOCK_SEQPACKET, for communicating with
	clients. SOCK_SEQPACKET sockets preserve record boundaries,
	simplying code in the client. The old SOCK_STREAM socket is retained
	for backwards-compatibility with existing clients.

r269993:
sbin/devd/devd.8
	Fix grammar bug.

CR:		https://reviews.freebsd.org/rS266519
MFC after:	5 days
Sponsored by:	Spectra Logic
</pre>
</div>
</content>
</entry>
<entry>
<title>sbin/devd/devd.8</title>
<updated>2014-08-14T18:39:13+00:00</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2014-08-14T18:39:13+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d931b81aeb0657b9739c3a80e9a83dba9118b30d'/>
<id>d931b81aeb0657b9739c3a80e9a83dba9118b30d</id>
<content type='text'>
	Fix grammar bug.

Reported by:	ian
Sponsored by:	Spectra Logic Corporation
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	Fix grammar bug.

Reported by:	ian
Sponsored by:	Spectra Logic Corporation
</pre>
</div>
</content>
</entry>
<entry>
<title>sbin/devd/devd.8</title>
<updated>2014-05-21T23:04:47+00:00</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2014-05-21T23:04:47+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9102691e9cde7b12ddd929d376e94051acdf5c8b'/>
<id>9102691e9cde7b12ddd929d376e94051acdf5c8b</id>
<content type='text'>
sbin/devd/devd.cc
	Create a new socket, of type SOCK_SEQPACKET, for communicating with
	clients.  SOCK_SEQPACKET sockets preserve record boundaries,
	simplying code in the client.  The old SOCK_STREAM socket is
	retained for backwards-compatibility with existing clients.

Sponsored by:	Spectra Logic
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
sbin/devd/devd.cc
	Create a new socket, of type SOCK_SEQPACKET, for communicating with
	clients.  SOCK_SEQPACKET sockets preserve record boundaries,
	simplying code in the client.  The old SOCK_STREAM socket is
	retained for backwards-compatibility with existing clients.

Sponsored by:	Spectra Logic
</pre>
</div>
</content>
</entry>
<entry>
<title>sbin/devd/devd.8</title>
<updated>2014-03-07T23:30:48+00:00</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2014-03-07T23:30:48+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6a2ae0eb1662c056052c7ce92c2fcb3a5395d0f9'/>
<id>6a2ae0eb1662c056052c7ce92c2fcb3a5395d0f9</id>
<content type='text'>
sbin/devd/devd.cc
	Add a -q flag to devd that will suppress syslog logging at
	LOG_NOTICE or below.

Requested by:	ian@ and imp@
MFC after:	3 weeks
Sponsored by:	Spectra Logic Corporation
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
sbin/devd/devd.cc
	Add a -q flag to devd that will suppress syslog logging at
	LOG_NOTICE or below.

Requested by:	ian@ and imp@
MFC after:	3 weeks
Sponsored by:	Spectra Logic Corporation
</pre>
</div>
</content>
</entry>
<entry>
<title>Add syslog(3) support to devd(8).</title>
<updated>2013-07-01T21:20:17+00:00</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2013-07-01T21:20:17+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6d1014a32b4a435031c08921fb6ac5435229f88a'/>
<id>6d1014a32b4a435031c08921fb6ac5435229f88a</id>
<content type='text'>
sbin/devd/devd.cc
        All output will now go to syslog(3) if devd is daemonized, or stderr
        if it's running in the foreground.

sbin/devd/devd.8
        Remove the "-D" flag.  Filtering messages by priority now
	happens in the usual syslog way.  For performance reasons, a few
	extra-verbose debugging statements are now conditional on the "-d" (do
	not daemonize) flag.

etc/syslog.conf
etc/newsyslog.conf
        Direct messages from devd(8) to /var/log/devd.log, but leave it
        disabled by default

Reviewed by:	eadler
Approved by:	gibbs (co-mentor)
MFC after:	never (removed a command-line option from devd)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
sbin/devd/devd.cc
        All output will now go to syslog(3) if devd is daemonized, or stderr
        if it's running in the foreground.

sbin/devd/devd.8
        Remove the "-D" flag.  Filtering messages by priority now
	happens in the usual syslog way.  For performance reasons, a few
	extra-verbose debugging statements are now conditional on the "-d" (do
	not daemonize) flag.

etc/syslog.conf
etc/newsyslog.conf
        Direct messages from devd(8) to /var/log/devd.log, but leave it
        disabled by default

Reviewed by:	eadler
Approved by:	gibbs (co-mentor)
MFC after:	never (removed a command-line option from devd)
</pre>
</div>
</content>
</entry>
<entry>
<title>Bump .Dd for the change in r246121.</title>
<updated>2013-02-05T14:29:37+00:00</updated>
<author>
<name>Niclas Zeising</name>
<email>zeising@FreeBSD.org</email>
</author>
<published>2013-02-05T14:29:37+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=71c2381938a195118466396d02b811845f9117d9'/>
<id>71c2381938a195118466396d02b811845f9117d9</id>
<content type='text'>
Approved by:	joel (mentor)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Approved by:	joel (mentor)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a descriptor leak in devd.  Clients reading /var/run/devd.pipe can close</title>
<updated>2013-01-30T15:21:18+00:00</updated>
<author>
<name>Ian Lepore</name>
<email>ian@FreeBSD.org</email>
</author>
<published>2013-01-30T15:21:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e1334f935fbf45bf31da6c900569ecea668206c9'/>
<id>e1334f935fbf45bf31da6c900569ecea668206c9</id>
<content type='text'>
their socket connection any time, and devd only notices that when it gets an
error trying to write an event to the client.  On a system with no device
change activity, clients could connect and disappear repeatedly without devd
noticing, leading to an ever-growing list of open socket descriptors in devd.

Now devd uses poll(2) looking for POLLHUP on all existing clients every time
a new client connection is established, and also periodically (once a minute)
to proactively find zombie clients and reap the socket descriptors.  It also
now has a connection limit, configurable with a new -l &lt;num&gt; command line arg.
When the maximum number of connections is reached it stops accepting new
connections until some current clients drop off.

Reviewed by:	imp
Approved by:	cognet (mentor)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
their socket connection any time, and devd only notices that when it gets an
error trying to write an event to the client.  On a system with no device
change activity, clients could connect and disappear repeatedly without devd
noticing, leading to an ever-growing list of open socket descriptors in devd.

Now devd uses poll(2) looking for POLLHUP on all existing clients every time
a new client connection is established, and also periodically (once a minute)
to proactively find zombie clients and reap the socket descriptors.  It also
now has a connection limit, configurable with a new -l &lt;num&gt; command line arg.
When the maximum number of connections is reached it stops accepting new
connections until some current clients drop off.

Reviewed by:	imp
Approved by:	cognet (mentor)
</pre>
</div>
</content>
</entry>
<entry>
<title>Xref re_format(7) in devd.conf(5), not in devd(8).</title>
<updated>2011-12-16T10:21:01+00:00</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2011-12-16T10:21:01+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d50b2720a9828383fff568971f2b0fa7294379e3'/>
<id>d50b2720a9828383fff568971f2b0fa7294379e3</id>
<content type='text'>
Pointy hat to:	glebius
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pointy hat to:	glebius
</pre>
</div>
</content>
</entry>
<entry>
<title>Xref re_format(7).</title>
<updated>2011-12-16T10:14:41+00:00</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2011-12-16T10:14:41+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=eecc3092a18d1cb97435602ef38207e5b9d03670'/>
<id>eecc3092a18d1cb97435602ef38207e5b9d03670</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
