Hi Jim,

On Wed, Jan 26, 2011 at 10:50:46AM -0800, Cathey, Jim wrote:
> The 'errors' EBUSY and EAGAIN are _temporary_ conditions,
> often the correct response is to try again.  (Even EACCESS,
> ENOSPC, EEXIST, etc. could be considered temporary, depending
> on circumstances, and a delayed retry could be considered the
> right thing to do.  Not commonly, of course.)  Nowhere I know
> of is it required that a retry be exactly the same as a
> rejected attempt, one could even argue that trying it again
> a different way might even be superior under certain conditions.
> (Not, of course, when speaking to devices that have blocking
> requirements, whether advertised or unadvertised.)

OK. But this should at least be consistent. That is, if you retry the IO 
operation, do the full IO, not just the first byte.

baruch

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - [email protected] - tel: +972.2.679.5364, http://www.tkos.co.il -
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to