lkml.org 
[lkml]   [2004]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2.6.3-mm4] direct_io_worker-aio_complete patch (fixes AIO Oops)
Daniel McNeil wrote:

> Here is the fix to this AIO oops. An AIO O_DIRECT request was extending
> the file so it was done synchronously. However, the request got an
> EFAULT and direct_io_worker() was calling aio_complete() on the iocb and
> returning the EFAULT. When io_submit_one() got the EFAULT return,
> it assume it had to call aio_complete() since the i/o never got
> queued.

Thanks, this does indeed fix the oops for me.

--
Tobias PGP: http://9ac7e0bc.2ya.com
Be vigilant!

-
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 14:01    [W:0.044 / U:1.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site