[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>
This commit is contained in:
committed by
James Bottomley
parent
c1988e3123
commit
126c5cc37e
@@ -90,6 +90,7 @@ struct event_pool {
|
||||
/* all driver data associated with a host adapter */
|
||||
struct ibmvscsi_host_data {
|
||||
atomic_t request_limit;
|
||||
int client_migrated;
|
||||
struct device *dev;
|
||||
struct event_pool pool;
|
||||
struct crq_queue queue;
|
||||
@@ -97,6 +98,9 @@ struct ibmvscsi_host_data {
|
||||
struct list_head sent;
|
||||
struct Scsi_Host *host;
|
||||
struct mad_adapter_info_data madapter_info;
|
||||
struct capabilities caps;
|
||||
dma_addr_t caps_addr;
|
||||
dma_addr_t adapter_info_addr;
|
||||
};
|
||||
|
||||
/* routines for managing a command/response queue */
|
||||
|
Reference in New Issue
Block a user