<div dir="ltr">You do know that lxc share the same kernel instance as the host OS, making such settings not applicable?<div><br></div><div><div>-- </div><div>Fajar</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 2, 2015 at 6:59 PM, Tomasz Chmielewski <span dir="ltr"><<a href="mailto:mangoo@wpkg.org" target="_blank">mangoo@wpkg.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Is it possible to start a lxc container with "writeback cache", in a way similar to KVM's writeback cache?<br>
<br>
>From "man kvm":<br>
<br>
cache=writeback<br>
<br>
It will report data writes as completed as soon as the data is present in the host page cache. This is safe<br>
as long as your guest OS makes sure to correctly flush disk caches where needed. If your guest OS does not<br>
handle volatile disk write caches correctly and your host crashes or loses power, then the guest may<br>
experience data corruption.<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
-- <br>
Tomasz Chmielewski<br>
<a href="http://www.sslrack.com" target="_blank">http://www.sslrack.com</a><br>
<br>
______________________________<u></u>_________________<br>
lxc-users mailing list<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org" target="_blank">lxc-users@lists.<u></u>linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" target="_blank">http://lists.linuxcontainers.<u></u>org/listinfo/lxc-users</a></font></span></blockquote></div><br></div>