On Wed, Feb 13, 2019 at 10:03:29AM +0100, Szokovacs Robert wrote:

> dirty_expire_centisecs
> This tunable is used to define when dirty data is old enough to be eligible
> for writeout by the kernel flusher threads.  It is expressed in 100'ths
> of a second.  Data which has been dirty in-memory for longer than this
> interval will be written out next time a flusher thread wakes up.
> 
> That can be read in two different ways:

Hat, ize, nem, ezek szerint legalabb 3 fele keppen lehet olvasni :-) Nem
tudom, a fentiekbol hogyan kovetkezne, hogy folyamatos modositas eseten
elmarad a writeback - az eleg gaz lenne adatbiztonsag szempontjabol.

Ami tortenik, az pont az, ami le van irva: ha a file modosul, akkor
adott idovel kesobb elindul egy writeback. Ha a file ekozben tovabb
modosul, az mar semmit nem valtoztat, a writeback ugyis az eppen
aktualis allapotot fogja kiirni. Ha a writeback elinditasa utan tovabb
modosul a file, akkor kezdodik az egesz jatek elolrol.

Gabor
_________________________________________________
linux lista      -      linux@mlf.linux.rulez.org
http://mlf.linux.rulez.org/mailman/listinfo/linux

válasz