On Mon, Apr 10, 2017 at 9:14 AM, Michael Chapman <m...@very.puzzling.org> wrote:
> On Mon, 10 Apr 2017, Chris Murphy wrote: > >> On Sun, Apr 9, 2017 at 5:17 AM, Lennart Poettering >> <lenn...@poettering.net> wrote: >> >> That said, are you sure FIFREEZE is really what we want there? it >>> appears to also pause any further writes to disk (until FITHAW is >>> called). >>> >> >> So, I am still puzzled why the file system people think that "sync()" >>> isn't supposed to actually sync things to disk... >>> >> >> https://www.spinics.net/lists/linux-xfs/msg05113.html >> > > 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.) > Or, I think, when pivoting back to the shutdown-initramfs. (Though then you also need the shutdown-initramfs to run `fsfreeze`, I guess?) -- Mantas Mikulėnas <graw...@gmail.com>
_______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel