Thread (4 messages) 4 messages, 2 authors, 2015-10-06

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

From: KY Srinivasan <kys@microsoft.com>
Date: 2015-08-31 14:09:44
Also in: linux-scsi, lkml

-----Original Message-----
From: James Bottomley [mailto:James.Bottomley@HansenPartnership.com]
Sent: Monday, August 31, 2015 7:02 AM
To: KY Srinivasan <kys@microsoft.com>
Cc: gregkh@linuxfoundation.org; linux-kernel@vger.kernel.org;
devel@linuxdriverproject.org; ohering@suse.com;
jbottomley@parallels.com; hch@infradead.org; linux-scsi@vger.kernel.org;
apw@canonical.com; vkuznets@redhat.com; jasowang@redhat.com;
stable@vger.kernel.org
Subject: Re: [PATCH 1/1] storvsc: Don't set the
SRB_FLAGS_QUEUE_ACTION_ENABLE flag

On Mon, 2015-08-31 at 08:21 -0700, K. Y. Srinivasan wrote:
quoted
Don't set the SRB_FLAGS_QUEUE_ACTION_ENABLE flag since we are not
specifying
quoted
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
James

quoted
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Cc: stable@vger.kernel.org
---
 drivers/scsi/storvsc_drv.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c
index 40c43ae..ad8c4bc 100644
--- a/drivers/scsi/storvsc_drv.c
+++ b/drivers/scsi/storvsc_drv.c
@@ -1647,8 +1647,7 @@ static int storvsc_queuecommand(struct
Scsi_Host *host, struct scsi_cmnd *scmnd)
quoted
 	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) {
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help