aboutsummaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2009-11-03 14:49:54 -0500
committerJames Bottomley <James.Bottomley@suse.de>2009-12-04 13:01:24 -0500
commit349e11faa84ebdd6e484572cfe66f2cf4cb483a1 (patch)
tree59e01119bb65e8d5b221b1af08c089c29c12534d /virt
parent75ea89ef63d9ca37f190aebb7da061070005ac6e (diff)
[SCSI] libfc: do not use DID_NO_CONNECT for pkt alloc failures.
DID_NO_CONNECT is not a nice value to use for pkt alloc failures, because you can probably retry and IO will become available again. For the device reset callout, we do not want to set the scsi command result for the above reason, and because we do not need to set the scsi_cmd->result in this path. We and other drivers do not set it for success for example, and we do not set it for other failure. And scsi-ml does not send every command through this path, and it is not expecting us to use the scsi_cmnd struct like a cmd coming thruogh queuecommand. I think it is more for storage in case we need a cmd struct for a tmf and to give us certain params like the LUN. Patch was made over scsi-misc today. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: Robert Love <robert.w.love@intel.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions