[PATCH 7/7] hv_vmbus: Add gradually increased delay for retries in vmbus_post_msg()

2015-03-27 Thread K. Y. Srinivasan
From: Haiyang Zhang Most of the retries can be done within a millisecond successfully, so we sleep 1ms before the first retry, then gradually increase the retry interval to 2^n with max value of 2048ms. Doing so, we will have shorter overall delay time, because most of the cases succeed within

[PATCH 7/7] hv_vmbus: Add gradually increased delay for retries in vmbus_post_msg()

2015-03-27 Thread K. Y. Srinivasan
From: Haiyang Zhang haiya...@microsoft.com Most of the retries can be done within a millisecond successfully, so we sleep 1ms before the first retry, then gradually increase the retry interval to 2^n with max value of 2048ms. Doing so, we will have shorter overall delay time, because most of the