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)
commitf458aada75891e6e9aff391f8f12a2cb2aac7d58
treef9719318ec53f15e41af3acca2489421e84ca576
parentb9ec3a55389560a13e226c8d835db6bf0b3d61fd
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