Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 213163
b: refs/heads/master
c: 856c50c
h: refs/heads/master
i:
  213161: 58a22a0
  213159: f190a94
v: v3
  • Loading branch information
Lars Ellenberg authored and Philipp Reisner committed Oct 14, 2010
1 parent 578c508 commit 41f7f20
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9d282875d85ebc2b49362310677fc0dcd91b9db9
refs/heads/master: 856c50c7b616d50e1a3ccd4ce35f7814650fa594
5 changes: 5 additions & 0 deletions trunk/drivers/block/drbd/drbd_receiver.c
Original file line number Diff line number Diff line change
Expand Up @@ -3804,6 +3804,9 @@ static void drbdd(struct drbd_conf *mdev)
err_out:
drbd_force_state(mdev, NS(conn, C_PROTOCOL_ERROR));
}
/* If we leave here, we probably want to update at least the
* "Connected" indicator on stable storage. Do so explicitly here. */
drbd_md_sync(mdev);
}

void drbd_flush_workqueue(struct drbd_conf *mdev)
Expand Down Expand Up @@ -4685,10 +4688,12 @@ int drbd_asender(struct drbd_thread *thi)
if (0) {
reconnect:
drbd_force_state(mdev, NS(conn, C_NETWORK_FAILURE));
drbd_md_sync(mdev);
}
if (0) {
disconnect:
drbd_force_state(mdev, NS(conn, C_DISCONNECTING));
drbd_md_sync(mdev);
}
clear_bit(SIGNAL_ASENDER, &mdev->flags);

Expand Down

0 comments on commit 41f7f20

Please sign in to comment.