Expand usage of ckpt_err
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | move handling of err down into _ckpt_do_msg and _appendcheckpoint/ include/ | +39 | 1 reply | |
| 2/7 | restart.c: use ckpt_errcheckpoint/ | +57 | 3 replies | |
| 3/7 | process.c: use ckpt_err at restartcheckpoint/ | +8 | 1 reply | |
| 4/7 | files.c: ckpt_err() during restorecheckpoint/ | +7 | 0 replies | |
| 5/7 | kernel/cred.c: ckpt_err at restartkernel/ | +36 | 2 replies | |
| 6/7 | have ckpt_err set ctx->errnocheckpoint/ checkpoint/ include/ | +40 | 2 replies | |
| 7/7 | (debug) print vpids for all restarting taskscheckpoint/ | +1 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] Expand usage of ckpt_err
From: Serge E. Hallyn <serue-r/[email protected]>
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 ofgit://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