Files
linux/drivers/block
Lars Ellenberg 6353c97aa7 drbd: fix regression 'out of mem, failed to invoke fence-peer helper'
commit bbc1c5e8ad upstream.

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 that as a new fatal signal and fail.

Fix: flush_signals() before kthread_run().

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-10-09 12:18:43 -07:00
..
2014-04-03 12:01:05 -07:00
2013-03-26 14:48:12 -06:00
2013-04-09 14:13:19 -04:00
2011-08-08 11:40:15 +02:00
2005-04-16 15:20:36 -07:00
2013-04-09 14:13:32 -04:00
2012-03-28 18:30:03 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2013-03-28 14:50:49 -04:00
2013-07-21 18:21:29 -07:00
2013-05-31 11:45:52 -04:00
2013-04-09 14:13:32 -04:00
2009-03-26 21:15:27 +01:00
2013-03-20 15:44:58 +10:30