]> git.baikalelectronics.ru Git - kernel.git/commit
drbd: Ignore the exit code of a fence-peer handler if it returns too late
authorPhilipp Reisner <philipp.reisner@linbit.com>
Tue, 25 Jun 2013 14:50:06 +0000 (16:50 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 28 Jun 2013 14:04:36 +0000 (16:04 +0200)
commit916b54555032061844811b5caac07b80fa393dc5
treea55a604af453136e8021e62f4ab9656e7a3da4ec
parent5b4a0ef7546eaf482413933b89e5eef9a0e27f1a
drbd: Ignore the exit code of a fence-peer handler if it returns too late

In case the connection was established and lost again before
the a fence-peer handler returns, ignore the exit code of this
instance. (And use the exit code of the later started instance)

Signed-off-by: Andreas Gruenbacher <agruen@linbit.com>
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/drbd/drbd_int.h
drivers/block/drbd/drbd_nl.c
drivers/block/drbd/drbd_state.c