[dm-devel] [PATCH 1/2] multipathd: register threads that use rcu calls

Martin Wilck mwilck at suse.com
Fri Mar 23 20:56:35 UTC 2018


On Fr, 2018-03-23 at 15:00 -0500, Benjamin Marzinski wrote:
> All calls to condlog() are rcu reader side calls, so any thread that
> uses condlog() must register itself. The only threads that are exempt
> are log_thread, since it never calls condlog (or any other function
> that
> calls get_multipath_config) and mpath_pr_event_handler_fn, which is
> only
> called by mpath_persist, which disables the rcu handling.
> 
> Signed-off-by: Benjamin Marzinski <bmarzins at redhat.com>

Reviewed-by: Martin Wilck <mwilck at suse.com>

-- 
Dr. Martin Wilck <mwilck at suse.com>, Tel. +49 (0)911 74053 2107
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)




More information about the dm-devel mailing list