Michael Cyr c9b3379f60 scsi: ibmvscsis: Synchronize cmds at tpg_enable_store time
This patch changes the way the IBM vSCSI server driver manages its
Command/Response Queue (CRQ).  We used to register the CRQ with phyp at
probe time.  Now we wait until tpg_enable_store.  Similarly, when
tpg_enable_store is called to "disable" (i.e. the stored value is 0),
we unregister the queue with phyp.

One consquence to this is that we have no need for the PART_UP_WAIT_ENAB
state, since we can't get an Init Message from the client in our CRQ if
we're waiting to be enabled, since we haven't registered the queue yet.

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>
2016-11-08 17:29:54 -05:00
..
2016-11-01 16:56:05 -06:00
2016-10-06 17:13:54 -07:00
2016-10-21 21:40:29 +02:00
2016-11-05 11:15:09 -07:00
2016-10-07 21:23:40 -07:00
2016-10-07 08:35:35 -07:00
2016-10-29 11:19:02 -07:00
2016-11-05 10:52:29 -07:00
2016-10-07 21:23:40 -07:00
2016-11-05 11:11:31 -07:00
2016-10-19 11:45:06 -07:00
2016-10-06 17:03:49 -07:00
2016-10-14 13:13:44 -07:00
2016-10-14 11:07:42 -07:00
2016-11-05 11:15:09 -07:00
2016-10-19 08:39:47 -07:00
2016-10-24 19:52:24 -07:00