<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/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-11T15:06:44Z</updated>
<entry>
<title>cciss: error: implicit declaration of function 'sg_init_table'</title>
<updated>2008-04-11T15:06:44Z</updated>
<author>
<name>Mike Pagano</name>
<email>mpagano@gentoo.org</email>
</author>
<published>2008-04-11T04:29:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=231bc2a222411f43bfb0fbb6d64c0f34c7b1039f'/>
<id>urn:sha1:231bc2a222411f43bfb0fbb6d64c0f34c7b1039f</id>
<content type='text'>
This patch adds the missing include directive &lt;linux/scatterlist.h&gt; to the
cciss.c source file.    This was discovered by our release team when building
the kernel for the Alpha architecture.

Errors were found as references to functions 'sg_init_table' and 'sg_page' do
not exist without the include for Alpha.

Signed-off-by: Mike Pagano &lt;mpagano@gentoo.org&gt;
Cc: Jens Axboe &lt;jens.axboe@oracle.com&gt;
Cc: &lt;mike.miller@hp.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>ub: remove BUG() after __blk_end_request and fix the condition causing it</title>
<updated>2008-04-09T01:25:52Z</updated>
<author>
<name>Pete Zaitcev</name>
<email>zaitcev@redhat.com</email>
</author>
<published>2008-04-09T00:41:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ef45cb624b9517f71ad6c61299478c2cc08e4d98'/>
<id>urn:sha1:ef45cb624b9517f71ad6c61299478c2cc08e4d98</id>
<content type='text'>
When __blk_end_request returns nonzero, it means that the request was
not completely processed and some BIOs are still attached. Since we
have dequeued it by that time, it means leaking requests and hanging
processes, which is why BUG() was in there. In ub this happens if
a packet request ends normally, but with residue (e.g. when scsi_id
issues INQUIRY).

The fix is to make sure that arguments passed to __blk_end_request
are correct: the full request length and not just transferred length.
The transferred length is indicated to applications by adjusting
rq-&gt;data_len with old, unchanged code outside of this patch.

Signed-off-by: Pete Zaitcev &lt;zaitcev@redhat.com&gt;
Cc: Kiyoshi Ueda &lt;k-ueda@ct.jp.nec.com&gt;
Cc: Greg KH &lt;greg@kroah.com&gt;
Cc: Boaz Harrosh &lt;bharrosh@panasas.com&gt;
Cc: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>nbd: prevent sock_xmit from attempting to use a NULL socket</title>
<updated>2008-04-02T22:28:19Z</updated>
<author>
<name>Mike Snitzer</name>
<email>snitzer@gmail.com</email>
</author>
<published>2008-04-02T20:04:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ffc41cf8dbb1b895a87daf47d0e5bf6dfbfcab4c'/>
<id>urn:sha1:ffc41cf8dbb1b895a87daf47d0e5bf6dfbfcab4c</id>
<content type='text'>
NBD does not protect the nbd_device's socket from becoming NULL during
receives.

This closes a race with the NBD_CLEAR_SOCK ioctl (nbd-client -d) setting
the nbd_device's socket to NULL right before NBD calls sock_xmit.

Signed-off-by: Mike Snitzer &lt;snitzer@gmail.com&gt;
Cc: Paul Clements &lt;paul.clements@steeleye.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'for-linus' of git://git.kernel.dk/linux-2.6-block</title>
<updated>2008-03-18T14:43:14Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2008-03-18T14:43:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=92f53c6f1e47d92b40b1e9e1662b0056c783b962'/>
<id>urn:sha1:92f53c6f1e47d92b40b1e9e1662b0056c783b962</id>
<content type='text'>
* 'for-linus' of git://git.kernel.dk/linux-2.6-block:
  Revert "unexport bio_{,un}map_user"
  relay: fix subbuf_splice_actor() adding too many pages
  The ps2esdi driver was marked as BROKEN more than two years ago due to being
</content>
</entry>
<entry>
<title>virtio: Fix sysfs bits to have proper block symlink</title>
<updated>2008-03-17T11:58:15Z</updated>
<author>
<name>Jeremy Katz</name>
<email>katzj@redhat.com</email>
</author>
<published>2008-03-02T22:00:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c483934670d31e064e18967bb679c1079b54ea72'/>
<id>urn:sha1:c483934670d31e064e18967bb679c1079b54ea72</id>
<content type='text'>
Fix up so that the virtio_blk devices in sysfs link correctly to their
block device.  This then allows them to be detected by hal, etc

Signed-off-by: Jeremy Katz &lt;katzj@redhat.com&gt;
Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
</entry>
<entry>
<title>The ps2esdi driver was marked as BROKEN more than two years ago due to being</title>
<updated>2008-03-17T08:03:05Z</updated>
<author>
<name>Adrian Bunk</name>
<email>bunk@kernel.org</email>
</author>
<published>2008-03-06T15:02:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2af3e6017e53065ddf40bb19190a29199b7ffee3'/>
<id>urn:sha1:2af3e6017e53065ddf40bb19190a29199b7ffee3</id>
<content type='text'>
no longer working for some time.

A driver that had been marked as BROKEN for such a long time seems to be
unlikely to be revived in the forseeable future.

But if anyone wants to ever revive this driver, the code is still present in
the older kernel releases.

Signed-off-by: Adrian Bunk &lt;bunk@kernel.org&gt;
Acked-by: Alan Cox &lt;alan@redhat.com&gt;
Cc: Jens Axboe &lt;jens.axboe@oracle.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Jens Axboe &lt;jens.axboe@oracle.com&gt;
</content>
</entry>
<entry>
<title>block: floppy: fix rmmod lockup</title>
<updated>2008-03-13T20:11:43Z</updated>
<author>
<name>Jiri Slaby</name>
<email>jirislaby@gmail.com</email>
</author>
<published>2008-03-13T19:32:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f2005e1777614b65d1970924ca1b61e4caccb0d3'/>
<id>urn:sha1:f2005e1777614b65d1970924ca1b61e4caccb0d3</id>
<content type='text'>
Floppy rmmod locks up when no such hardware was initialized, since there is
nobody to wake the remove code up.  Remove the completion, because release is
called during platform_unregister anyway.

Signed-off-by: Jiri Slaby &lt;jirislaby@gmail.com&gt;
Cc: Jens Axboe &lt;jens.axboe@oracle.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>[POWERPC] Fix viodasd driver with scatterlist debug</title>
<updated>2008-03-12T23:09:28Z</updated>
<author>
<name>Benjamin Herrenschmidt</name>
<email>benh@kernel.crashing.org</email>
</author>
<published>2008-03-12T06:23:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=25c0a7b83297f10186a7a1ee5c563f005dfabc44'/>
<id>urn:sha1:25c0a7b83297f10186a7a1ee5c563f005dfabc44</id>
<content type='text'>
The iSeries viodasd drivers does some very strange things with
scatterlists, one of these causing a BUG_ON to trigger when
scatterlist debugging is enabled due to initializing the
scatterlist with memset instead of sg_init_table().

This fixes it by using sg_init_table().  The rest of the stuff
it does to that poor list is still pretty awful but it will work.

I may look into fixing things in a nicer way some other time.

Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>pktcdvd: reduce stack consumption</title>
<updated>2008-03-05T00:35:12Z</updated>
<author>
<name>Peter Osterlund</name>
<email>petero2@telia.com</email>
</author>
<published>2008-03-04T22:28:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=05680d86d21bdbe56db80c66c24c686590815f1f'/>
<id>urn:sha1:05680d86d21bdbe56db80c66c24c686590815f1f</id>
<content type='text'>
On my system, pkt_open() consumes 584 bytes because the compiler decides to
inline lots of functions that would not normally be part of long call chains.
The following patch fixes that problem on my system.

Signed-off-by: Peter Osterlund &lt;petero2@telia.com&gt;
Cc: Nix &lt;nix@esperi.org.uk&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>cciss: remove READ_AHEAD define and use block layer defaults</title>
<updated>2008-03-04T10:28:43Z</updated>
<author>
<name>Mike Miller</name>
<email>mike.miller@hp.com</email>
</author>
<published>2008-03-04T10:25:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=68d95b585f1b67b3c89ce0eb934e221ebeeb5c61'/>
<id>urn:sha1:68d95b585f1b67b3c89ce0eb934e221ebeeb5c61</id>
<content type='text'>
This patch removes the #define READ_AHEAD 1024 from the driver and uses the
block layer defaults, instead. We have found that under certain workloads
the setting can cause a disk connected to the e200 controller to go offline.
If the disk hiccups the link may try to downshift but the controller is
never notified that the link successfully completed the renegotiation.
We've also found that performance using the block layer default of 32 pages
was on par with the 1024 setting. We tried setting it to zero at one time
based on info from our firmware guys but that killed performance. Turns out
we were talking about 2 different read ahead settings.
Please consider this for inclusion.

Signed-off-by: Mike Miller &lt;mike.miller@hp.com&gt;
Signed-off-by: Jens Axboe &lt;jens.axboe@oracle.com&gt;
</content>
</entry>
</feed>
