kernel_optimize_test/drivers/block/drbd
Lars Ellenberg bbc1c5e8ad drbd: fix regression 'out of mem, failed to invoke fence-peer helper'
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>
2014-07-10 11:06:03 +02:00
..
drbd_actlog.c
drbd_bitmap.c
drbd_int.h
drbd_interval.c
drbd_interval.h
drbd_main.c
drbd_nl.c
drbd_nla.c
drbd_nla.h
drbd_proc.c
drbd_protocol.h
drbd_receiver.c
drbd_req.c
drbd_req.h
drbd_state.c
drbd_state.h
drbd_strings.c
drbd_strings.h
drbd_vli.h
drbd_worker.c
Kconfig
Makefile