[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH] Fix intermittent build failures due to busy loopback device



On 12/14/2010 08:18 PM, Cody A.W. Somerville wrote:
  Please accept this simple patch that fixes intermittent build failures
due to busy loopback device by adding a 'sleep 1' statement before
removing a loopback in the Losetup function in functions/losetup.sh.

will apply, thanks.

  Ideally, we should probably add a helper function to remove loopback
devices that does the sleep for us instead of having sleeps in several
places where we do losetup -d or even having Losetup sleep before
returning to avoid this race condition for sure in all cases. However,
I'll leave that improvement for another day.

ack; we can do in 3.x at a later point.

--
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann@progress-technologies.net
Internet:       http://people.progress-technologies.net/~daniel.baumann/


Reply to: