瀏覽代碼

[SCSI] ibmvscsi: allocate lpevents for ibmvscsi on iseries

Allocate the correct number of lp events when running
ibmvscsi on legacy iseries

Signed-off-by: Dave Boutcher <sleddog@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Dave C Boutcher 19 年之前
父節點
當前提交
6c51fe1047
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/scsi/ibmvscsi/iseries_vscsi.c

+ 1 - 1
drivers/scsi/ibmvscsi/iseries_vscsi.c

@@ -81,7 +81,7 @@ int ibmvscsi_init_crq_queue(struct crq_queue *queue,
 	int rc;
 	int rc;
 
 
 	single_host_data = hostdata;
 	single_host_data = hostdata;
-	rc = viopath_open(viopath_hostLp, viomajorsubtype_scsi, 0);
+	rc = viopath_open(viopath_hostLp, viomajorsubtype_scsi, max_requests);
 	if (rc < 0) {
 	if (rc < 0) {
 		printk("viopath_open failed with rc %d in open_event_path\n",
 		printk("viopath_open failed with rc %d in open_event_path\n",
 		       rc);
 		       rc);