<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/scsi/scsi_error.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-28T03:38:39Z</updated>
<entry>
<title>[SCSI] scsi: scsi command retries off by one fix</title>
<updated>2006-02-28T03:38:39Z</updated>
<author>
<name>Brian King</name>
</author>
<published>2006-02-24T23:10:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8884efab1516613215816d48132dd724508970bf'/>
<id>urn:sha1:8884efab1516613215816d48132dd724508970bf</id>
<content type='text'>
Fix up an off by one error in calculating retries for scsi
commands. This bug was discovered when an SG_IO request
was sent to scsi core with retries = 0, causing the overall
timeout check to go off in scsi_softirq_done.

Signed-off-by: Brian King &lt;brking@us.ibm.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] Prevent scsi_execute_async from guessing cdb length</title>
<updated>2006-01-26T20:13:50Z</updated>
<author>
<name>brking@us.ibm.com</name>
</author>
<published>2006-01-23T21:03:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bb1d1073a10fdc8547e3eb821ee2488260094b39'/>
<id>urn:sha1:bb1d1073a10fdc8547e3eb821ee2488260094b39</id>
<content type='text'>
When the scsi_execute_async interface was added it ended up reducing
the flexibility of userspace to send arbitrary scsi commands through
sg using SG_IO. The SG_IO interface allows userspace to specify the
CDB length. This is now ignored in scsi_execute_async and it is
guessed using the COMMAND_SIZE macro, which is not always correct,
particularly for vendor specific commands. This patch adds a cmd_len
parameter to the scsi_execute_async interface to allow the caller
to specify the length of the CDB.

Signed-off-by: Brian King &lt;brking@us.ibm.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</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] Convert SCSI mid-layer to scsi_execute_async</title>
<updated>2005-12-15T03:03:35Z</updated>
<author>
<name>Mike Christie</name>
</author>
<published>2005-11-11T11:30:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6e68af666f5336254b5715dca591026b7324499a'/>
<id>urn:sha1:6e68af666f5336254b5715dca591026b7324499a</id>
<content type='text'>
Add scsi helpers to create really-large-requests and convert
scsi-ml to scsi_execute_async().

Per Jens's previous comments, I placed this function in scsi_lib.c.
I made it follow all the queue's limits - I think I did at least :), so
I removed the warning on the function header.

I think the scsi_execute_* functions should eventually take a request_queue
and be placed some place where the dm-multipath hw_handler can use them
if that failover code is going to stay in the kernel. That conversion
patch will be sent in another mail though.

Signed-off-by: Mike Christie &lt;michaelc@cs.wisc.edu&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] fix OOPS due to clearing eh_action prior to aborting eh command</title>
<updated>2005-12-08T14:13:29Z</updated>
<author>
<name>Michael Reed</name>
</author>
<published>2005-12-08T03:46:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=85631672e6a8032267058b4ccbe53f1924a5d0be'/>
<id>urn:sha1:85631672e6a8032267058b4ccbe53f1924a5d0be</id>
<content type='text'>
The eh_action semaphore in scsi_eh_send_command is cleared after a
command timeout.  The command is subsequently aborted and the abort
will try to call scsi_done() on it.  Unfortunately, the scsi_eh_done()
routine unconditinally completes the semaphore (which is now null).
Fix this race by makiong the scsi_eh_done() routine check that the
semaphore is non null before completing it (mirroring the ordinary
command done/timeout logic).

Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] use a completion in scsi_send_eh_cmnd</title>
<updated>2005-11-06T18:49:36Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2005-10-31T17:49:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7dfdc9a52b4219fba8240750e36de5db860ddd5f'/>
<id>urn:sha1:7dfdc9a52b4219fba8240750e36de5db860ddd5f</id>
<content type='text'>
scsi_send_eh_cmnd currently uses a semaphore and an overload of eh_timer
to either get a completion for a command for a timeout.
Switch to using a completion and wait_for_completion_timeout to simply
the code and not having to deal with the races ourselves.

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] remove Scsi_Host.eh_active</title>
<updated>2005-11-06T18:44:44Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2005-10-28T23:02:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=474838d5e5b5fa768803abc5522ae3fdf85c5f4e'/>
<id>urn:sha1:474838d5e5b5fa768803abc5522ae3fdf85c5f4e</id>
<content type='text'>
now that the abuse in qla2xxx is gone this field can be remove.

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] tidy up scsi_error_handler</title>
<updated>2005-11-06T18:43:26Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2005-10-28T23:01:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ad42eb1b77b9c17065dc52bcab3f5e1cfb3535b9'/>
<id>urn:sha1:ad42eb1b77b9c17065dc52bcab3f5e1cfb3535b9</id>
<content type='text'>
adjust comments, remove a useless cast and remove a write-only variable.

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] use scmd_id(), scmd_channel() throughout code</title>
<updated>2005-10-29T02:10:16Z</updated>
<author>
<name>Jeff Garzik</name>
</author>
<published>2005-10-24T22:05:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=422c0d61d591cbfb70f029e13505fb437e169d68'/>
<id>urn:sha1:422c0d61d591cbfb70f029e13505fb437e169d68</id>
<content type='text'>
Wrap a highly common idiom.  Makes the code easier to read, helps pave
the way for sdev-&gt;{id,channel} removal, and adds a token that can easily
by grepped-for in the future.

There are a couple sdev_id() and scmd_printk() updates thrown in as well.

Rejections fixed up and
Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] use {sdev,scmd,starget,shost}_printk in generic code</title>
<updated>2005-10-29T01:52:11Z</updated>
<author>
<name>Jeff Garzik</name>
</author>
<published>2005-10-24T22:04:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3bf743e7c891d8be8295650b7a6a9b5af083b096'/>
<id>urn:sha1:3bf743e7c891d8be8295650b7a6a9b5af083b096</id>
<content type='text'>
rejections fixed and
Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
</entry>
</feed>
