Hi all, At present, I met a problem. Open(block, DIRECT_IO) Io_submit()--->write operation Close() Exit(0) After exit(), we found the content of block changed. If we only use aio, the bug can't reproduce. Q1: Is close() wait until all aio to complete? Is exit() to wait until aio to complete? Q2:Who may change the content? The program don't change. Q3:My guess: only using aio, after io_submit, the content already copy to kernel from use-space. But for direct, kernel can't copy. Later kernel do direct_io but the content changed. Thanks! Jianpeng Ma -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html