Re: 2.6.0-test6-mm4 - oops in __aio_run_iocbs()

From: Daniel McNeil
Date: Fri Oct 10 2003 - 17:12:35 EST


On Fri, 2003-10-10 at 04:48, Suparna Bhattacharya wrote:

> Could you try applying the following hack and see if it makes a
> difference ?
>
> I was able to recreate an oops running aiocp with the same arguments
> that you mentioned on 2.6.0-test6-mm4; and that didn't seem to
> occur when I applied this patch.
>
> Note: This is not a complete fix though and probably room for doing this
> in a cleaner way. If what I suspect is going on, we'll need more work to get
> there - like thinking through the case where a request spans an allocated
> region followed by a hole.
>
> Regards
> Suparna

good news, I tried the patch and the oops no longer occurs.

I also added code to aiocp to check if the AIO reads are completing out
of order, which would cause the AIO writes to out of order. The reads
are completing in order. However, I added code to check if the AIO
writes are completing out of order, and, if fact, they do. Not very
often, but I got 8 i/o where an i/o farther in file completes before
an earlier i/o.

Daniel

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/