Re: [PATCH] ubifs: Add freeze support

From: Amir Goldstein
Date: Mon May 29 2017 - 01:40:20 EST


On Mon, May 29, 2017 at 7:40 AM, Hyunchul Lee <hyc.lee@xxxxxxxxx> wrote:
>
> and I missed the following case.
>
> in some embedded systems, clean-up for shutdown should be fast.
> during this clean-up, freeze file system to guarantee integrity.
> umount with MNT_DETACH is not suitable because of not killing tasks.
>

Interesting point. It seems that good old "sync; reboot" does not cut
it anymore.
Not even emergency remount read-only sysrq trigger.

Some of you may have been following this thread on fsdevel:
https://www.spinics.net/lists/linux-xfs/msg06953.html

Probably less have been following this longer thread on xfs list:
https://www.spinics.net/lists/linux-xfs/msg06883.html