lkml.org 
[lkml]   [2003]   [Jun]   [16]   [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


Daniel McNeil wrote:

>Are there other error return values where it should jump to the
>aio_put_req()? Should the check be:
>
>
The situation is much worse. The io_submit_one() code in 2.5.71
distinguishes between conditions where io_submit should fail (which goto
out_put_req) and conditions where the queued operation completes
immediately (which result in a call to aio_complete()). The patch in
2.5.71-mm1 which separates out aio_setup_iocb() loses track of this
distinction, mishandling any case where the queued operation completes
immediately. Aio poll, for instance, depends on being able to indicate
immediate completion.

So the part of aio-01-retry.patch that splits out aio_setup_iocb() is
completely broken.


-
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.473 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site