Re: vfs: Add MS_FLUSHONFSYNC mount flag
From: Jeff Garzik
Date: Sun Feb 22 2009 - 18:47:29 EST
Jeff Garzik wrote:
Correctness should come before performance. Linux has not had
credibility here, in the ATA+ext[23] space at least, and it is
embarrassing.
To be more clear / precise, this means actually performing the
guarantees we claim to the user. For example,
fsync(2) on ext2 should trigger a storage device writeback cache flush
[or equivalent guarantee via FUA].
fsync(2) or journal commit on ext3 should trigger a flush [or equivalent
guarantee via FUA].
Though, certainly, the user should be able to disable this strict
behavior and trade correctness for performance.
Jeff
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/