]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blame - releases/3.16.3/drivers-scsi-storvsc-set-cmd_per_lun-to-reflect-value-supported-by-the-host.patch
4.9-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 3.16.3 / drivers-scsi-storvsc-set-cmd_per_lun-to-reflect-value-supported-by-the-host.patch
CommitLineData
033b5a72
GKH
1From 52f9614dd8294e95d2c0929c2d4f64b077ae486f Mon Sep 17 00:00:00 2001
2From: "K. Y. Srinivasan" <kys@microsoft.com>
3Date: Sat, 12 Jul 2014 09:48:27 -0700
4Subject: Drivers: scsi: storvsc: Set cmd_per_lun to reflect value supported by the Host
5
6From: "K. Y. Srinivasan" <kys@microsoft.com>
7
8commit 52f9614dd8294e95d2c0929c2d4f64b077ae486f upstream.
9
10Set cmd_per_lun to reflect value supported by the Host.
11
12Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
13Reviewed-by: Hannes Reinecke <hare@suse.de>
14Signed-off-by: Christoph Hellwig <hch@lst.de>
15Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
16
17---
18 drivers/scsi/storvsc_drv.c | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
20
21--- a/drivers/scsi/storvsc_drv.c
22+++ b/drivers/scsi/storvsc_drv.c
23@@ -1712,7 +1712,7 @@ static struct scsi_host_template scsi_dr
24 .slave_alloc = storvsc_device_alloc,
25 .slave_destroy = storvsc_device_destroy,
26 .slave_configure = storvsc_device_configure,
27- .cmd_per_lun = 1,
28+ .cmd_per_lun = 255,
29 .can_queue = STORVSC_MAX_IO_REQUESTS*STORVSC_MAX_TARGETS,
30 .this_id = -1,
31 /* no use setting to 0 since ll_blk_rw reset it to 1 */