Merge branch 'netconsole-add-support-for-userdata-release'
authorPaolo Abeni <pabeni@redhat.com>
Fri, 21 Mar 2025 17:59:27 +0000 (18:59 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Fri, 21 Mar 2025 17:59:28 +0000 (18:59 +0100)
commitddf9c6d982ae7472a4da982e0497be2a140a194b
treeab0cdbb075f3f47717817129c159bdbbe8fc5667
parent08d0185e36ad8bb5902a73711bf114765d282161
parent56ad890de2cd42cece7975aa8e8fb6bd909a909f
Merge branch 'netconsole-add-support-for-userdata-release'

Breno Leitao says:

====================
netconsole: Add support for userdata release

I am submitting a series of patches that introduce a new feature for the
netconsole subsystem, specifically the addition of the 'release' field
to the sysdata structure. This feature allows the kernel release/version
to be appended to the userdata dictionary in every message sent,
enhancing the information available for debugging and monitoring
purposes.

This complements the already supported release prepend feature, which
was added some time ago. The release prepend appends the release
information at the message header, which is not ideal for two reasons:

 1) It is difficult to determine if a message includes this information,
    making it hard and resource-intensive to parse.

 2) When a message is fragmented, the release information is appended to
    every message fragment, consuming valuable space in the packet.

The "release prepend" feature was created before the concept of userdata
and sysdata. Now that this format has proven successful, we are
implementing the release feature as part of this enhanced structure.

This patch series aims to improve the netconsole subsystem by providing
a more efficient and user-friendly way to include kernel release
information in messages. I believe these changes will significantly aid
in system analysis and troubleshooting.

Suggested-by: Manu Bretelle <chantr4@gmail.com>
Signed-off-by: Breno Leitao <leitao@debian.org>
====================

Link: https://patch.msgid.link/20250314-netcons_release-v1-0-07979c4b86af@debian.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>