[Gllug] Top posting + truncated files in ext4

Nix nix at esperi.org.uk
Sat Mar 14 23:28:41 UTC 2009


On 12 Mar 2009, John Edwards uttered the following:
> Ext3 has a 'commit=' option where you can change the default sync
> interval. Does ext4 have something similar that could be used to
> duplicate the ext3 behaviour?

/proc/sys/vm/dirty_writeback_centisecs controls the interval between
writeback pulses, and /proc/sys/vm/dirty_expire_centisecs controls
the maximum time dirty data is allowed to be kept around without
writing it back. Push the latter down.

(Three patches to fix this in the common case of create-tempfile-
write()-close()-rename() are in 2.6.30-to-be, anyway.)
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list