storvsc: Don't set the SRB_FLAGS_QUEUE_ACTION_ENABLE flag
Subsystems (3)
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
@@ -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
James Bottomley
maintainerQuoted 2 lines · K. Y. Srinivasan
Don't set the
SRB_FLAGS_QUEUE_ACTION_ENABLEflag since we are not specifying tags.
What's the actual problem description this causes?
James
Quoted 20 lines
Signed-off-by K. Y. Srinivasan <[email protected]>--- drivers/scsi/storvsc_drv.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)drivers/scsi/storvsc_drv.c +1
-2@@ -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) {
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 theSRB_FLAGS_QUEUE_ACTION_ENABLEflag
Quoted 6 lines
Quoted 1 line · K. Y. Srinivasan
Don't set the
SRB_FLAGS_QUEUE_ACTION_ENABLEflag since we are notspecifying
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
Signed-off-by K. Y. Srinivasan <[email protected]>--- drivers/scsi/storvsc_drv.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)drivers/scsi/storvsc_drv.c +0
-0@@ -1647,8 +1647,7 @@ static int storvsc_queuecommand(struct
Scsi_Host*host, structscsi_cmnd*scmnd)Quoted 9 lines
drivers/scsi/storvsc_drv.c +1
-2vm_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) {
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 theSRB_FLAGS_QUEUE_ACTION_ENABLEflag
Quoted 6 lines
Quoted 1 line · K. Y. Srinivasan
Don't set the
SRB_FLAGS_QUEUE_ACTION_ENABLEflag since we are notspecifying
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
Signed-off-by K. Y. Srinivasan <[email protected]>--- drivers/scsi/storvsc_drv.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)drivers/scsi/storvsc_drv.c +0
-0@@ -1647,8 +1647,7 @@ static int storvsc_queuecommand(struct
Scsi_Host*host, structscsi_cmnd*scmnd)Quoted 9 lines
drivers/scsi/storvsc_drv.c +1
-2vm_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) {