Messages in this thread | | | Date | Fri, 5 Mar 2004 16:39:17 +0100 | From | Tobias Diedrich <> | Subject | Re: [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/
| |