All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/17] Introduce ckpt_error
@ 2009-10-27 22:46 Serge Hallyn
       [not found] ` <1256683587-23961-1-git-send-email-serge-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 32+ messages in thread
From: Serge Hallyn @ 2009-10-27 22:46 UTC (permalink / raw)
  To: orenl-eQaUEPhvms7ENvBUuze7eA
  Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA

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

^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2009-10-29 16:02 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-27 22:46 [RFC PATCH 0/17] Introduce ckpt_error Serge Hallyn
     [not found] ` <1256683587-23961-1-git-send-email-serge-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-10-27 22:46   ` [RFC PATCH 01/17] ckpt_write_err: use single format with %(T) style tokens Serge Hallyn
     [not found]     ` <1256683587-23961-2-git-send-email-serge-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-10-28 16:50       ` Matt Helsley
2009-10-27 22:46   ` [RFC PATCH 02/17] make ckpt_format_fmt non-static in checkpoint/sys.c Serge Hallyn
     [not found]     ` <1256683587-23961-3-git-send-email-serge-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-10-28 16:53       ` Matt Helsley
     [not found]         ` <20091028165317.GS31446-52DBMbEzqgQ/wnmkkaCWp/UQ3DHhIser@public.gmane.org>
2009-10-28 18:04           ` Serge E. Hallyn
     [not found]             ` <20091028180418.GB19554-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-10-28 18:31               ` Serge E. Hallyn
2009-10-28 22:21           ` Serge E. Hallyn
2009-10-27 22:46   ` [RFC PATCH 03/17] ckpt_write_err update arch/x86/mm/checkpoint.c Serge Hallyn
2009-10-27 22:46   ` [RFC PATCH 04/17] ckpt_write_err update checkpoint/checkpoint.c Serge Hallyn
2009-10-27 22:46   ` [RFC PATCH 05/17] ckpt_write_err update checkpoint/files.c Serge Hallyn
2009-10-27 22:46   ` [RFC PATCH 06/17] ckpt_write_err update checkpoint/memory.c Serge Hallyn
2009-10-27 22:46   ` [RFC PATCH 07/17] ckpt_write_err update checkpoint/objhash.c Serge Hallyn
2009-10-27 22:46   ` [RFC PATCH 08/17] ckpt_write_err update checkpoint/process.c Serge Hallyn
2009-10-27 22:46   ` [RFC PATCH 09/17] ckpt_write_err update checkpoint/signal.c Serge Hallyn
2009-10-27 22:46   ` [RFC PATCH 10/17] ckpt_write_err update fs/eventpoll.c Serge Hallyn
2009-10-27 22:46   ` [RFC PATCH 11/17] define function to print error messages to user log Serge Hallyn
     [not found]     ` <1256683587-23961-12-git-send-email-serge-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-10-28 18:14       ` Matt Helsley
     [not found]         ` <20091028181415.GB14023-52DBMbEzqgQ/wnmkkaCWp/UQ3DHhIser@public.gmane.org>
2009-10-28 20:54           ` Serge E. Hallyn
     [not found]             ` <20091028205424.GA27394-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-10-28 21:50               ` Oren Laadan
     [not found]                 ` <4AE8BCB5.4030406-RdfvBDnrOixBDgjK7y7TUQ@public.gmane.org>
2009-10-28 22:12                   ` Serge E. Hallyn
     [not found]                     ` <20091028221208.GA30227-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-10-28 22:31                       ` Oren Laadan
     [not found]                         ` <4AE8C639.6090105-RdfvBDnrOixBDgjK7y7TUQ@public.gmane.org>
2009-10-29  0:12                           ` Serge E. Hallyn
     [not found]                             ` <20091029001223.GA1463-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-10-29  0:44                               ` Oren Laadan
     [not found]                                 ` <4AE8E578.4030300-RdfvBDnrOixBDgjK7y7TUQ@public.gmane.org>
2009-10-29  4:23                                   ` Serge E. Hallyn
     [not found]                                     ` <20091029042304.GA9005-A9i7LUbDfNHQT0dZR+AlfA@public.gmane.org>
2009-10-29 16:02                                       ` Oren Laadan
2009-10-27 22:46   ` [RFC PATCH 12/17] use ckpt_error in checkpoint/restart.c Serge Hallyn
2009-10-27 22:46   ` [RFC PATCH 13/17] ckpt_error in checkpoint/files.c Serge Hallyn
2009-10-27 22:46   ` [RFC PATCH 14/17] ckpt_error in checkpoint/process.c Serge Hallyn
2009-10-27 22:46   ` [RFC PATCH 15/17] ckpt_error in ipc/checkpoint_msg.c Serge Hallyn
2009-10-27 22:46   ` [RFC PATCH 16/17] ckpt_error in ipc/checkpoint_sem.c Serge Hallyn
2009-10-27 22:46   ` [RFC PATCH 17/17] ckpt_error in ipc/checkpoint_shm.c Serge Hallyn

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.