]>
Commit | Line | Data |
---|---|---|
033b5a72 GKH |
1 | From 52f9614dd8294e95d2c0929c2d4f64b077ae486f Mon Sep 17 00:00:00 2001 |
2 | From: "K. Y. Srinivasan" <kys@microsoft.com> | |
3 | Date: Sat, 12 Jul 2014 09:48:27 -0700 | |
4 | Subject: Drivers: scsi: storvsc: Set cmd_per_lun to reflect value supported by the Host | |
5 | ||
6 | From: "K. Y. Srinivasan" <kys@microsoft.com> | |
7 | ||
8 | commit 52f9614dd8294e95d2c0929c2d4f64b077ae486f upstream. | |
9 | ||
10 | Set cmd_per_lun to reflect value supported by the Host. | |
11 | ||
12 | Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> | |
13 | Reviewed-by: Hannes Reinecke <hare@suse.de> | |
14 | Signed-off-by: Christoph Hellwig <hch@lst.de> | |
15 | Signed-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 */ |