Re: [dm-devel] [PATCH 12/35] multipathd: add and set cli_handlers in a single step

2021-09-16 Thread Martin Wilck
On Wed, 2021-09-15 at 19:01 -0500, Benjamin Marzinski wrote: > On Fri, Sep 10, 2021 at 01:40:57PM +0200, mwi...@suse.com wrote: > > From: Martin Wilck > > > > Modify set_handler_callback() such that a missing slot is created > > if no matching slot is found. This way, we can skip the > > initiali

Re: [dm-devel] [PATCH 12/35] multipathd: add and set cli_handlers in a single step

2021-09-15 Thread Benjamin Marzinski
On Fri, Sep 10, 2021 at 01:40:57PM +0200, mwi...@suse.com wrote: > From: Martin Wilck > > Modify set_handler_callback() such that a missing slot is created > if no matching slot is found. This way, we can skip the initialization > with NULL handlers on startup. > > Signed-off-by: Martin Wilck >

[dm-devel] [PATCH 12/35] multipathd: add and set cli_handlers in a single step

2021-09-10 Thread mwilck
From: Martin Wilck Modify set_handler_callback() such that a missing slot is created if no matching slot is found. This way, we can skip the initialization with NULL handlers on startup. Signed-off-by: Martin Wilck --- multipathd/cli.c | 85 +++- mul