scsi: storvsc: Use blk_mq_unique_tag() to generate requestIDs
authorAndrea Parri (Microsoft) <parri.andrea@gmail.com>
Mon, 10 May 2021 21:08:41 +0000 (23:08 +0200)
committerWei Liu <wei.liu@kernel.org>
Fri, 14 May 2021 17:39:32 +0000 (17:39 +0000)
commitbf5fd8cae3c8f0d1e6f71a076e0ce2bd17645d0b
tree821a2794528229affecf651b860e9b7011d502c3
parentadae1e931acd8b430d31141a283ea06d4b705417
scsi: storvsc: Use blk_mq_unique_tag() to generate requestIDs

Use blk_mq_unique_tag() to generate requestIDs for StorVSC, avoiding
all issues with allocating enough entries in the VMbus requestor.

Suggested-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Andrea Parri (Microsoft) <parri.andrea@gmail.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20210510210841.370472-1-parri.andrea@gmail.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
drivers/hv/channel.c
drivers/hv/ring_buffer.c
drivers/net/hyperv/netvsc.c
drivers/net/hyperv/rndis_filter.c
drivers/scsi/storvsc_drv.c
include/linux/hyperv.h