]> 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)
commit520fd0fe0fb84f0e21f62b056a5bd12290bd10e8
treef9719318ec53f15e41af3acca2489421e84ca576
parentece93f3f7f915e18f2aefdf02e0864d720a9f1b1
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