On Wed, Sep 09, 2009 at 01:51:02PM -0700, Mingming wrote: ..... ..... > > I think fsync() still won't work correctly since it can happen user sees > > AIO completed, calls fsync() that completes, > > hmm, does fsync() ensure user sees AIO data completed? > If we call fsync after getting AIO completion event and crash we should ensure that the data can be read back properly. That is either a) we should ensure that we convert the extent before returning the io completion event b) Or the fsync should be able to guarantee that it will force the extent conversion pending on the file. -aneesh -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html