linux/drivers/block/drbd
Lars Ellenberg cc85d67f4f 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>
History 2014-10-09 12:21:28 -07:00
..
drbd_actlog.c block: Abstract out bvec iterator 2013-11-23 22:33:47 -08:00
drbd_bitmap.c block: Abstract out bvec iterator 2013-11-23 22:33:47 -08:00
drbd_int.h drbd: Fix adding of new minors with freshly created meta data 2013-11-08 09:10:28 -07:00
drbd_interval.c Merge branch 'drbd-8.4_ed6' into for-3.8-drivers-drbd-8.4_ed6 2012-11-09 14:20:23 +01:00
drbd_interval.h drbd: Iterate over all overlapping intervals in a tree 2011-10-14 16:47:37 +02:00
drbd_main.c block: Immutable bio vecs 2013-11-23 22:33:49 -08:00
drbd_nl.c drbd: fix regression 'out of mem, failed to invoke fence-peer helper' 2014-10-09 12:21:28 -07:00
drbd_nla.c drbd: Split off netlink mandatory attribute handling into separate file 2012-11-08 16:57:45 +01:00
drbd_nla.h drbd: Split off netlink mandatory attribute handling into separate file 2012-11-08 16:57:45 +01:00
drbd_proc.c Merge branch 'for-3.10/drivers' of git://git.kernel.dk/linux-block 2013-05-08 11:51:05 -07:00
drbd_receiver.c block: Convert bio_for_each_segment() to bvec_iter 2013-11-23 22:33:49 -08:00
drbd_req.c block: Abstract out bvec iterator 2013-11-23 22:33:47 -08:00
drbd_req.h block: Abstract out bvec iterator 2013-11-23 22:33:47 -08:00
drbd_state.c drbd: Ignore the exit code of a fence-peer handler if it returns too late 2013-06-28 16:04:36 +02:00
drbd_state.h drbd: Improved logging of state changes 2012-11-08 16:45:06 +01:00
drbd_strings.c drbd: Fix disconnect to keep the peer disk state if connection breaks during operation 2013-03-28 10:10:25 -06:00
drbd_vli.h Fix common misspellings 2011-03-31 11:26:23 -03:00
drbd_worker.c block: Convert bio_for_each_segment() to bvec_iter 2013-11-23 22:33:49 -08:00
drbd_wrappers.h drbd: Split off netlink mandatory attribute handling into separate file 2012-11-08 16:57:45 +01:00
Kconfig drbd: update Kconfig to match current dependencies 2012-12-06 13:08:29 +01:00
Makefile drbd: Split off netlink mandatory attribute handling into separate file 2012-11-08 16:57:45 +01:00