RE: [PATCH 1/2] Drivers: hv: vmbus: Wait for offers during boot

From: Michael Kelley
Date: Tue Oct 22 2024 - 13:38:49 EST


From: Naman Jain <namjain@xxxxxxxxxxxxxxxxxxx> Sent: Tuesday, October 22, 2024 2:55 AM
>
> On 10/21/2024 10:27 AM, Saurabh Singh Sengar wrote:
> > On Fri, Oct 18, 2024 at 04:58:10AM -0700, Naman Jain wrote:

[snip]

> >>
> >> + /* Wait for the host to send all offers. */
> >> + while (wait_for_completion_timeout(
> >> + &vmbus_connection.all_offers_delivered_event, msecs_to_jiffies(10 * 1000)) == 0) {
> >
> > Nit: Can simply put 10000 instead of 10*1000
>
> Noted.
>

If Easwar's patch can get "secs_to_jiffies()" added, that would be even better. :-)

Michael