]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: storvsc: Size the queue depth based on the ringbuffer size
authorK. Y. Srinivasan <kys@microsoft.com>
Fri, 27 Mar 2015 07:27:15 +0000 (00:27 -0700)
committerJames Bottomley <JBottomley@Odin.com>
Thu, 9 Apr 2015 20:22:11 +0000 (13:22 -0700)
commitdfc7977e1436e391bff9141ecf1157fc5011c6e5
treef9719318ec53f15e41af3acca2489421e84ca576
parent1e25d8e499dbf46d2a4e51e046bfb9c577a0b037
scsi: storvsc: Size the queue depth based on the ringbuffer size

Size the queue depth based on the ringbuffer size. Also accommodate for the
fact that we could have multiple channels (ringbuffers) per adaptor.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Long Li <longli@microsoft.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/storvsc_drv.c