<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/include/scsi, branch v2.6.16</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.16</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.16'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2006-02-14T17:14:26Z</updated>
<entry>
<title>[PATCH] add scsi_execute_in_process_context() API</title>
<updated>2006-02-14T17:14:26Z</updated>
<author>
<name>James Bottomley</name>
<email>James.Bottomley@steeleye.com</email>
</author>
<published>2006-02-14T16:42:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=faead26d7a06605add627f29aee73ba654ce11f9'/>
<id>urn:sha1:faead26d7a06605add627f29aee73ba654ce11f9</id>
<content type='text'>
We have several points in the SCSI stack (primarily for our device
functions) where we need to guarantee process context, but (given the
place where the last reference was released) we cannot guarantee this.

This API gets around the issue by executing the function directly if
the caller has process context, but scheduling a workqueue to execute
in process context if the caller doesn't have it.  Unfortunately, it
requires memory allocation in interrupt context, but it's better than
what we have previously.  The true solution will require a bit of
re-engineering, so isn't appropriate for 2.6.16.

Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] iscsi update: cleanup iscsi class interface</title>
<updated>2006-02-04T22:17:03Z</updated>
<author>
<name>Mike Christie</name>
<email>michaelc@cs.wisc.edu</email>
</author>
<published>2006-02-02T03:06:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7b7232f3fb5ecd7c30cb52df368070cc5f5ca614'/>
<id>urn:sha1:7b7232f3fb5ecd7c30cb52df368070cc5f5ca614</id>
<content type='text'>
From:
michaelc@cs.wisc.edu
fujita.tomonori@lab.ntt.co.jp
da-x@monatomic.org

and err path fixup from:
ogerlitz@voltaire.com

This patch cleans up that interface by having the lld and class
pass a iscsi_cls_session or iscsi_cls_conn between each other when
the function is used by HW and SW iscsi llds. This way the lld
does not have to remember if it has to send a handle or pointer
and a handle or pointer to connection, session or host.

This also has the class verify the session handle that gets passed from
userspace instead of using the pointer passed into the kernel directly.

Signed-off-by: Mike Christie &lt;michaelc@cs.wisc.edu&gt;
Signed-off-by: Alex Aizman &lt;itn780@yahoo.com&gt;
Signed-off-by: Dmitry Yusupov &lt;dmitry_yus@yahoo.com&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
</entry>
<entry>
<title>Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6</title>
<updated>2006-01-31T21:12:41Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@g5.osdl.org</email>
</author>
<published>2006-01-31T21:12:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e0ae23550ffd3bfe319fa66879779be1a9a4a155'/>
<id>urn:sha1:e0ae23550ffd3bfe319fa66879779be1a9a4a155</id>
<content type='text'>
</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>
<email>brking@us.ibm.com</email>
</author>
<published>2006-01-23T21:03:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/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>[SCSI] Remove host template ordered_flush variable</title>
<updated>2006-01-25T10:12:40Z</updated>
<author>
<name>Tetsuo Takata</name>
<email>takatan.linux@gmail.com</email>
</author>
<published>2006-01-25T10:12:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=dfcd77d16b5745fbfea7d5636f15fc80cc05fef8'/>
<id>urn:sha1:dfcd77d16b5745fbfea7d5636f15fc80cc05fef8</id>
<content type='text'>
After the recent overhaul of the block layer the variable
"ordered_flush" is no longer used.

Signed-off-by: Tetsuo Takata &lt;takatatt@intellilink.co.jp&gt;
Signed-off-by: Jens Axboe &lt;axboe@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] scsi_transport_spi build fix</title>
<updated>2006-01-19T03:20:16Z</updated>
<author>
<name>Andrew Morton</name>
<email>akpm@osdl.org</email>
</author>
<published>2006-01-19T01:42:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c8d338c8dbc4461a6de1171c2332b8ed547f8f3b'/>
<id>urn:sha1:c8d338c8dbc4461a6de1171c2332b8ed547f8f3b</id>
<content type='text'>
On alpha:

In file included from drivers/scsi/sym53c8xx_2/sym_glue.h:59,
                 from drivers/scsi/sym53c8xx_2/sym_fw.c:40:
include/scsi/scsi_transport_spi.h:57: error: field `dv_mutex' has incomplete type

Cc: James Bottomley &lt;James.Bottomley@steeleye.com&gt;
Cc: Ingo Molnar &lt;mingo@elte.hu&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>[SCSI] iscsi: seperate iscsi interface from setup functions</title>
<updated>2006-01-14T16:55:20Z</updated>
<author>
<name>Mike Christie</name>
<email>michaelc@cs.wisc.edu</email>
</author>
<published>2006-01-14T00:05:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7b8631b53bea286b68847a939b87135198335b66'/>
<id>urn:sha1:7b8631b53bea286b68847a939b87135198335b66</id>
<content type='text'>
This is the second version of the patch to address Christoph's comments.
Instead of doing the lib, I just kept everything in scsi_trnapsort_iscsi.c
like the FC and SPI class. This was becuase the driver model and sysfs
class is tied to the session and connection setup so separating did not
buy very much at this time.

The reason for this patch was becuase HW iscsi LLDs like qla4xxx cannot
use the iscsi class becuase the scsi_host was tied to the interface and
class code. This patch just seperates the session from scsi host so
that LLDs that allocate the host per some resource like pci device
can still use the class.

This is also fixes a couple refcount bugs that can be triggered
when users have a sysfs file open, close the session, then
read or write to the file.

Signed-off-by: Alex Aizman &lt;itn780@yahoo.com&gt;
Signed-off-by: Dmitry Yusupov &lt;dmitry_yus@yahoo.com&gt;
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] remove target parent limitiation</title>
<updated>2006-01-14T16:55:05Z</updated>
<author>
<name>Christoph Hellwig</name>
<email>hch@lst.de</email>
</author>
<published>2006-01-13T18:04:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e02f3f59225d8c3b2a0ad0dc941a09865e27da61'/>
<id>urn:sha1:e02f3f59225d8c3b2a0ad0dc941a09865e27da61</id>
<content type='text'>
When James Smart fixed the issue of the userspace scan atributes
crashing the system with the FC transport class he added a patch to
let the transport class check if the parent is valid for a given
transport class.

When adding support for the integrated raid of fusion sas devices
we ran into a problem with that, as it didn't allow adding virtual
raid volumes without the transport class knowing about it.

So this patch adds a user_scan attribute instead, that takes over from
scsi_scan_host_selected if the transport class sets it and thus lets
the transport class control the user-initiated scanning.  As this
plugs the hole about user-initiated scanning the target_parent hook
goes away and we rely on callers of the scanning routines to do
something sensible.

For SAS this meant I had to switch from a spinlock to a mutex to
synchronize the topology linked lists, in FC they were completely
unsynchronized which seems wrong.

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] sem2mutex: scsi_transport_spi.c</title>
<updated>2006-01-14T16:55:01Z</updated>
<author>
<name>Jes Sorensen</name>
<email>jes@sgi.com</email>
</author>
<published>2006-01-14T00:05:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d158d26167a3f6a910ec3e0eda23cc0cd437c689'/>
<id>urn:sha1:d158d26167a3f6a910ec3e0eda23cc0cd437c689</id>
<content type='text'>
Convert the SCSI transport class code to use a mutex rather than a
semaphore.

Signed-off-by: Jes Sorensen &lt;jes@sgi.com&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: James Bottomley &lt;James.Bottomley@SteelEye.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] fc transport: add permanent_port_name fc_host attribute</title>
<updated>2006-01-14T16:54:48Z</updated>
<author>
<name>Andreas Herrmann</name>
<email>aherrman@de.ibm.com</email>
</author>
<published>2006-01-13T01:16:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6b7281d0a0f8f99d39808088a036459f6f7906a6'/>
<id>urn:sha1:6b7281d0a0f8f99d39808088a036459f6f7906a6</id>
<content type='text'>
Add fc_host attribute permanent_port_name which is
used to show the port name of the primary port -
the port that initially logged into the fabric.

For a virtual port (registered via the primary port with
FDISC command) it is useful to know not only its (virtual)
port name but also the permanent port name.

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