diff options
author | Philipp Reisner <philipp.reisner@linbit.com> | 2010-06-11 13:56:33 +0200 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2010-10-14 14:58:36 +0200 |
commit | 87f7be4cf88e93069f4cc63baf2ce70fdfc59c63 (patch) | |
tree | b76a190b93d4a5d3629c7f25737e11c8231efd6c /drivers/block/drbd/drbd_int.h | |
parent | 1616a25493cce727d582886f162c5bb0abd87e6a (diff) | |
download | kernel_samsung_smdk4412-87f7be4cf88e93069f4cc63baf2ce70fdfc59c63.tar.gz kernel_samsung_smdk4412-87f7be4cf88e93069f4cc63baf2ce70fdfc59c63.tar.bz2 kernel_samsung_smdk4412-87f7be4cf88e93069f4cc63baf2ce70fdfc59c63.zip |
drbd: Run the fence-peer helper asynchronously
Since we can not thaw the transfer log, the next logical step is
to allow reconnects while the fence-peer handler runs.
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'drivers/block/drbd/drbd_int.h')
-rw-r--r-- | drivers/block/drbd/drbd_int.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_int.h b/drivers/block/drbd/drbd_int.h index 03cc975b9e6..ab20c0062d2 100644 --- a/drivers/block/drbd/drbd_int.h +++ b/drivers/block/drbd/drbd_int.h @@ -1423,7 +1423,8 @@ extern void resync_after_online_grow(struct drbd_conf *); extern void drbd_setup_queue_param(struct drbd_conf *mdev, unsigned int) __must_hold(local); extern int drbd_set_role(struct drbd_conf *mdev, enum drbd_role new_role, int force); -enum drbd_disk_state drbd_try_outdate_peer(struct drbd_conf *mdev); +extern enum drbd_disk_state drbd_try_outdate_peer(struct drbd_conf *mdev); +extern void drbd_try_outdate_peer_async(struct drbd_conf *mdev); extern int drbd_khelper(struct drbd_conf *mdev, char *cmd); /* drbd_worker.c */ |