scsi: ibmvscsis: Synchronize cmds at remove time
authorMichael Cyr <mikecyr@us.ibm.com>
Thu, 13 Oct 2016 16:02:40 +0000 (11:02 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 8 Nov 2016 22:29:54 +0000 (17:29 -0500)
commit8bf11557d44d00562360d370de8aa70ba89aa0d5
tree1960c3aecb9f52c206c72c212659281fc4bf2fff
parentc9b3379f60a83288a5e2f8ea75476460978689b0
scsi: ibmvscsis: Synchronize cmds at remove time

This patch adds code to disconnect from the client, which will make sure
any outstanding commands have been completed, before continuing on with
the remove operation.

Signed-off-by: Michael Cyr <mikecyr@us.ibm.com>
Signed-off-by: Bryant G. Ly <bryantly@linux.vnet.ibm.com>
Tested-by: Steven Royer <seroyer@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c
drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.h