[CRIU] [PATCH 3/3] zdtm: add --track-mem to final snapshot
Pavel Tikhomirov
snorcht at gmail.com
Mon Apr 14 06:48:02 PDT 2014
Sorry, I always forget to force reply to crml.
Best Regards, Tikhomirov Pavel.
2014-04-14 17:46 GMT+04:00 Pavel Tikhomirov <snorcht at gmail.com>:
> in page_in_parent on last dump if track_mem is not set, all pages are
> not_in_parent
> so all previous snapshots are pointless on restore check. So we need this
> patch to test everything
> that is behind last snapshot.
>
>
> Best Regards, Tikhomirov Pavel.
>
>
> 2014-04-14 15:18 GMT+04:00 Pavel Emelyanov <xemul at parallels.com>:
>
> On 04/09/2014 01:34 PM, Tikhomirov Pavel wrote:
>> > otherwize it won't use/check parent snapshots, only last one
>> > on restore.
>>
>> Can you shed more light on this?
>>
>> > Signed-off-by: Tikhomirov Pavel <snorcht at gmail.com>
>> > ---
>> > test/zdtm.sh | 4 ++--
>> > 1 file changed, 2 insertions(+), 2 deletions(-)
>> >
>> > diff --git a/test/zdtm.sh b/test/zdtm.sh
>> > index d7f8fca..6997afc 100755
>> > --- a/test/zdtm.sh
>> > +++ b/test/zdtm.sh
>> > @@ -487,9 +487,9 @@ EOF
>> > fi
>> >
>> > if [ -n "$SNAPSHOT" ]; then
>> > - snapopt=""
>> > + snapopt="--track-mem"
>> > if [ "$i" -ne "$ITERATIONS" ]; then
>> > - snapopt="$snapopt -R --track-mem"
>> > + snapopt="$snapopt -R"
>> > dump_only=1
>> > [ -n "$PRE_DUMP" ] && dump_cmd="pre-dump"
>> > fi
>> >
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20140414/0e5f10e4/attachment.html>
More information about the CRIU
mailing list