<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/gnu/ext2fs/ext2_bmap.c, branch stable/4</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=stable%2F4</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=stable%2F4'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2000-03-13T04:59:44Z</updated>
<entry>
<title>This commit was manufactured by cvs2svn to create branch 'RELENG_4'.</title>
<updated>2000-03-13T04:59:44Z</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2000-03-13T04:59:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=842f30848780866cb822fe01c4d3d4576718ddb3'/>
<id>urn:sha1:842f30848780866cb822fe01c4d3d4576718ddb3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove v_maxio from struct vnode.</title>
<updated>1999-09-29T20:05:33Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>1999-09-29T20:05:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=1b5464ef9dcb03d6bccbdc5acd734801ea1679af'/>
<id>urn:sha1:1b5464ef9dcb03d6bccbdc5acd734801ea1679af</id>
<content type='text'>
Replace it with mnt_iosize_max in struct mount.

Nits from:	bde
</content>
</entry>
<entry>
<title>Fix a harmless bug I introduced, simplify a bit more while here.</title>
<updated>1999-09-20T21:14:43Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>1999-09-20T21:14:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=faad30291368656660218cbdd2109cec0552a5e0'/>
<id>urn:sha1:faad30291368656660218cbdd2109cec0552a5e0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Step one of replacing devsw-&gt;d_maxio with si_bsize_max.</title>
<updated>1999-09-20T19:57:28Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>1999-09-20T19:57:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=fae03f66d14484a1e2a667c7e882a029eb73c9a2'/>
<id>urn:sha1:fae03f66d14484a1e2a667c7e882a029eb73c9a2</id>
<content type='text'>
Rename dev-&gt;si_bsize_max to si_iosize_max and set it in spec_open
if the device didn't.

Set vp-&gt;v_maxio from dev-&gt;si_bsize_max in spec_open rather than
in ufs_bmap.c
</content>
</entry>
<entry>
<title>$Id$ -&gt; $FreeBSD$</title>
<updated>1999-08-28T01:08:13Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1999-08-28T01:08:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=c3aac50f284c6cca5b4f2eb46aaa13812cb8b630'/>
<id>urn:sha1:c3aac50f284c6cca5b4f2eb46aaa13812cb8b630</id>
<content type='text'>
</content>
</entry>
<entry>
<title>The bdevsw() and cdevsw() are now identical, so kill the former.</title>
<updated>1999-08-13T10:29:38Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>1999-08-13T10:29:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7dc5cd047f1cff8be2fb1b89a56d1999b74a0628'/>
<id>urn:sha1:7dc5cd047f1cff8be2fb1b89a56d1999b74a0628</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Decommision miscfs/specfs/specdev.h.  Most of it goes into &lt;sys/conf.h&gt;,</title>
<updated>1999-08-08T18:43:05Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>1999-08-08T18:43:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0ef1c82630b9fa5b376abcaf8721a561ae5f7c24'/>
<id>urn:sha1:0ef1c82630b9fa5b376abcaf8721a561ae5f7c24</id>
<content type='text'>
a few lines into &lt;sys/vnode.h&gt;.

Add a few fields to struct specinfo, paving the way for the fun part.
</content>
</entry>
<entry>
<title>I got tired of seeing all the cdevsw[major(foo)] all over the place.</title>
<updated>1999-05-08T06:40:31Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>1999-05-08T06:40:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=4be2eb8c49a786d78796ed36e7ceaa8fdb198b27'/>
<id>urn:sha1:4be2eb8c49a786d78796ed36e7ceaa8fdb198b27</id>
<content type='text'>
Made a new (inline) function devsw(dev_t dev) and substituted it.

Changed to the BDEV variant to this format as well: bdevsw(dev_t dev)

DEVFS will eventually benefit from this change too.
</content>
</entry>
<entry>
<title>Continue where Julian left off in July 1998:</title>
<updated>1999-05-07T10:11:40Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>1999-05-07T10:11:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=46eede00587b759c95f9f84ed03c13397ff7a786'/>
<id>urn:sha1:46eede00587b759c95f9f84ed03c13397ff7a786</id>
<content type='text'>
        Virtualize bdevsw[] from cdevsw.  bdevsw() is now an (inline)
        function.

        Join CDEV_MODULE and BDEV_MODULE to DEV_MODULE (please pay attention
        to the order of the cmaj/bmaj arguments!)

        Join CDEV_DRIVER_MODULE and BDEV_DRIVER_MODULE to DEV_DRIVER_MODULE
        (ditto!)

(Next step will be to convert all bdev dev_t's to cdev dev_t's
before they get to do any damage^H^H^H^H^H^Hwork in the kernel.)
</content>
</entry>
<entry>
<title>The VFS/BIO subsystem contained a number of hacks in order to optimize</title>
<updated>1999-05-02T23:57:16Z</updated>
<author>
<name>Alan Cox</name>
<email>alc@FreeBSD.org</email>
</author>
<published>1999-05-02T23:57:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=4221e284a34553fa3bbebd4d618f9747fa962d53'/>
<id>urn:sha1:4221e284a34553fa3bbebd4d618f9747fa962d53</id>
<content type='text'>
piecemeal, middle-of-file writes for NFS.  These hacks have caused no
end of trouble, especially when combined with mmap().  I've removed
them.  Instead, NFS will issue a read-before-write to fully
instantiate the struct buf containing the write.  NFS does, however,
optimize piecemeal appends to files.  For most common file operations,
you will not notice the difference.  The sole remaining fragment in
the VFS/BIO system is b_dirtyoff/end, which NFS uses to avoid cache
coherency issues with read-merge-write style operations.  NFS also
optimizes the write-covers-entire-buffer case by avoiding the
read-before-write.  There is quite a bit of room for further
optimization in these areas.

The VM system marks pages fully-valid (AKA vm_page_t-&gt;valid =
VM_PAGE_BITS_ALL) in several places, most noteably in vm_fault.  This
is not correct operation.  The vm_pager_get_pages() code is now
responsible for marking VM pages all-valid.  A number of VM helper
routines have been added to aid in zeroing-out the invalid portions of
a VM page prior to the page being marked all-valid.  This operation is
necessary to properly support mmap().  The zeroing occurs most often
when dealing with file-EOF situations.  Several bugs have been fixed
in the NFS subsystem, including bits handling file and directory EOF
situations and buf-&gt;b_flags consistancy issues relating to clearing
B_ERROR &amp; B_INVAL, and handling B_DONE.

getblk() and allocbuf() have been rewritten.  B_CACHE operation is now
formally defined in comments and more straightforward in
implementation.  B_CACHE for VMIO buffers is based on the validity of
the backing store.  B_CACHE for non-VMIO buffers is based simply on
whether the buffer is B_INVAL or not (B_CACHE set if B_INVAL clear,
and vise-versa).  biodone() is now responsible for setting B_CACHE
when a successful read completes.  B_CACHE is also set when a bdwrite()
is initiated and when a bwrite() is initiated.  VFS VOP_BWRITE
routines (there are only two - nfs_bwrite() and bwrite()) are now
expected to set B_CACHE.  This means that bowrite() and bawrite() also
set B_CACHE indirectly.

There are a number of places in the code which were previously using
buf-&gt;b_bufsize (which is DEV_BSIZE aligned) when they should have
been using buf-&gt;b_bcount.  These have been fixed.  getblk() now clears
B_DONE on return because the rest of the system is so bad about
dealing with B_DONE.

Major fixes to NFS/TCP have been made.  A server-side bug could cause
requests to be lost by the server due to nfs_realign() overwriting
other rpc's in the same TCP mbuf chain.  The server's kernel must be
recompiled to get the benefit of the fixes.

Submitted by:	Matthew Dillon &lt;dillon@apollo.backplane.com&gt;
</content>
</entry>
</feed>
