On Dec 25, 2009, at 11:22 AM, Larry McVoy wrote:
Dudes, sync() doesn't flush the fs cache, you have to unmount for
that.
Once upon a time Linux had an ioctl() to flush the fs buffers, I used
it in lmbench.
You do not need to unmount - 2.6.16+ have a mechanism in /proc to
flush caches. See http://linux-mm.org/Drop_Caches
Cheers,
--
Casey Allen Shobe
casey@xxxxxxxxxx
--
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