[PATCH 0/7] Expand usage of ckpt_err

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Serge E. Hallyn <serue@xxxxxxxxxx>

This patchset expands the usage of ckpt_err().  It moves the
setting of ckpt_err (and CKPT_CTX_ERROR kflag) into ckpt_err()
itself.  It puts cktp_err()s in useful places for restart, and
in some cases improves the information in the messages.  It
also splits the old 'restore_notify_error', which used to both
set ctx->errno and wake all restarting tasks.  Since we can pass
an error to ckpt_err(), and there might be several ckpt_err()s
along a failure path, we set ctx->errno only the first time, while
we explicitly call restore_wake_all_on_error() at the end (of
do_XYZ_task()) to actually wake the remaining tasks and notify
them of the error.

The intent of this patchset is to provide an end-user with
useful info when restart fails.

It is available as branch nov5.4 of
git://git.kernel.org/pub/scm/linux/kernel/git/sergeh/linux-cr.git (gitweb at
http://git.kernel.org/gitweb.cgi?p=linux/kernel/git/sergeh/linux-cr.git;a=shortlog;h=refs/heads/nov5.4
)

thanks,
-serge
_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers

[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux