]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] ibmvfc: Fixup TMF response handling
authorBrian King <brking@linux.vnet.ibm.com>
Mon, 19 Oct 2009 20:07:47 +0000 (15:07 -0500)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 4 Dec 2009 18:00:17 +0000 (12:00 -0600)
commit13dd4019f4dab9644c542144e79f2dea4965ac5b
tree5d55f8c357c325266b68cdee6529dee4e282ff82
parent75c24ecb55e5109f4888dd6e881daccb94145459
[SCSI] ibmvfc: Fixup TMF response handling

When processing the response to either a LUN reset,
target reset, or an abort task set, the ibmvfc driver needs to
treat as success receiving a response with a non-zero
status in the response IU along with a general transport
error with the FCP response code being zero. The VIOS
currently guarantees this cannot happen, but a future version
of VIOS may allow this to be returned, so ensure we handle
this response combination correctly for TMFs, as we already
do for SCSI commands.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/ibmvscsi/ibmvfc.c