Re: [PATCH v2] hv: retry infinitely on hypercall transient failures

From: Greg KH
Date: Thu Jan 05 2017 - 02:47:53 EST


On Wed, Jan 04, 2017 at 06:12:20PM -0800, Long Li wrote:
> From: Long Li <longli@xxxxxxxxxxxxx>
>
> Hyper-v host guarantees that a hypercall will finish in reasonable time.
> Retry infinitely on transient failures to avoid returning error to upper layer.

Again, never retry "forever", always have a way out, otherwise you will
crash.

And again, why are you making this change? What problem does it solve?

greg k-h