diff options
author | Lars Ellenberg <lars.ellenberg@linbit.com> | 2010-12-16 08:47:39 -0500 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2011-03-10 05:43:29 -0500 |
commit | 02851e9f00d78dbc8ded0aacbf9bf3b631d627b3 (patch) | |
tree | d7a5611fef479c13ff70cccace8f22a963ba6df8 /drivers/block/drbd/drbd_worker.c | |
parent | 84e7c0f7d123d64d97e1f789ad2f23a72fe8981f (diff) |
drbd: move bitmap write from resync_finished to after_state_change
We must not call it directly from resync_finished,
as we may be in either receiver or worker context there.
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_worker.c')
-rw-r--r-- | drivers/block/drbd/drbd_worker.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/block/drbd/drbd_worker.c b/drivers/block/drbd/drbd_worker.c index be46084c254e..2374454cdf17 100644 --- a/drivers/block/drbd/drbd_worker.c +++ b/drivers/block/drbd/drbd_worker.c | |||
@@ -907,9 +907,6 @@ out: | |||
907 | 907 | ||
908 | drbd_md_sync(mdev); | 908 | drbd_md_sync(mdev); |
909 | 909 | ||
910 | dev_info(DEV, "Writing changed bitmap pages\n"); | ||
911 | drbd_queue_bitmap_io(mdev, &drbd_bm_write, NULL, "write from resync_finished"); | ||
912 | |||
913 | if (khelper_cmd) | 910 | if (khelper_cmd) |
914 | drbd_khelper(mdev, khelper_cmd); | 911 | drbd_khelper(mdev, khelper_cmd); |
915 | 912 | ||