Add option to limit file size
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 2 repliesIn review
- v11 patch 2 repliesSuperseded
Changes in v2 from the cover letter
Add patches 1, 2 to support dmesg limit with different kernel versions.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | Fix off by one error when checking cache_sizemakedumpfile.c | +2 | 0 replies | |
| 2/3 | Dump dmesg using write_and_check_space()makedumpfile.c makedumpfile.h printk.c | +37 | 0 replies | |
| 3/3 | Add -L option to limit output file sizemakedumpfile.8 makedumpfile.c makedumpfile.h +2 more | +79 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 makedumpfile 0/3] Add option to limit file size
See feature description in patch "Add -L option to limit output file size"
v1:
http://lists.infradead.org/pipermail/kexec/2021-June/022728.html
v2:
Add patches 1, 2 to support dmesg limit with different kernel versions.
Stricter parsing of -L option value.
Instead of using RLIMIT_FSIZE, use write_bytes or SEEK_CUR to enforce limit. This better integrates with the -F option for stdout output.
Benjamin Poirier (3):
Fix off by one error when checking cache_size
Dump dmesg using write_and_check_space()
Add -L option to limit output file size
makedumpfile.8 | 12 ++++-- makedumpfile.c | 115 +++++++++++++++++++++++++++++++++++-------------- makedumpfile.h | 6 ++- print_info.c | 3 ++ printk.c | 24 +++++++---- sadump_info.c | 2 +- 6 files changed, 116 insertions(+), 46 deletions(-)
Signature · 7 lines
2.32.0 _______________________________________________ kexec mailing list [email protected] http://lists.infradead.org/mailman/listinfo/kexec