Messages in this thread | | | From | (bill davidsen) | Subject | Re: 2.6.0-test6-mm4 - oops in __aio_run_iocbs() | Date | 9 Oct 2003 19:24:45 GMT |
| |
In article <20031009111624.GA11549@in.ibm.com>, Suparna Bhattacharya <suparna@in.ibm.com> wrote: | On Wed, Oct 08, 2003 at 04:18:15PM -0700, Daniel McNeil wrote: | | __aio_run_iocbs should have been called only for buffered i/o, | so this sounds like an O_DIRECT fallback to buffered i/o. | Possibly after already submitting some blocks direct to BIO, | the i/o completion path for which ends up calling aio_complete | releasing the iocb. That could explain the use-after-free situation | you see. | | But, O_DIRECT write should fallback to buffered i/o only if it | encounters holes in the middle of the file, not for simple appends | as in your case. Need to figure out how this could have happened ...
Are the write kept ordered? -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc Doing interesting things with little computers since 1979. - 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/
| |