[lxc-users] writeback cache for all container processes?

Tomasz Chmielewski mangoo at wpkg.org
Mon Feb 2 11:59:31 UTC 2015


Is it possible to start a lxc container with "writeback cache", in a way 
similar to KVM's writeback cache?

 From "man kvm":

cache=writeback

       It will report data writes as completed as soon as the data is 
present in the host page cache.  This is safe
       as long as your guest OS makes sure to correctly flush disk caches 
where needed. If your guest OS does not
       handle volatile disk write caches correctly and your host crashes 
or loses power, then the guest may
       experience data corruption.


-- 
Tomasz Chmielewski
http://www.sslrack.com



More information about the lxc-users mailing list