<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/bio.c, branch linux-2.6.25.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.25.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.25.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2008-03-17T20:14:40Z</updated>
<entry>
<title>Revert "unexport bio_{,un}map_user"</title>
<updated>2008-03-17T20:14:40Z</updated>
<author>
<name>Jens Axboe</name>
</author>
<published>2008-03-17T20:14:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=40044ce0bf2b7e548584d91f108444e83ed5eab3'/>
<id>urn:sha1:40044ce0bf2b7e548584d91f108444e83ed5eab3</id>
<content type='text'>
Outside users like asmlib uses the mapping functions. API wise, the
export is definitely sane. It's a better idea to keep this export
than to require external users to open-code this piece of code instead.

Signed-off-by: Jens Axboe &lt;jens.axboe@oracle.com&gt;
</content>
</entry>
<entry>
<title>fs/block_dev.c: remove #if 0'ed code</title>
<updated>2008-02-19T09:04:00Z</updated>
<author>
<name>Adrian Bunk</name>
</author>
<published>2008-02-18T12:48:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=86b6c7a7f78feca58d2d8615e53aee4d59ab9dc6'/>
<id>urn:sha1:86b6c7a7f78feca58d2d8615e53aee4d59ab9dc6</id>
<content type='text'>
Commit b2e895dbd80c420bfc0937c3729b4afe073b3848 #if 0'ed this code stating:

&lt;--  snip  --&gt;

    [PATCH] revert blockdev direct io back to 2.6.19 version

    Andrew Vasquez is reporting as-iosched oopses and a 65% throughput
    slowdown due to the recent special-casing of direct-io against
    blockdevs.  We don't know why either of these things are occurring.

    The patch minimally reverts us back to the 2.6.19 code for a 2.6.20
    release.

&lt;--  snip  --&gt;

It has since been dead code, and unless someone wants to revive it now
it's time to remove it.

This patch also makes bio_release_pages() static again and removes the
ki_bio_count member from struct kiocb, reverting changes that had been
done for this dead code.

Signed-off-by: Adrian Bunk &lt;bunk@kernel.org&gt;
Signed-off-by: Jens Axboe &lt;axboe@carl.home.kernel.dk&gt;
</content>
</entry>
<entry>
<title>__bio_clone: don't calculate hw/phys segment counts</title>
<updated>2008-01-28T09:04:46Z</updated>
<author>
<name>Jens Axboe</name>
</author>
<published>2008-01-25T11:44:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5d84070ee0a433620c57e85dac7f82faaec5fbb3'/>
<id>urn:sha1:5d84070ee0a433620c57e85dac7f82faaec5fbb3</id>
<content type='text'>
If the users sets a new -&gt;bi_bdev on the bio after __bio_clone() has
returned it, the "segment counts valid" flag still remains even though
it may be different with the new target. So don't calculate segment
counts in __bio_clone().

Signed-off-by: Jens Axboe &lt;jens.axboe@oracle.com&gt;
</content>
</entry>
<entry>
<title>bio: make freeing of -&gt;bi_io_vec conditional in bio_free()</title>
<updated>2007-10-16T09:03:52Z</updated>
<author>
<name>Jens Axboe</name>
</author>
<published>2007-07-18T11:18:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=992c5ddaf1b8b85d2252339c4c89adf7469c09ca'/>
<id>urn:sha1:992c5ddaf1b8b85d2252339c4c89adf7469c09ca</id>
<content type='text'>
The empty barrier patches do not carry data, so they have no
iovec attached.

Signed-off-by: Jens Axboe &lt;jens.axboe@oracle.com&gt;
</content>
</entry>
<entry>
<title>bio: use memset() in bio_init()</title>
<updated>2007-10-16T09:03:51Z</updated>
<author>
<name>Jens Axboe</name>
</author>
<published>2007-07-18T11:14:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2b94de552e07610dfa79fc49ea49d1cfa5cd9ce8'/>
<id>urn:sha1:2b94de552e07610dfa79fc49ea49d1cfa5cd9ce8</id>
<content type='text'>
Use memset() to clear the bio, instead of doing each field manually.

Signed-off-by: Jens Axboe &lt;jens.axboe@oracle.com&gt;
</content>
</entry>
<entry>
<title>Drop 'size' argument from bio_endio and bi_end_io</title>
<updated>2007-10-10T07:25:57Z</updated>
<author>
<name>NeilBrown</name>
</author>
<published>2007-09-27T10:47:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6712ecf8f648118c3363c142196418f89a510b90'/>
<id>urn:sha1:6712ecf8f648118c3363c142196418f89a510b90</id>
<content type='text'>
As bi_end_io is only called once when the reqeust is complete,
the 'size' argument is now redundant.  Remove it.

Now there is no need for bio_endio to subtract the size completed
from bi_size.  So don't do that either.

While we are at it, change bi_end_io to return void.

Signed-off-by: Neil Brown &lt;neilb@suse.de&gt;
Signed-off-by: Jens Axboe &lt;jens.axboe@oracle.com&gt;
</content>
</entry>
<entry>
<title>Don't decrement bi_size in bio_endio</title>
<updated>2007-10-10T07:25:57Z</updated>
<author>
<name>NeilBrown</name>
</author>
<published>2007-09-27T10:46:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5bb23a688b2de23d7765a1dd439d89c038378978'/>
<id>urn:sha1:5bb23a688b2de23d7765a1dd439d89c038378978</id>
<content type='text'>
The only caller of bio_endio that does not pass the full bi_size
is end_that_request_first.  Also, no -&gt;bi_end_io method is really
interested in bi_size being decremented.

So move the decrement and related code into ll_rw_blk and merge it
with order_bio_endio to form req_bio_endio which does endio functionality
specific to request completion.

As some -&gt;bi_end_io methods do check bi_size of 0, we set it thus for
now, but that will go in the next patch.

Signed-off-by: Neil Brown &lt;neilb@suse.de&gt;

### Diffstat output
 ./block/ll_rw_blk.c |   42 +++++++++++++++++++++++++++---------------
 ./fs/bio.c          |   23 +++++++++++------------
 2 files changed, 38 insertions(+), 27 deletions(-)

diff .prev/block/ll_rw_blk.c ./block/ll_rw_blk.c
Signed-off-by: Jens Axboe &lt;jens.axboe@oracle.com&gt;
</content>
</entry>
<entry>
<title>Only call bi_end_io once for any bio</title>
<updated>2007-10-10T07:25:57Z</updated>
<author>
<name>NeilBrown</name>
</author>
<published>2007-09-27T10:46:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9cc54d40b8ca01fcefc9151044b6996565061d90'/>
<id>urn:sha1:9cc54d40b8ca01fcefc9151044b6996565061d90</id>
<content type='text'>
Currently bi_end_io can be called multiple times as sub-requests
complete.  However no -&gt;bi_end_io function wants to know about that.
So only call when the bio is complete.

Signed-off-by: Neil Brown &lt;neilb@suse.de&gt;

### Diffstat output
 ./fs/bio.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff .prev/fs/bio.c ./fs/bio.c
Signed-off-by: Jens Axboe &lt;jens.axboe@oracle.com&gt;
</content>
</entry>
<entry>
<title>[BLOCK] Get rid of request_queue_t typedef</title>
<updated>2007-07-24T07:28:11Z</updated>
<author>
<name>Jens Axboe</name>
</author>
<published>2007-07-24T07:28:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=165125e1e480f9510a5ffcfbfee4e3ee38c05f23'/>
<id>urn:sha1:165125e1e480f9510a5ffcfbfee4e3ee38c05f23</id>
<content type='text'>
Some of the code has been gradually transitioned to using the proper
struct request_queue, but there's lots left. So do a full sweet of
the kernel and get rid of this typedef and replace its uses with
the proper type.

Signed-off-by: Jens Axboe &lt;jens.axboe@oracle.com&gt;
</content>
</entry>
<entry>
<title>mm: Remove slab destructors from kmem_cache_create().</title>
<updated>2007-07-20T01:11:58Z</updated>
<author>
<name>Paul Mundt</name>
</author>
<published>2007-07-20T01:11:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=20c2df83d25c6a95affe6157a4c9cac4cf5ffaac'/>
<id>urn:sha1:20c2df83d25c6a95affe6157a4c9cac4cf5ffaac</id>
<content type='text'>
Slab destructors were no longer supported after Christoph's
c59def9f222d44bb7e2f0a559f2906191a0862d7 change. They've been
BUGs for both slab and slub, and slob never supported them
either.

This rips out support for the dtor pointer from kmem_cache_create()
completely and fixes up every single callsite in the kernel (there were
about 224, not including the slab allocator definitions themselves,
or the documentation references).

Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
</feed>
