[dm-devel] [PATCH 13/15] libmultipath: add new checker class functions
Martin Wilck
mwilck at suse.com
Fri Jan 17 17:41:15 UTC 2020
On Thu, 2020-01-16 at 20:18 -0600, Benjamin Marzinski wrote:
> This commit adds the optional functions libcheck_load,
> libcheck_unload,
> and libcheck_reset. libcheck_load is called when a checker is first
> loaded, libcheck_unload is called when it is unloaded, and
> libcheck_reset is called during reconfigure, after all the current
> paths have been removed. They are designed to setup, reset, and
> destroy
> global state that all checkers of this class use. They will be used
> in future commits.
>
> Signed-off-by: Benjamin Marzinski <bmarzins at redhat.com>
> ---
> libmultipath/checkers.c | 29 ++++++++++++++++++++++++++++-
> libmultipath/checkers.h | 1 +
> multipathd/main.c | 1 +
> 3 files changed, 30 insertions(+), 1 deletion(-)
>
Reviewed-by: Martin Wilck <mwilck at suse.com>
More information about the dm-devel
mailing list