Re: [dm-devel] [PATCH v2] multipathd: fix compilation issue with liburcu < 0.8

2021-05-14 Thread Benjamin Marzinski
On Thu, May 13, 2021 at 09:53:58PM +0200, mwi...@suse.com wrote: > From: Martin Wilck > > To avoid race conditions with pending RCU callbacks on exit, it's > necessary to call rcu_barrier() in cleanup_rcu() (see > https://lists.lttng.org/pipermail/lttng-dev/2021-May/029958.html and > follow-ups).

[dm-devel] [PATCH v2] multipathd: fix compilation issue with liburcu < 0.8

2021-05-13 Thread mwilck
From: Martin Wilck To avoid race conditions with pending RCU callbacks on exit, it's necessary to call rcu_barrier() in cleanup_rcu() (see https://lists.lttng.org/pipermail/lttng-dev/2021-May/029958.html and follow-ups). rcu_barrier() is only available in User-space RCU v0.8 and newer. Fix it by