Re: [PATCH] drbd: fix regression 'out of mem, failed to invoke fence-peer helper'

2014-07-10 Thread Jens Axboe
On 2014-07-10 11:53, Philipp Reisner wrote: Am Donnerstag, 10. Juli 2014, 11:07:22 schrieb Jens Axboe: On 2014-07-09 21:18, Philipp Reisner wrote: From: Lars Ellenberg Since linux kernel 3.13, kthread_run() internally uses wait_for_completion_killable(). We sometimes may use kthread_run() wh

Re: [PATCH] drbd: fix regression 'out of mem, failed to invoke fence-peer helper'

2014-07-10 Thread Philipp Reisner
Am Donnerstag, 10. Juli 2014, 11:07:22 schrieb Jens Axboe: > On 2014-07-09 21:18, Philipp Reisner wrote: > > From: Lars Ellenberg > > > > Since linux kernel 3.13, kthread_run() internally uses > > wait_for_completion_killable(). We sometimes may use kthread_run() > > while we still have a signal

Re: [PATCH] drbd: fix regression 'out of mem, failed to invoke fence-peer helper'

2014-07-10 Thread Jens Axboe
On 2014-07-09 21:18, Philipp Reisner wrote: From: Lars Ellenberg Since linux kernel 3.13, kthread_run() internally uses wait_for_completion_killable(). We sometimes may use kthread_run() while we still have a signal pending, which we used to kick our threads out of potentially blocking network

[PATCH] drbd: fix regression 'out of mem, failed to invoke fence-peer helper'

2014-07-09 Thread Philipp Reisner
From: Lars Ellenberg Since linux kernel 3.13, kthread_run() internally uses wait_for_completion_killable(). We sometimes may use kthread_run() while we still have a signal pending, which we used to kick our threads out of potentially blocking network functions, causing kthread_run() to mistake t