Re: [PATCH 2.5.71-mm1] aio process hang on EINVAL

From: Joel Becker (jlbec@evilplan.org)
Date: Tue Jun 17 2003 - 19:42:14 EST


On Tue, Jun 17, 2003 at 05:25:09PM -0700, John Myers wrote:
> No, you just declare that those errors happend "after queuing."

        But POSIX specifes that all detection that can happen before
queuing should.

> EAGAIN error handling does not require contextual information about the
> operation being queued. Error handling logic that knows about the
> context of the operation queued already has to exist in the
> io_getevents() processing.

        You also now require a poll round and aditional system call to
see the errors. In addition, you waste resources until you pick up the
errorneous call.

Joel

-- 

Life's Little Instruction Book #237

"Seek out the good in people."

http://www.jlbec.org/ jlbec@evilplan.org - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jun 23 2003 - 22:00:23 EST