drbd: introduce dynamic debug
authorChristoph Böhmwalder <christoph.boehmwalder@linbit.com>
Thu, 1 Dec 2022 11:03:48 +0000 (12:03 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 1 Dec 2022 18:33:49 +0000 (11:33 -0700)
commitaa034695971124f673d4ccdd39cd7f269904ea86
treeaa10fd97d597e15fbaef13ff0c6387472ffea29e
parent136160c1732e3f86afd70c19ec6d1f5e6f79a7e9
drbd: introduce dynamic debug

Incorporate as many out-of-tree changes as possible without changing the
genl API.

Over the years, we restructured this several times, and also changed the
log format.

One breaking change is that DRBD 9 gained "implicit options", like a
connection name. This cannot be replayed here without changing the API,
so save it for later.

Originally-from: Andreas Gruenbacher <agruen@linbit.com>
Originally-from: Philipp Reisner <philipp.reisner@linbit.com>
Originally-from: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Christoph Böhmwalder <christoph.boehmwalder@linbit.com>
Link: https://lore.kernel.org/r/20221201110349.1282687-4-christoph.boehmwalder@linbit.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/drbd/drbd_polymorph_printk.h