<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/dev/streams, branch release/10.0.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F10.0.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F10.0.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2013-08-16T14:22:20Z</updated>
<entry>
<title>Restore the previous sendfile(2) behaviour on the block devices.</title>
<updated>2013-08-16T14:22:20Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2013-08-16T14:22:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=b1dd38f4083352b6c8dc4a2945470f1e72abaeca'/>
<id>urn:sha1:b1dd38f4083352b6c8dc4a2945470f1e72abaeca</id>
<content type='text'>
Provide valid .fo_sendfile method for several missed struct fileops.

Reviewed by:	glebius
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>Revert previous commit...</title>
<updated>2012-10-10T08:36:38Z</updated>
<author>
<name>Kevin Lo</name>
<email>kevlo@FreeBSD.org</email>
</author>
<published>2012-10-10T08:36:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9823d52705ad71f19ef2205aa729547ac396e3eb'/>
<id>urn:sha1:9823d52705ad71f19ef2205aa729547ac396e3eb</id>
<content type='text'>
Pointyhat to:	kevlo (myself)
</content>
</entry>
<entry>
<title>Prefer NULL over 0 for pointers</title>
<updated>2012-10-09T08:27:40Z</updated>
<author>
<name>Kevin Lo</name>
<email>kevlo@FreeBSD.org</email>
</author>
<published>2012-10-09T08:27:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a10cee30c94cf5944826d2a495e9cdf339dfbcc8'/>
<id>urn:sha1:a10cee30c94cf5944826d2a495e9cdf339dfbcc8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add the fo_chown and fo_chmod methods to struct fileops and use them</title>
<updated>2011-08-16T20:07:47Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2011-08-16T20:07:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=9c00bb9190391479885cfb14ed23fb7003d10109'/>
<id>urn:sha1:9c00bb9190391479885cfb14ed23fb7003d10109</id>
<content type='text'>
to implement fchown(2) and fchmod(2) support for several file types
that previously lacked it. Add MAC entries for chown/chmod done on
posix shared memory and (old) in-kernel posix semaphores.

Based on the submission by:	glebius
Reviewed by:	rwatson
Approved by:	re (bz)
</content>
</entry>
<entry>
<title>After the r219999 is merged to stable/8, rename fallocf(9) to falloc(9)</title>
<updated>2011-04-01T13:28:34Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2011-04-01T13:28:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=1fe80828e72af1c4f17f946eb8fe0d4070ae22c7'/>
<id>urn:sha1:1fe80828e72af1c4f17f946eb8fe0d4070ae22c7</id>
<content type='text'>
and remove the falloc() version that lacks flag argument. This is done
to reduce the KPI bloat.

Requested by:	jhb
X-MFC-note:	do not
</content>
</entry>
<entry>
<title>The streams ptm code is pretty awful and likely incorrect. I don't know</title>
<updated>2009-02-16T20:12:28Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2009-02-16T20:12:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=55272bd6b4c51c0df32593f43cef85d475ebe47a'/>
<id>urn:sha1:55272bd6b4c51c0df32593f43cef85d475ebe47a</id>
<content type='text'>
anything about streams, so I'm not going to fix it. Just a small comment
to redirect folks to posix_openpt().
</content>
</entry>
<entry>
<title>Replace all calls to minor() with dev2unit().</title>
<updated>2008-09-27T08:51:18Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2008-09-27T08:51:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=6bfa9a2d66dd0e00182017d6741d44e54d0b2cca'/>
<id>urn:sha1:6bfa9a2d66dd0e00182017d6741d44e54d0b2cca</id>
<content type='text'>
After I removed all the unit2minor()/minor2unit() calls from the kernel
yesterday, I realised calling minor() everywhere is quite confusing.
Character devices now only have the ability to store a unit number, not
a minor number. Remove the confusion by using dev2unit() everywhere.

This commit could also be considered as a bug fix. A lot of drivers call
minor(), while they should actually be calling dev2unit(). In -CURRENT
this isn't a problem, but it turns out we never had any problem reports
related to that issue in the past. I suspect not many people connect
more than 256 pieces of the same hardware.

Reviewed by:	kib
</content>
</entry>
<entry>
<title>Make ftruncate a 'struct file' operation rather than a vnode operation.</title>
<updated>2008-01-07T20:05:19Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2008-01-07T20:05:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e46502943ac1471d7e3718557de87b17265985fe'/>
<id>urn:sha1:e46502943ac1471d7e3718557de87b17265985fe</id>
<content type='text'>
This makes it possible to support ftruncate() on non-vnode file types in
the future.
- 'struct fileops' grows a 'fo_truncate' method to handle an ftruncate() on
  a given file descriptor.
- ftruncate() moves to kern/sys_generic.c and now just fetches a file
  object and invokes fo_truncate().
- The vnode-specific portions of ftruncate() move to vn_truncate() in
  vfs_vnops.c which implements fo_truncate() for vnode file types.
- Non-vnode file types return EINVAL in their fo_truncate() method.

Submitted by:	rwatson
</content>
</entry>
<entry>
<title>Remove explicit locking of struct file.</title>
<updated>2007-12-30T01:42:15Z</updated>
<author>
<name>Jeff Roberson</name>
<email>jeff@FreeBSD.org</email>
</author>
<published>2007-12-30T01:42:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=397c19d1753d210247d77eb3ca33d1c7c1eb2fa9'/>
<id>urn:sha1:397c19d1753d210247d77eb3ca33d1c7c1eb2fa9</id>
<content type='text'>
 - Introduce a finit() which is used to initailize the fields of struct file
   in such a way that the ops vector is only valid after the data, type,
   and flags are valid.
 - Protect f_flag and f_count with atomic operations.
 - Remove the global list of all files and associated accounting.
 - Rewrite the unp garbage collection such that it no longer requires
   the global list of all files and instead uses a list of all unp sockets.
 - Mark sockets in the accept queue so we don't incorrectly gc them.

Tested by:	kris, pho
</content>
</entry>
<entry>
<title>Remove the now-unused NET_{LOCK,UNLOCK,ASSERT}_GIANT() macros, which</title>
<updated>2007-08-06T14:26:03Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2007-08-06T14:26:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0bf686c1257e2e7944a4cee9d9d628280facaa3d'/>
<id>urn:sha1:0bf686c1257e2e7944a4cee9d9d628280facaa3d</id>
<content type='text'>
previously conditionally acquired Giant based on debug.mpsafenet.  As that
has now been removed, they are no longer required.  Removing them
significantly simplifies error-handling in the socket layer, eliminated
quite a bit of unwinding of locking in error cases.

While here clean up the now unneeded opt_net.h, which previously was used
for the NET_WITH_GIANT kernel option.  Clean up some related gotos for
consistency.

Reviewed by:	bz, csjp
Tested by:	kris
Approved by:	re (kensmith)
</content>
</entry>
</feed>
