lkml.org 
[lkml]   [2003]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2.5.71-mm1] aio process hang on EINVAL
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/

\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.073 / U:0.636 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site