projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73d98ff
)
[SCSI] ipr: Stop issuing cancel all to disk arrays
author
Brian King
<brking@us.ibm.com>
Tue, 21 Nov 2006 16:28:04 +0000
(10:28 -0600)
committer
James Bottomley
<jejb@mulgrave.il.steeleye.com>
Wed, 22 Nov 2006 18:20:08 +0000
(12:20 -0600)
The ipr disk array devices do not support a cancel all
requests primitive, so change the ipr driver to never
send it.
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/ipr.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/ipr.c
b/drivers/scsi/ipr.c
index c983f0f0758446a6cdfcbe10dfce97be688d359f..244173adf8b585ae61009fffb0a677684cf99819 100644
(file)
--- a/
drivers/scsi/ipr.c
+++ b/
drivers/scsi/ipr.c
@@
-3776,7
+3776,7
@@
static int ipr_cancel_op(struct scsi_cmnd * scsi_cmd)
*/
if (ioa_cfg->in_reset_reload || ioa_cfg->ioa_is_dead)
return FAILED;
- if (!res ||
(!ipr_is_gscsi(res) && !ipr_is_vset_device(res)
))
+ if (!res ||
!ipr_is_gscsi(res
))
return FAILED;
list_for_each_entry(ipr_cmd, &ioa_cfg->pending_q, queue) {