summaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd/drbd_state.c
diff options
context:
space:
mode:
authorPhilipp Reisner <philipp.reisner@linbit.com>2011-02-09 14:10:32 +0100
committerPhilipp Reisner <philipp.reisner@linbit.com>2011-09-28 10:33:16 +0200
commit2a67d8b93b3363d4a5608d16d510a4bf6b3863fb (patch)
tree1df36bd453029bf29dc5d4dbb97b6212f00736bb /drivers/block/drbd/drbd_state.c
parent00d56944ff086f895e9ad184a7785ca1eece4a3b (diff)
downloadblackbird-op-linux-2a67d8b93b3363d4a5608d16d510a4bf6b3863fb.tar.gz
blackbird-op-linux-2a67d8b93b3363d4a5608d16d510a4bf6b3863fb.zip
drbd: Converted drbd_send_ping() and related functions from mdev to tconn
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_state.c')
-rw-r--r--drivers/block/drbd/drbd_state.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/drbd/drbd_state.c b/drivers/block/drbd/drbd_state.c
index 30a3a1de07cb..d5777159a2b1 100644
--- a/drivers/block/drbd/drbd_state.c
+++ b/drivers/block/drbd/drbd_state.c
@@ -737,6 +737,7 @@ __drbd_set_state(struct drbd_conf *mdev, union drbd_state ns,
wake_up(&mdev->misc_wait);
wake_up(&mdev->state_wait);
+ wake_up(&mdev->tconn->ping_wait);
/* aborted verify run. log the last position */
if ((os.conn == C_VERIFY_S || os.conn == C_VERIFY_T) &&
OpenPOWER on IntegriCloud