[CRIU] [PATCH] pie: pages -- Make sure the pages data is closed properly

Pavel Emelyanov xemul at parallels.com
Thu Oct 10 11:58:16 PDT 2013


On 10/10/2013 08:21 PM, Cyrill Gorcunov wrote:
> On Thu, Oct 10, 2013 at 06:56:15PM +0400, Cyrill Gorcunov wrote:
>> sys_close starts "flush" procedure inside the kernel so
>> we're to be sure that data is written properly and we're
>> not ignoring -EIO and such.
> 
> Pavel, this patch  should prevent from occasional maps04 test failures
> I think.
> .
> 

It does not. When "criu dump" process exits it close the fd anyway.
Other than this -- writing to images is performed with regular write-s,
thus happen into page cache. When you read data back from the cache
it will be consistent anyway for normal local FS.


More information about the CRIU mailing list