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

2021-05-13 Thread Martin Wilck
On Thu, 2021-05-13 at 11:35 -0500, Benjamin Marzinski wrote: > > > > diff --git a/multipathd/Makefile b/multipathd/Makefile > > index d053c1e..dc7eb32 100644 > > --- a/multipathd/Makefile > > +++ b/multipathd/Makefile > > @@ -16,6 +16,8 @@ LDFLAGS += $(BIN_LDFLAGS) > >  LIBDEPS += -L$(multipathdir

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

2021-05-13 Thread Benjamin Marzinski
On Wed, May 12, 2021 at 11:17:05PM +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] multipathd: fix compilation issue with liburcu < 0.8

2021-05-12 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