netconsole: Multiple targets and dynamic reconfigurability
Get series with b4
b4 am 20070730024741.10828.48209.sendpatchset@enigma.security.iitk.ac.inVersions newest first
- v3 Latest9 patches 4 repliesIn review
Changes in v3 from the cover letter
=================
* "enabled" must be defined outside #ifdef NETCONSOLE_DYNAMIC
* Some simple enhancements to documentation
* Drop the use of "unlikely" from a condition where I'd got the common case wrong
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | netconsole: Cleanups, codingstyle, prettyficationdrivers/ | +27 | 0 replies | |
| 2/9 | netconsole: Remove bogus checkdrivers/ | +0 | 0 replies | |
| 3/9 | netconsole: Simplify boot/module option setup logicdrivers/ | +14 | 0 replies | |
| 4/9 | netconsole: Use netif_running() in write_msg()drivers/ | +9 | 0 replies | |
| 5/9 | netconsole: Add some useful tips to documentationDocumentation/ | +25 | 0 replies | |
| 6/9 | netconsole: Introduce netconsole_targetdrivers/ | +25 | 0 replies | |
| 7/9 | netconsole: Introduce netconsole_netdev_notifierdrivers/ | +32 | 0 replies | |
| 8/9 | netconsole: Support multiple logging targetsDocumentation/ drivers/ | +137 | 0 replies | |
| 9/9 | netconsole: Support dynamic reconfiguration using configfsDocumentation/ drivers/ drivers/ +2 more | +683 | 2 replies |
Reviews trailers per patch
6 of 9 patches have a Reviewed-by or Acked-by.
| Patch | Matt Mackall | Keiichi Kii |
|---|---|---|
| 1/9 | A-b | |
| 2/9 | A-b | A-b |
| 3/9 | A-b | |
| 4/9 | A-b | |
| 5/9 | A-b | A-b |
| 6/9 | ||
| 7/9 | ||
| 8/9 | ||
| 9/9 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 -mm 0/9] netconsole: Multiple targets and dynamic reconfigurability
[0/9] netconsole: Multiple targets and dynamic reconfigurability
This is v3 of the patchset, the previous versions are available at:
http://lkml.org/lkml/2007/7/4/107
http://lkml.org/lkml/2007/7/10/78
Diffed against 2.6.23-rc1-git6 (6c8dca5d as of writing), but applies successfully to 2.6.23-rc1-mm1 as well.
Patches 1-5 are okay-to-apply to current mainline -git, I think.
Patches 6-9 introduce the new functionality and are requested for inclusion in -mm.
[1/9] netconsole: Cleanups, codingstyle, prettyfication [2/9] netconsole: Remove bogus check
[3/9] netconsole: Simplify boot/module option setup logic [4/9] netconsole: Use netif_running() in write_msg() [5/9] netconsole: Add some useful tips to documentation [6/9] netconsole: Introduce netconsole_target
[7/9] netconsole: Introduce netconsole_netdev_notifier [8/9] netconsole: Support multiple logging targets [9/9] netconsole: Support dynamic reconfiguration using configfs
Changes since v2:
=================
* "enabled" must be defined outside #ifdef NETCONSOLE_DYNAMIC
* Some simple enhancements to documentation
* Drop the use of "unlikely" from a condition where I'd got the common case wrong
About this patchset:
====================
What?
Support multiple remote logging targets in netconsole. Also, ability to dynamically add or remove targets or modify parameters (IP, port, remote MAC address) of targets at runtime, from userspace, using configfs.
Why?
Quoted 1 line
From Keiichi Kii's original post:
[...] current netconsole is not flexible. For example, if you want to change ip address for logging agent, in the case of built-in netconsole, you can't change config except for changing boot parameter and rebooting your system, or in the case of module netconsole, you need to remove it and reload with different parameters. [...] and we have been losing serial console port with PCs and Servers.
(... and especially laptops, I would add.)
Satyam