lkml.org 
[lkml]   [2007]   [Feb]   [9]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 9 Feb 2007 11:11:52 +0100 (CET)
FromJiri Kosina <>
SubjectRE: [PATCH] aio: fix kernel bug when page is temporally busy
On Fri, 9 Feb 2007, Ananiev, Leonid I wrote:

> I have used EIOCBRETRY in the patch to minimize source code modification 
> only. It is notable that EIOCBRETRY is never set in kernel, but tested 
> only.

There is indeed something strange in aio in 2.6.20 (and maybe older) - for 
example do_generic_mapping_read() gets stuck inside lock_page() in the 
situation when the page is not up-to-date, instead of returning properl 
error to aio_run_cb().

Or does it work in some other way and I get it wrong?

-- 
Jiri Kosina
-
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: 2007-02-09 10:17    [from the cache]
©2003-2008