<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/scsi/sd.c, branch linux-2.6.16.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.16.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.16.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2006-02-26T17:09:49Z</updated>
<entry>
<title>[PATCH] sd: fix memory corruption with broken mode page headers</title>
<updated>2006-02-26T17:09:49Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2006-02-26T14:34:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=489708007785389941a89fa06aedc5ec53303c96'/>
<id>urn:sha1:489708007785389941a89fa06aedc5ec53303c96</id>
<content type='text'>
There's a problem in sd where we blindly believe the length of the
headers and block descriptors.  Some devices return insane values for
these and cause our length to end up greater than the actual buffer
size, so check to make sure.

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;

Also removed the buffer size magic number (512) and added DPOFUA of
zero to the defaults

Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[SCSI] always handle REQ_BLOCK_PC requests in common code</title>
<updated>2006-01-14T16:54:45Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2006-01-06T17:34:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=776b23a0363d99ca402edc1aba1db8099b747b33'/>
<id>urn:sha1:776b23a0363d99ca402edc1aba1db8099b747b33</id>
<content type='text'>
LLDDs should never see REQ_BLOCK_PC requests, we can handle them just
fine in the core code.  There is a small behaviour change in that some
check in sr's rw_intr are bypassed, but I consider the old behaviour
a bug.

Mike found this cleanup opportunity and provdided early patches, so all
the credit goes to him, even if I redid the patches from scratch beause
that was easier than forward-porting the old patches.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] turn most scsi semaphores into mutexes</title>
<updated>2006-01-12T17:53:11Z</updated>
<author>
<name>Arjan van de Ven</name>
</author>
<published>2006-01-11T12:16:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0b9506723826c68b50fa33e345700ddcac1bed36'/>
<id>urn:sha1:0b9506723826c68b50fa33e345700ddcac1bed36</id>
<content type='text'>
the scsi layer is using semaphores in a mutex way, this patch converts
these into using mutexes instead

Signed-off-by: Arjan van de Ven &lt;arjan@infradead.org&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
</entry>
<entry>
<title>[PATCH] Add block_device_operations.getgeo block device method</title>
<updated>2006-01-09T04:13:54Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2006-01-08T09:02:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a885c8c4316e1c1d2d2c8755da3f3d14f852528d'/>
<id>urn:sha1:a885c8c4316e1c1d2d2c8755da3f3d14f852528d</id>
<content type='text'>
HDIO_GETGEO is implemented in most block drivers, and all of them have to
duplicate the code to copy the structure to userspace, as well as getting
the start sector.  This patch moves that to common code [1] and adds a
-&gt;getgeo method to fill out the raw kernel hd_geometry structure.  For many
drivers this means -&gt;ioctl can go away now.

[1] the s390 block drivers are odd in this respect.  xpram sets -&gt;start
    to 4 always which seems more than odd, and the dasd driver shifts
    the start offset around, probably because of it's non-standard
    sector size.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Cc: Jens Axboe &lt;axboe@suse.de&gt;
Cc: &lt;mike.miller@hp.com&gt;
Cc: Jeff Dike &lt;jdike@addtoit.com&gt;
Cc: Paolo Giarrusso &lt;blaisorblade@yahoo.it&gt;
Cc: Bartlomiej Zolnierkiewicz &lt;B.Zolnierkiewicz@elka.pw.edu.pl&gt;
Cc: Neil Brown &lt;neilb@cse.unsw.edu.au&gt;
Cc: Markus Lidel &lt;Markus.Lidel@shadowconnect.com&gt;
Cc: Russell King &lt;rmk@arm.linux.org.uk&gt;
Cc: David Woodhouse &lt;dwmw2@infradead.org&gt;
Cc: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
Cc: James Bottomley &lt;James.Bottomley@steeleye.com&gt;
Signed-off-by: Adrian Bunk &lt;bunk@stusta.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[BLOCK] scsi: add FUA support to sd</title>
<updated>2006-01-06T08:53:52Z</updated>
<author>
<name>Tejun Heo</name>
</author>
<published>2006-01-06T08:53:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=007365ad60387df30f02f01fdc2b6e6432f6c265'/>
<id>urn:sha1:007365ad60387df30f02f01fdc2b6e6432f6c265</id>
<content type='text'>
Add FUA support for barriers to SCSI disk.

Signed-off-by: Tejun Heo &lt;htejun@gmail.com&gt;
Signed-off-by: Jens Axboe &lt;axboe@suse.de&gt;
</content>
</entry>
<entry>
<title>[BLOCK] update SCSI to use new blk_ordered for barriers</title>
<updated>2006-01-06T08:52:55Z</updated>
<author>
<name>Tejun Heo</name>
</author>
<published>2006-01-06T08:52:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=461d4e90c8cd049718884cd17c955e231140d3be'/>
<id>urn:sha1:461d4e90c8cd049718884cd17c955e231140d3be</id>
<content type='text'>
All ordered request related stuff delegated to HLD.  Midlayer
now doens't deal with ordered setting or prepare_flush
callback.  sd.c updated to deal with blk_queue_ordered
setting.  Currently, ordered tag isn't used as SCSI midlayer
cannot guarantee request ordering.

Signed-off-by: Tejun Heo &lt;htejun@gmail.com&gt;
Signed-off-by: Jens Axboe &lt;axboe@suse.de&gt;
</content>
</entry>
<entry>
<title>[BLOCK] add @uptodate to end_that_request_last() and @error to rq_end_io_fn()</title>
<updated>2006-01-06T08:49:03Z</updated>
<author>
<name>Tejun Heo</name>
</author>
<published>2006-01-06T08:49:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8ffdc6550c47f75ca4e6c9f30a2a89063e035cf2'/>
<id>urn:sha1:8ffdc6550c47f75ca4e6c9f30a2a89063e035cf2</id>
<content type='text'>
add @uptodate argument to end_that_request_last() and @error
to rq_end_io_fn().  there's no generic way to pass error code
to request completion function, making generic error handling
of non-fs request difficult (rq-&gt;errors is driver-specific and
each driver uses it differently).  this patch adds @uptodate
to end_that_request_last() and @error to rq_end_io_fn().

for fs requests, this doesn't really matter, so just using the
same uptodate argument used in the last call to
end_that_request_first() should suffice.  imho, this can also
help the generic command-carrying request jens is working on.

Signed-off-by: tejun heo &lt;htejun@gmail.com&gt;
Signed-Off-By: Jens Axboe &lt;axboe@suse.de&gt;
</content>
</entry>
<entry>
<title>Fix up SCSI mismerge</title>
<updated>2005-12-16T02:17:02Z</updated>
<author>
<name>James Bottomley</name>
</author>
<published>2005-12-16T02:17:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7b16318dea8d9840dac567a2ae8c50ecdea36aea'/>
<id>urn:sha1:7b16318dea8d9840dac567a2ae8c50ecdea36aea</id>
<content type='text'>
I forgot to do a git-update-cache on the merged files ...
</content>
</entry>
<entry>
<title>Merge by hand (conflicts in scsi_lib.c)</title>
<updated>2005-12-15T23:35:24Z</updated>
<author>
<name>James Bottomley</name>
</author>
<published>2005-12-15T23:35:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2a1e1379bae53f647c463a677cc2ec71b591c348'/>
<id>urn:sha1:2a1e1379bae53f647c463a677cc2ec71b591c348</id>
<content type='text'>
This merge is pretty extensive.  The conflict is over the new
req-&gt;retries parameter, so I had to change the prototype to
scsi_setup_blk_pc_cmnd() and the usage in sd, sr and st.

Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] Consolidate REQ_BLOCK_PC handling path (fix ipod panic)</title>
<updated>2005-12-14T05:29:27Z</updated>
<author>
<name>James Bottomley</name>
</author>
<published>2005-12-09T22:45:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c9526497cf03ee775c3a6f8ba62335735f98de7a'/>
<id>urn:sha1:c9526497cf03ee775c3a6f8ba62335735f98de7a</id>
<content type='text'>
This follows on from Jens' patch and consolidates all of the ULD
separate handlers for REQ_BLOCK_PC into a single call which has his
fix for our direction bug.

Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
</entry>
</feed>
