[SCSI] ibmvfc: Add support for NPIV Logout
authorBrian King <brking@linux.vnet.ibm.com>
Thu, 28 May 2009 21:17:29 +0000 (16:17 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 8 Jun 2009 18:07:44 +0000 (13:07 -0500)
commit79111d0899a122fa3cf0a2921292c3e6a25452d0
tree73300ac26b25f515e2c04aa04f50cc9664886441
parent43c8da907ccc656935d1085701f4db83385d8a59
[SCSI] ibmvfc: Add support for NPIV Logout

This patch adds support for a new command supported by the Virtual I/O
Server, NPIV Logout. The command will abort all outstanding commands
and log out of the fabric. Currently, the only way to do this is
by breaking the CRQ, which can take a fairly long time when lots of
commands are outstanding. The NPIV Logout commands provides a mechanism
to accomplish virtually the same function, but is much faster.

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