All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/22] Standardize c/r error reporting (v2)
@ 2009-10-30 23:00 serue-r/Jw6+rmf7HQT0dZR+AlfA
       [not found] ` <1256943629-4531-1-git-send-email-serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 12+ messages in thread
From: serue-r/Jw6+rmf7HQT0dZR+AlfA @ 2009-10-30 23:00 UTC (permalink / raw)
  To: orenl-RdfvBDnrOixBDgjK7y7TUQ
  Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA

From: Serge E. Hallyn <serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>

This patchset does the following:
        1. defines ckpt_error()
        2. allows users to pass a logfd into sys_checkpoint and
           sys_restart
        3. Switches ckpt_write_err() to accepting a single enhanced
           format string, instead of two separate formats.
        4. Has ckpt_write_err() call ckpt_error() to also log the
           error in the user-provided logfile and syslog.

Every ckpt_error() message is prefixed by current's global pid, current's
virtual pid, number of bytes read/written, and the ctx->errno.

I'm sending just the meaningful patches this time:

	0001-Make-__ckpt_generate_fmt-public.patch
	0002-Add-format-and-message-buffers-to-ctx-and-make-err_s.patch
	0003-switch-ckpt_generate_err-to-use-ctx-fields.patch
	0004-Change-to-the-new-enhanced-error-string-format.patch
	0013-add-logfd-to-c-r-api.patch
	0014-define-ckpt_error-and-implement-ckpt_do_write_msg.patch
	0015-explain-locking-for-write_err_msg.patch

The full rebased, re-split patchset can be seen at:
	http://git.kernel.org/gitweb.cgi?p=linux/kernel/git/sergeh/linux-cr.git;a=shortlog;h=refs/heads/debuglog-clean
The patches which I am not sending are all just changing the the callers of
ckpt_write_err() or ckpt_debug().

You can see all the changes relative to the patchset I sent yesterday by
looking at the non-rebased branch at:
	http://git.kernel.org/gitweb.cgi?p=linux/kernel/git/sergeh/linux-cr.git;a=shortlog;h=refs/heads/debuglog-nonrebased

-serge

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

end of thread, other threads:[~2009-11-02 17:34 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-30 23:00 [PATCH 00/22] Standardize c/r error reporting (v2) serue-r/Jw6+rmf7HQT0dZR+AlfA
     [not found] ` <1256943629-4531-1-git-send-email-serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-10-30 23:00   ` [PATCH 01/22] Make __ckpt_generate_fmt public serue-r/Jw6+rmf7HQT0dZR+AlfA
2009-10-30 23:00   ` [PATCH 02/22] Add format and message buffers to ctx and make err_str bigger serue-r/Jw6+rmf7HQT0dZR+AlfA
2009-10-30 23:00   ` [PATCH 03/22] switch ckpt_generate_err to use ctx fields serue-r/Jw6+rmf7HQT0dZR+AlfA
2009-10-30 23:00   ` [PATCH 04/22] Change to the new enhanced error string format serue-r/Jw6+rmf7HQT0dZR+AlfA
     [not found]     ` <1256943629-4531-5-git-send-email-serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-11-02 16:33       ` Matt Helsley
     [not found]         ` <20091102163327.GH14023-52DBMbEzqgQ/wnmkkaCWp/UQ3DHhIser@public.gmane.org>
2009-11-02 16:52           ` Serge E. Hallyn
     [not found]             ` <20091102165220.GA32067-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-11-02 17:10               ` Matt Helsley
2009-11-02 17:34       ` Matt Helsley
2009-10-30 23:00   ` [PATCH 13/22] add logfd to c/r api serue-r/Jw6+rmf7HQT0dZR+AlfA
2009-10-30 23:00   ` [PATCH 14/22] define ckpt_error and implement ckpt_do_write_msg serue-r/Jw6+rmf7HQT0dZR+AlfA
2009-10-30 23:00   ` [PATCH 15/22] explain locking for write_err_msg serue-r/Jw6+rmf7HQT0dZR+AlfA

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.