<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/scsi/device_handler, branch v3.12.10</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/scsi/device_handler?h=v3.12.10</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/scsi/device_handler?h=v3.12.10'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2013-04-11T23:00:31Z</updated>
<entry>
<title>[SCSI] scsi_dh_alua: Add module parameter to allow failover to non preferred path without STPG</title>
<updated>2013-04-11T23:00:31Z</updated>
<author>
<name>Stewart, Sean</name>
<email>Sean.Stewart@netapp.com</email>
</author>
<published>2013-04-04T14:54:47Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=7a3ad3920de780e3da1dacabe3c0abcd5b260655'/>
<id>urn:sha1:7a3ad3920de780e3da1dacabe3c0abcd5b260655</id>
<content type='text'>
Resending with requested rewording of the parameter description.  Currently
ALUA device handler sends STPG command during failover and failback.  Failover
can be optimized by implicit failover (by not to sending STPG command), when 1
is passed as hwhandler parameter in multipath.conf. ex "2 alua 1". We may need
to pass the parameter through module param for alua device handler to optimize
failover if incase retain_attached_hwhandler set in multipath.conf and
hwhandler is set with non-tpgs device handler ex: '1 rdac'.

[jejb: fix up whitespace and other issues]
Signed-off-by: Vijay Chauhan &lt;vijay.chauhan@netapp.com&gt;
Signed-off-by: Sean Stewart &lt;Sean.Stewart@netapp.com&gt;
Acked-by: Hannes Reinecke &lt;hare@suse.de&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] scsi_dh_alua: fix stpg sense handling</title>
<updated>2013-04-10T03:55:21Z</updated>
<author>
<name>Mike Christie</name>
<email>michaelc@cs.wisc.edu</email>
</author>
<published>2013-03-06T04:40:24Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=27db682bf07fdc105af38827dbbd67d6f0a4ae04'/>
<id>urn:sha1:27db682bf07fdc105af38827dbbd67d6f0a4ae04</id>
<content type='text'>
For the stpg_endio path we are not evaluating the sense. The bug
is that

1. The error value is set to -EIO when there is sense, so we hit the first
error check and always return SCSI_DH_IO.

2. h-&gt;senselen is set to zero in submit_stpg. It is not later set to
req-&gt;sense_len like in the synchrounous exection paths, so we must
check the req-&gt;sense_len field.

Signed-off-by: Mike Christie &lt;michaelc@cs.wisc.edu&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
</entry>
<entry>
<title>drivers/scsi/device_handler: remove depends on CONFIG_EXPERIMENTAL</title>
<updated>2013-01-21T22:52:45Z</updated>
<author>
<name>Kees Cook</name>
<email>keescook@chromium.org</email>
</author>
<published>2013-01-17T02:53:54Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=2a570a4917cca818bc69d0789483e0a9ace79477'/>
<id>urn:sha1:2a570a4917cca818bc69d0789483e0a9ace79477</id>
<content type='text'>
The CONFIG_EXPERIMENTAL config item has not carried much meaning for a
while now and is almost always enabled by default. As agreed during the
Linux kernel summit, remove it from any "depends on" lines in Kconfigs.

CC: "James E.J. Bottomley" &lt;JBottomley@parallels.com&gt;
Signed-off-by: Kees Cook &lt;keescook@chromium.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>[SCSI] scsi_dh_alua: Enable STPG for unavailable ports</title>
<updated>2012-09-24T08:21:56Z</updated>
<author>
<name>Bart Van Assche</name>
<email>bvanassche@acm.org</email>
</author>
<published>2012-08-24T09:08:41Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e47f8976d8e573928824a06748f7bc82c58d747f'/>
<id>urn:sha1:e47f8976d8e573928824a06748f7bc82c58d747f</id>
<content type='text'>
A quote from SPC-4: "While in the unavailable primary target port
asymmetric access state, the device server shall support those of
the following commands that it supports while in the active/optimized
state: [ ... ] d) SET TARGET PORT GROUPS; [ ... ]". Hence enable
sending STPG to a target port group that is in the unavailable state.

Signed-off-by: Bart Van Assche &lt;bvanassche@acm.org&gt;
Reviewed-by: Mike Christie &lt;michaelc@cs.wisc.edu&gt;
Acked-by: Hannes Reinecke &lt;hare@suse.de&gt;
Cc: &lt;stable@vger.kernel.org&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] scsi_dh_rdac : minor return fix for rdac</title>
<updated>2012-09-24T08:11:03Z</updated>
<author>
<name>Moger, Babu</name>
<email>Babu.Moger@netapp.com</email>
</author>
<published>2012-09-04T17:13:18Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=1315da30daaf8f4b1207cc78b67ff0dc55bc447b'/>
<id>urn:sha1:1315da30daaf8f4b1207cc78b67ff0dc55bc447b</id>
<content type='text'>
Signed-off-by: Babu Moger &lt;babu.moger@netapp.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] scsi_dh_rdac : Consolidate rdac strings together</title>
<updated>2012-09-24T08:11:03Z</updated>
<author>
<name>Moger, Babu</name>
<email>Babu.Moger@netapp.com</email>
</author>
<published>2012-09-04T17:05:15Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=35204772ea034b380bc9d8942699dc03898e5c13'/>
<id>urn:sha1:35204772ea034b380bc9d8942699dc03898e5c13</id>
<content type='text'>
This patch consolidates the strings together. Purpose is to remove minor product strings extensions.
That way the future products with similar strings should not require change  here.

Signed-off-by: Babu Moger &lt;babu.moger@netapp.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] scsi_dh_rdac: Add a new netapp vendor/product string</title>
<updated>2012-09-24T08:11:03Z</updated>
<author>
<name>Moger, Babu</name>
<email>Babu.Moger@netapp.com</email>
</author>
<published>2012-09-04T17:04:33Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e7ba29d6332850512ad45f154cfd5601fea39f85'/>
<id>urn:sha1:e7ba29d6332850512ad45f154cfd5601fea39f85</id>
<content type='text'>
This patch adds a new vendor/product strings for netapp E series  product.
Also consolidated the strings together with similar names.

Signed-off-by: Babu Moger &lt;babu.moger@netapp.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] scsi_dh: add scsi_dh_attached_handler_name</title>
<updated>2012-07-20T07:58:42Z</updated>
<author>
<name>Mike Snitzer</name>
<email>snitzer@redhat.com</email>
</author>
<published>2012-06-26T18:32:03Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=7e8a74b177f17d100916b6ad415450f7c9508691'/>
<id>urn:sha1:7e8a74b177f17d100916b6ad415450f7c9508691</id>
<content type='text'>
Introduce scsi_dh_attached_handler_name() to retrieve the name of the
scsi_dh that is attached to the scsi_device associated with the provided
request queue.  Returns NULL if a scsi_dh is not attached.

Also, fix scsi_dh_{attach,detach} function header comments to document
@q rather than @sdev.

Signed-off-by: Mike Snitzer &lt;snitzer@redhat.com&gt;
Tested-by: Babu Moger &lt;babu.moger@netapp.com&gt;
Reviewed-by: Chandra Seetharaman &lt;sekharan@us.ibm.com&gt;
Acked-by: Hannes Reinecke &lt;hare@suse.de&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] scsi_dh_alua: Re-enable STPG for unavailable ports</title>
<updated>2012-07-20T07:58:36Z</updated>
<author>
<name>Bart Van Assche</name>
<email>bvanassche@acm.org</email>
</author>
<published>2012-06-22T08:49:38Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=bb2c94a3a6ad37fe7d34f369295bcdf5387e264f'/>
<id>urn:sha1:bb2c94a3a6ad37fe7d34f369295bcdf5387e264f</id>
<content type='text'>
A quote from SPC-4: "While in the unavailable primary target port
asymmetric access state, the device server shall support those of
the following commands that it supports while in the active/optimized
state: [ ... ] d) SET TARGET PORT GROUPS; [ ... ]". Hence re-enable
sending STPG to a target port group that is in the unavailable state.

Signed-off-by: Bart Van Assche &lt;bvanassche@acm.org&gt;
Reviewed-by: Babu Moger &lt;babu.moger@netapp.com&gt; 
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
</entry>
<entry>
<title>[SCSI] scsi_dh_alua: backoff alua rtpg retry linearly vs. geometrically</title>
<updated>2012-07-20T07:58:33Z</updated>
<author>
<name>Rob Evers</name>
<email>revers@redhat.com</email>
</author>
<published>2012-05-18T18:08:56Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=bc97f4bb4490ff31b2be8e006f750d4187ef0c7e'/>
<id>urn:sha1:bc97f4bb4490ff31b2be8e006f750d4187ef0c7e</id>
<content type='text'>
Currently the backoff algorithm for when to retry alua rtpg
requests progresses geometrically as so:

2, 4, 8, 16, 32, 64... seconds.

This progression can lead to un-needed delay in retrying
alua rtpg requests when the rtpgs are delayed.  A less
aggressive backoff algorithm that is additive would not
lead to such large jumps when delays start getting long, but
would backoff linearly:

2, 4, 6, 8, 10... seconds.

Signed-off-by: Martin George &lt;marting@netapp.com&gt;
Signed-off-by: Rob Evers &lt;revers@redhat.com&gt;
Reviewed-by: Babu Moger &lt;babu.moger@netapp.com&gt;
Signed-off-by: James Bottomley &lt;JBottomley@Parallels.com&gt;
</content>
</entry>
</feed>
