[SCSI] ibmvscsi: Add support for capabilities MAD
authorBrian King <brking@linux.vnet.ibm.com>
Mon, 8 Jun 2009 21:19:08 +0000 (16:19 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 8 Jun 2009 23:05:21 +0000 (18:05 -0500)
commit126c5cc37e682e7c5ae96754994b1cb50c2d0cb5
tree054781df1e5f7fb4d34eaed7e5674eff92cf63c1
parentc1988e3123751fd425fbae99d5c1776608e965a9
[SCSI] ibmvscsi: Add support for capabilities MAD

Add support to ibmvscsi for the capabilities MAD. This command gets sent
to the Virtual I/O server prior to login in order to communicate client
capabilities. Additionally it returns information regarding capabilities
that the server supports. The two main capabilities communicated in this
MAD are related to partition migration and client reserve. Client reserve
allows for SCSI-2 reservations to be sent to virtual disks which are backed
by physical LUNs and will result in the reservation being sent to the
physical LUN.

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