<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Apr 10, 2017 at 9:14 AM, Michael Chapman <span dir="ltr"><<a href="mailto:mike@very.puzzling.org" target="_blank">mike@very.puzzling.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, 10 Apr 2017, Chris Murphy wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Sun, Apr 9, 2017 at 5:17 AM, Lennart Poettering<br>
<<a href="mailto:lennart@poettering.net" target="_blank">lennart@poettering.net</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
That said, are you sure FIFREEZE is really what we want there? it<br>
appears to also pause any further writes to disk (until FITHAW is<br>
called).<br>
</blockquote>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
So, I am still puzzled why the file system people think that "sync()"<br>
isn't supposed to actually sync things to disk...<br>
</blockquote>
<br>
<a href="https://www.spinics.net/lists/linux-xfs/msg05113.html" rel="noreferrer" target="_blank">https://www.spinics.net/lists/<wbr>linux-xfs/msg05113.html</a><br>
</blockquote>
<br></span>
Ah good, Dave actually suggests using a freeze there. A freeze without a corresponding thaw should be OK if it's definitely after all processes have been killed, since we're just about to reboot anyway. (Obviously we'd want to avoid the whole lot when running in a container or when doing kexec.)<br></blockquote><div><br></div><div>Or, I think, when pivoting back to the shutdown-initramfs. (Though then you also need the shutdown-initramfs to run `fsfreeze`, I guess?)</div></div><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Mantas Mikulėnas <<a href="mailto:grawity@gmail.com" target="_blank">grawity@gmail.com</a>></div></div>
</div></div>