Skip to content

Commit 0147dab

Browse files
kattisrinivasanJames Bottomley
authored and
James Bottomley
committed
scsi: storvsc: Always send on the selected outgoing channel
The current code always sent packets without data on the primary channel. Properly distribute sending of packets with no data amongst all available channels. I would like to thank Long Li for noticing this problem. Signed-off-by: K. Y. Srinivasan <[email protected]> Reviewed-by: Long Li <[email protected]> Signed-off-by: James Bottomley <[email protected]>
1 parent f458aad commit 0147dab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/scsi/storvsc_drv.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1362,7 +1362,7 @@ static int storvsc_do_io(struct hv_device *device,
13621362
vmscsi_size_delta),
13631363
(unsigned long)request);
13641364
} else {
1365-
ret = vmbus_sendpacket(device->channel, vstor_packet,
1365+
ret = vmbus_sendpacket(outgoing_channel, vstor_packet,
13661366
(sizeof(struct vstor_packet) -
13671367
vmscsi_size_delta),
13681368
(unsigned long)request,

0 commit comments

Comments
 (0)