drbd: add some more explicit drbd_md_sync
authorLars Ellenberg <lars.ellenberg@linbit.com>
Thu, 14 Oct 2010 11:37:40 +0000 (13:37 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 14 Oct 2010 17:08:58 +0000 (19:08 +0200)
commit856c50c7b616d50e1a3ccd4ce35f7814650fa594
tree4ffcbe5f1ce700813516c6d73d188748366fe42a
parent9d282875d85ebc2b49362310677fc0dcd91b9db9
drbd: add some more explicit drbd_md_sync

It sometimes may take a while for the after state change work to be
scheduled, which does drbd_md_sync. At convenient places, we should do
explicit drbd_md_sync to have the new state information on disk as soon
as possible.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_receiver.c