]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[SCSI] zfcp: Wait for free SBAL during exchange config
authorSwen Schillig <swen@vnet.ibm.com>
Thu, 24 Apr 2008 17:35:52 +0000 (19:35 +0200)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sun, 27 Apr 2008 17:19:56 +0000 (12:19 -0500)
When sending a exchange config data command, wait for a free SBAL.
This does not matter during adapter initialization, but this is
required for pulling adapter statistics during high I/O load.

Signed-off-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/s390/scsi/zfcp_fsf.c

index 7c3f02816e95c35b8ed6005c9f0c7d7fa2f9fa21..65455537cd52ec70101577f72091c50a0027873b 100644 (file)
@@ -1927,7 +1927,8 @@ zfcp_fsf_exchange_config_data_sync(struct zfcp_adapter *adapter,
 
        /* setup new FSF request */
        retval = zfcp_fsf_req_create(adapter, FSF_QTCB_EXCHANGE_CONFIG_DATA,
-                                    0, NULL, &lock_flags, &fsf_req);
+                                    ZFCP_WAIT_FOR_SBAL, NULL, &lock_flags,
+                                    &fsf_req);
        if (retval) {
                ZFCP_LOG_INFO("error: Could not create exchange configuration "
                              "data request for adapter %s.\n",