Skip to contentSkip to conversation

storvsc: Don't set the SRB_FLAGS_QUEUE_ACTION_ENABLE flag

PATCH In review K. Y. Srinivasan 2 participants 4 messages Aug 31, 2015 – Oct 6, 2015

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 storvsc: Don't set the SRB_FLAGS_QUEUE_ACTION_ENABLE flag

Don't set the SRB_FLAGS_QUEUE_ACTION_ENABLE flag since we are not specifying tags.

---
 drivers/scsi/storvsc_drv.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
drivers/scsi/storvsc_drv.c +1 -2
index 40c43ae..ad8c4bc 100644
@@ -1647,8 +1647,7 @@ static int storvsc_queuecommand(struct Scsi_Host *host, struct scsi_cmnd *scmnd)
 	vm_srb->win8_extension.time_out_value = 60;
 
 	vm_srb->win8_extension.srb_flags |=
-		(SRB_FLAGS_QUEUE_ACTION_ENABLE |
-		SRB_FLAGS_DISABLE_SYNCH_TRANSFER);
+		SRB_FLAGS_DISABLE_SYNCH_TRANSFER;
 
 	/* Build the SRB */
 	switch (scmnd->sc_data_direction) {
Signature · 1 line
1.7.4.1
maintainer
#1 lore raw
Quoted 2 lines · K. Y. Srinivasan

Don't set the SRB_FLAGS_QUEUE_ACTION_ENABLE flag since we are not specifying tags.

What's the actual problem description this causes?

James

Quoted 20 lines
---
 drivers/scsi/storvsc_drv.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
drivers/scsi/storvsc_drv.c +1 -2
index 40c43ae..ad8c4bc 100644
@@ -1647,8 +1647,7 @@ static int storvsc_queuecommand(struct Scsi_Host *host, struct scsi_cmnd *scmnd)
 	vm_srb->win8_extension.time_out_value = 60;
 
 	vm_srb->win8_extension.srb_flags |=
-		(SRB_FLAGS_QUEUE_ACTION_ENABLE |
-		SRB_FLAGS_DISABLE_SYNCH_TRANSFER);
+		SRB_FLAGS_DISABLE_SYNCH_TRANSFER;
 
 	/* Build the SRB */
 	switch (scmnd->sc_data_direction) {
#2 lore raw
Quoted 14 lines

-----Original Message-----
From: James Bottomley [mailto:[email protected]]
Sent: Monday, August 31, 2015 7:02 AM
To: KY Srinivasan <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]
Subject: Re: [PATCH 1/1] storvsc: Don't set the SRB_FLAGS_QUEUE_ACTION_ENABLE flag

Quoted 6 lines
Quoted 1 line · K. Y. Srinivasan

Don't set the SRB_FLAGS_QUEUE_ACTION_ENABLE flag since we are not

specifying

Quoted 1 line

tags.

What's the actual problem description this causes?

Qlogic driver does not work correctly if the SRB_FLAGS_QUEUE_ACTION_ENABLE is set and no action tag is specified.

Regards,

K. Y

Quoted 27 lines

James

drivers/scsi/storvsc_drv.c static int storvsc_queuecommand(struct

Quoted 11 lines
---
 drivers/scsi/storvsc_drv.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
drivers/scsi/storvsc_drv.c +0 -0
index 40c43ae..ad8c4bc 100644
@@ -1647,8 +1647,7 @@ static int storvsc_queuecommand(struct

Scsi_Host *host, struct scsi_cmnd *scmnd)

Quoted 9 lines
drivers/scsi/storvsc_drv.c +1 -2
 	vm_srb->win8_extension.time_out_value = 60;
 
 	vm_srb->win8_extension.srb_flags |=
-		(SRB_FLAGS_QUEUE_ACTION_ENABLE |
-		SRB_FLAGS_DISABLE_SYNCH_TRANSFER);
+		SRB_FLAGS_DISABLE_SYNCH_TRANSFER;
 
 	/* Build the SRB */
 	switch (scmnd->sc_data_direction) {
#3 lore raw
In reply to James Bottomley
Quoted 14 lines

-----Original Message-----
From: James Bottomley [mailto:[email protected]]
Sent: Monday, August 31, 2015 7:02 AM
To: KY Srinivasan <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]
Subject: Re: [PATCH 1/1] storvsc: Don't set the SRB_FLAGS_QUEUE_ACTION_ENABLE flag

Quoted 6 lines
Quoted 1 line · K. Y. Srinivasan

Don't set the SRB_FLAGS_QUEUE_ACTION_ENABLE flag since we are not

specifying

Quoted 1 line

tags.

What's the actual problem description this causes?

James,

Should I resend this patch. I think I provided the clarification you had sought.

Regards,

K. Y

Quoted 27 lines

James

drivers/scsi/storvsc_drv.c static int storvsc_queuecommand(struct

Quoted 11 lines
---
 drivers/scsi/storvsc_drv.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
drivers/scsi/storvsc_drv.c +0 -0
index 40c43ae..ad8c4bc 100644
@@ -1647,8 +1647,7 @@ static int storvsc_queuecommand(struct

Scsi_Host *host, struct scsi_cmnd *scmnd)

Quoted 9 lines
drivers/scsi/storvsc_drv.c +1 -2
 	vm_srb->win8_extension.time_out_value = 60;
 
 	vm_srb->win8_extension.srb_flags |=
-		(SRB_FLAGS_QUEUE_ACTION_ENABLE |
-		SRB_FLAGS_DISABLE_SYNCH_TRANSFER);
+		SRB_FLAGS_DISABLE_SYNCH_TRANSFER;
 
 	/* Build the SRB */
 	switch (scmnd->sc_data_direction) {