OSDN Git Service

drbd: Leave IO suspended if the fence handler find the peer primary
authorPhilipp Reisner <philipp.reisner@linbit.com>
Mon, 28 Apr 2014 16:43:13 +0000 (18:43 +0200)
committerJens Axboe <axboe@fb.com>
Wed, 30 Apr 2014 19:46:54 +0000 (13:46 -0600)
commitd7fe69c6a1940c3f9c5bed08634b6dd868612cdf
treea58b3e1e0bd3c420e94b85d963e73e33d915dfeb
parent31007745a5f328b8d70d865c4a6118be01421b8c
drbd: Leave IO suspended if the fence handler find the peer primary

Actually we are clearing the susp_fen flag if we are not going
to call a fencing handler.

For setting the susp_fen flag needs to be edge-triggerd, and not
level triggered.

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>
drivers/block/drbd/drbd_nl.c
drivers/block/drbd/drbd_state.c