Drivers: hv: vmbus: Fix a bug in the channel callback dispatch code
authorK. Y. Srinivasan <kys@microsoft.com>
Mon, 7 Jul 2014 23:34:24 +0000 (16:34 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jul 2014 21:34:35 +0000 (14:34 -0700)
commitaffb1aff300ddee54df307812b38f166e8a865ef
tree5ed22f268bf37d50d511d54a477824a8573648c2
parenta497c3ba1d97fc69c1e78e7b96435ba8c2cb42ee
Drivers: hv: vmbus: Fix a bug in the channel callback dispatch code

Starting with Win8, we have implemented several optimizations to improve the
scalability and performance of the VMBUS transport between the Host and the
Guest. Some of the non-performance critical services cannot leverage these
optimization since they only read and process one message at a time.
Make adjustments to the callback dispatch code to account for the way
non-performance critical drivers handle reading of the channel.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/connection.c