[CRIU] [PATCH] deduplication: make seek_pagemap_page properly handle eof

Pavel Emelyanov xemul at parallels.com
Fri Jan 24 03:51:31 PST 2014


On 01/21/2014 02:05 PM, Tikhomirov Pavel wrote:
> because eof in restore means that we don't have "must have" data, so
> it mean error exit, but in dedup, it's ok not to have data we seek, so
> we continue returning normally
> 
> also it's used that if off < pr-cvaddr then no eof happened and if eof
> happened then off >= pr-cvaddr(then return of seek_pagemap_page is 0)
> 
> Signed-off-by: Tikhomirov Pavel <snorcht at gmail.com>

applied


More information about the CRIU mailing list