JFFS3 memory consumption

Josh Boyer jdub at us.ibm.com
Thu Jan 27 20:53:09 EST 2005


On Fri, 2005-01-28 at 00:33 +0000, David Woodhouse wrote:
> On Fri, 2005-01-28 at 01:19 +0100, Thomas Gleixner wrote:
> > Sure. I'm aware of O_SYNC, fsync() and sync().
> > 
> > Please reread http://sources.redhat.com/jffs2/jffs2.pdf
> 
> That isn't a promise that I'll continue to guarantee anything that POSIX
> doesn't guarantee, especially in JFFS3.
> 
> I'm not going to object to a mount option which forces O_SYNC behaviour
> for all files. But there's no need for that to be the default.

Isn't that what the MS_SYNCHRONOUS flag is for?  I seem to recall using
that in a different filesystem once.  Something like:

mount -t <fstype> -o sync <dev> <mnt>

josh





More information about the linux-mtd mailing list