[RFC PATCH 0/17] Introduce ckpt_error

Serge Hallyn serge at us.ibm.com
Tue Oct 27 15:46:10 PDT 2009


This patchset tweaks __ckpt_generate_fmt() to take one format with
%(X) enhancements.  It renames it ckpt_generate_fmt and makes it
non-static and introduces ckpt_error() as a user, which writes
information about why c/r failed to an optional user-provided
log fd.  If CONFIG_CHECKPOINT_DEBUG=y then these msgs are also
printk'd.

At the end of the patchset I introduce some callers of ckpt_error(),
but those are mainly for demonstration - those patches certainly
should not be applied as we want to be more systematic about both
when and how we output such information.

This patch is also available as branch oct27.writerr.ckpterr.6 of
http://git.kernel.org/gitweb.cgi?p=linux/kernel/git/sergeh/linux-cr.git;a=summary

-serge


More information about the Containers mailing list