[LTP] [PATCH] aio_suspend_4-1: Fix failures on s390x

Cyril Hrubis chrubis@suse.cz
Tue Feb 7 15:35:25 CET 2017


Hi!
> >  	/* Wait for list processing completion */
> >  	while (!received_all)
> > -		sleep(1);
> > +		usleep(50000);
> 
> Should we limit this loop by some counter? If something goes wrong,
> this can loop forever.

I've added a 5 minute limit here, which should be more than enough since
the test runs for less than one second.

> Other than nit above, it looks good to me, ACK.

And pushed with your ack.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list