[CRIU] Page Cache

Andrei Vagin avagin at gmail.com
Thu Jun 13 21:07:27 MSK 2019


Hi Diyu,

CRIU handles runtime states of processes and it does nothing with
persistent file systems. If you dump and restore processes on the same
host without moving files, the Linux kernel will write all dirty pages
to disks. If you migrate processes to another host, you need to sync
all dirty pages to disks before migrating a persistent storage to the
remote host. In many cases, it will not requires any additional
actions from your end, it will be done implicitly.

Maybe you can describe your use cases with more details.  Right now, I
don't understand why criu should care about this.

Thanks,
Andrei

On Wed, Jun 12, 2019 at 4:30 PM Diyu Zhou <zhoudiyupku at gmail.com> wrote:
>
> Hey CRIU,
>
> Does CRIU handle dirty pages in page cache during checkpointing? It seems to me
> the code is not there in the main stream commit. Are there code for this in
> other branches by any chance?
>
> Thanks in advance for your help!
>
> Thanks,
> Diyu
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu


More information about the CRIU mailing list