<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/block, branch v2.6.25</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v2.6.25</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.25'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2008-04-15T08:23:35Z</updated>
<entry>
<title>block: update git url for blktrace</title>
<updated>2008-04-15T08:23:35Z</updated>
<author>
<name>Jens Axboe</name>
<email>jens.axboe@oracle.com</email>
</author>
<published>2008-04-15T08:23:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=75ce6faccdbbea4465876a759917d4994660c025'/>
<id>urn:sha1:75ce6faccdbbea4465876a759917d4994660c025</id>
<content type='text'>
Signed-off-by: Jens Axboe &lt;jens.axboe@oracle.com&gt;
</content>
</entry>
<entry>
<title>cfq-iosched: do not leak ioc_data across iosched switches</title>
<updated>2008-04-10T06:28:01Z</updated>
<author>
<name>Fabio Checconi</name>
<email>fabio@gandalf.sssup.i</email>
</author>
<published>2008-04-10T06:28:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4faa3c8150c1d4f7b38d962eda7851083e218e3f'/>
<id>urn:sha1:4faa3c8150c1d4f7b38d962eda7851083e218e3f</id>
<content type='text'>
When switching scheduler from cfq, cfq_exit_queue() does not clear
ioc-&gt;ioc_data, leaving a dangling pointer that can deceive the following
lookups when the iosched is switched back to cfq.  The pattern that can
trigger that is the following:

    - elevator switch from cfq to something else;
    - module unloading, with elv_unregister() that calls cfq_free_io_context()
      on ioc freeing the cic (via the .trim op);
    - module gets reloaded and the elevator switches back to cfq;
    - reallocation of a cic at the same address as before (with a valid key).

To fix it just assign NULL to ioc_data in __cfq_exit_single_io_context(),
that is called from the regular exit path and from the elevator switching
code.  The only path that frees a cic and is not covered is the error handling
one, but cic's freed in this way are never cached in ioc_data.

Signed-off-by: Fabio Checconi &lt;fabio@gandalf.sssup.it&gt;
Signed-off-by: Jens Axboe &lt;jens.axboe@oracle.com&gt;
</content>
</entry>
<entry>
<title>cfq-iosched: fix rcu freeing of cfq io contexts</title>
<updated>2008-04-02T13:42:20Z</updated>
<author>
<name>Fabio Checconi</name>
<email>fabio@gandalf.sssup.i</email>
</author>
<published>2008-04-02T12:31:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=34e6bbf23c8f43e8713d9bd092680f1660494b4a'/>
<id>urn:sha1:34e6bbf23c8f43e8713d9bd092680f1660494b4a</id>
<content type='text'>
SLAB_DESTROY_BY_RCU is not a direct substitute for normal call_rcu()
freeing, since it'll page freeing but NOT object freeing. So change
cfq to do the freeing on its own.

Signed-off-by: Fabio Checconi &lt;fabio@gandalf.sssup.it&gt;
Acked-by: Paul E. McKenney &lt;paulmck@linux.vnet.ibm.com&gt;
Signed-off-by: Jens Axboe &lt;jens.axboe@oracle.com&gt;
</content>
</entry>
<entry>
<title>Fix bounce setting for 64-bit</title>
<updated>2008-04-02T07:06:44Z</updated>
<author>
<name>Andrea Arcangeli</name>
<email>andrea@qumranet.com</email>
</author>
<published>2008-04-02T07:06:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=00d61e3e8c12d5f395b167856d2b3c430816afb0'/>
<id>urn:sha1:00d61e3e8c12d5f395b167856d2b3c430816afb0</id>
<content type='text'>
Looking a bit closer into this regression the reason this can't be
right is that dma_addr common default is BLK_BOUNCE_HIGH and most
machines have less than 4G. So if you do:

    if (b_pfn &lt;= (min_t(u64, 0xffffffff, BLK_BOUNCE_HIGH) &gt;&gt; PAGE_SHIFT))
	dma = 1

that will translate to:

     if (BLK_BOUNCE_HIGH &lt;= BLK_BOUNCE_HIGH)
     	dma = 1

So for 99% of hardware this will trigger unnecessary GFP_DMA
allocations and isa pooling operations.

Also note how the 32bit code still does b_pfn &lt; blk_max_low_pfn.

I guess this is what you were looking after. I didn't verify but as
far as I can tell, this will stop the regression with isa dma
operations at boot for 99% of blkdev/memory combinations out there and
I guess this fixes the setups with &gt;4G of ram and 32bit pci cards as
well (this also retains symmetry with the 32bit code).

Signed-off-by: Andrea Arcangeli &lt;andrea@qumranet.com&gt;
Signed-off-by: Jens Axboe &lt;jens.axboe@oracle.com&gt;
</content>
</entry>
<entry>
<title>genhd must_check warning fix</title>
<updated>2008-03-12T19:34:37Z</updated>
<author>
<name>Roland McGrath</name>
<email>roland@redhat.com</email>
</author>
<published>2008-03-12T00:13:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ee27a558ae0ff5063ccd6c47ca102c0bb0e3ba27'/>
<id>urn:sha1:ee27a558ae0ff5063ccd6c47ca102c0bb0e3ba27</id>
<content type='text'>
Fixes:

	block/genhd.c:361: warning: ignoring return value of ‘class_register’, declared with attribute warn_unused_result

Signed-off-by: Roland McGrath &lt;roland@redhat.com&gt;
Acked-by: Jeff Garzik &lt;jeff@garzik.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>block: fix blkdev_issue_flush() not detecting and passing EOPNOTSUPP back</title>
<updated>2008-03-04T10:47:46Z</updated>
<author>
<name>Jens Axboe</name>
<email>jens.axboe@oracle.com</email>
</author>
<published>2008-03-04T10:47:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=cc66b4512cae8df4ed1635483210aabf7690ec27'/>
<id>urn:sha1:cc66b4512cae8df4ed1635483210aabf7690ec27</id>
<content type='text'>
This is important to eg dm, that tries to decide whether to stop using
barriers or not.

Tested as working by Anders Henke &lt;anders.henke@1und1.de&gt;

Signed-off-by: Jens Axboe &lt;jens.axboe@oracle.com&gt;
</content>
</entry>
<entry>
<title>block: fix shadowed variable warning in blk-map.c</title>
<updated>2008-03-04T10:31:22Z</updated>
<author>
<name>Harvey Harrison</name>
<email>harvey.harrison@gmail.com</email>
</author>
<published>2008-03-04T10:31:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=56d94a37f63ad1c9da3bc8e903f79d0ee1e80170'/>
<id>urn:sha1:56d94a37f63ad1c9da3bc8e903f79d0ee1e80170</id>
<content type='text'>
Introduced between 2.6.25-rc2 and -rc3
block/blk-map.c:154:14: warning: symbol 'bio' shadows an earlier one
block/blk-map.c:110:13: originally declared here

Signed-off-by: Harvey Harrison &lt;harvey.harrison@gmail.com&gt;
Signed-off-by: Jens Axboe &lt;jens.axboe@oracle.com&gt;
</content>
</entry>
<entry>
<title>block: remove extern on function definition</title>
<updated>2008-03-04T10:30:18Z</updated>
<author>
<name>Harvey Harrison</name>
<email>harvey.harrison@gmail.com</email>
</author>
<published>2008-03-04T10:30:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=448da4d262b5db90817ce853726ff4d9b0c2bf48'/>
<id>urn:sha1:448da4d262b5db90817ce853726ff4d9b0c2bf48</id>
<content type='text'>
Intoduced between 2.6.25-rc2 and -rc3
block/blk-settings.c:319:12: warning: function 'blk_queue_dma_drain' with external linkage has definition

Signed-off-by: Harvey Harrison &lt;harvey.harrison@gmail.com&gt;
Signed-off-by: Jens Axboe &lt;jens.axboe@oracle.com&gt;
</content>
</entry>
<entry>
<title>unexport blk_rq_map_user_iov</title>
<updated>2008-03-04T10:28:34Z</updated>
<author>
<name>Adrian Bunk</name>
<email>bunk@kernel.org</email>
</author>
<published>2008-03-04T10:23:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=bec419404afe8b0d60000118ca90ada4c69a3a6d'/>
<id>urn:sha1:bec419404afe8b0d60000118ca90ada4c69a3a6d</id>
<content type='text'>
This patch removes the unused export of blk_rq_map_user_iov.

Signed-off-by: Adrian Bunk &lt;bunk@kernel.org&gt;
Signed-off-by: Jens Axboe &lt;jens.axboe@oracle.com&gt;
</content>
</entry>
<entry>
<title>unexport blk_{get,put}_queue</title>
<updated>2008-03-04T10:28:32Z</updated>
<author>
<name>Adrian Bunk</name>
<email>bunk@kernel.org</email>
</author>
<published>2008-03-04T10:23:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9d7f1e6b9b2c2e4fe029ff35f4ca1e2879864208'/>
<id>urn:sha1:9d7f1e6b9b2c2e4fe029ff35f4ca1e2879864208</id>
<content type='text'>
This patch removes the unused exports of blk_{get,put}_queue.

Signed-off-by: Adrian Bunk &lt;bunk@kernel.org&gt;
Signed-off-by: Jens Axboe &lt;jens.axboe@oracle.com&gt;
</content>
</entry>
</feed>
