Re: vfs: Add MS_FLUSHONFSYNC mount flag

From: Theodore Tso
Date: Sun Feb 22 2009 - 18:23:59 EST


On Sun, Feb 22, 2009 at 03:15:33PM +0100, Pavel Machek wrote:
>
> Sounds like posix violation to
> me... '/sys/fsync_does_not_really_sync'?

It's as much a Posix violation as noatime. :-)

> Perhaps it is better done at glibc level? Environment variables
> already mostly have semantics you want.....

Environment variables own't allow us to switch fsync's on and off
while the process is running, so that the system can run "safe" while
it is on AC mains, but "low power" when on battery.

- Ted
--
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/