On Tue, 28 Oct 2008, Nick Piggin wrote: > Improve this by doing range syncs. Also, memory no longer has to be > unmapped to catch the dirty bits for syncing, as dirty bits would remain > coherent due to dirty mmap accounting. mmaped memory doesn't have have to by synchronized at all with read/write. It has to be only synchonized if msync or munmap is called --- that's what Posix says. So direct i/o implementation that ignores mmap would be correct. Direct i/o implementation that is not synchronized w.r.t. nondirect i/o wouldn't. Mikulas -- 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