[Drbd-dev] stonith-related regression introduced around kernel 3.13, with 3.15.3 still affected

Lars Ellenberg lars.ellenberg at linbit.com
Mon Jul 7 11:03:07 CEST 2014


On Mon, Jul 07, 2014 at 10:41:33AM +0200, Mariusz Mazur wrote:
> On Fri of July 4 2014, Lars Ellenberg wrote:
> 
> > Yeah, sorry, typo, leave off the pending-.
> > 
> > It's flush_signals(current);
> > 
> > diff --git a/drbd/drbd_nl.c b/drbd/drbd_nl.c
> > index 9e6adaa..d8b83d7 100644
> > --- a/drbd/drbd_nl.c
> > +++ b/drbd/drbd_nl.c
> > @@ -586,6 +586,7 @@ void conn_try_outdate_peer_async(struct drbd_connection
> > *connection) struct task_struct *opa;
> > 
> >  	kref_get(&connection->kref);
> > +	flush_signals(current);
> >  	opa = kthread_run(_try_outdate_peer_async, connection, "drbd_async_h");
> >  	if (IS_ERR(opa)) {
> >  		drbd_err(connection, "out of mem, failed to invoke fence-peer
> > helper\n");
> 
> Yup, this worked. Should it maybe get sent upstream to the kernel? :)

Yes Sir Captain Obvious Sir.

 ;-)

Thanks for confirming, anyways.

	Lars

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.


More information about the drbd-dev mailing list