diff options
author | Philipp Reisner <philipp.reisner@linbit.com> | 2010-10-27 11:32:36 -0400 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2011-03-10 05:34:49 -0500 |
commit | c4752ef1284519c3baa1c3b19df34a80b4905245 (patch) | |
tree | 60585a6a3ad1ff8165e6921f348eb17701b39732 /drivers/block/drbd/drbd_main.c | |
parent | 73a01a18b9c28a0fab1131ece5b0a9bc00a879b8 (diff) |
drbd: When proxy's buffer drained off go into regular resync mode
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_main.c')
-rw-r--r-- | drivers/block/drbd/drbd_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/drbd/drbd_main.c b/drivers/block/drbd/drbd_main.c index 0dc93f43a476..f49505cf8d0f 100644 --- a/drivers/block/drbd/drbd_main.c +++ b/drivers/block/drbd/drbd_main.c | |||
@@ -2846,6 +2846,7 @@ void drbd_init_set_defaults(struct drbd_conf *mdev) | |||
2846 | INIT_LIST_HEAD(&mdev->unplug_work.list); | 2846 | INIT_LIST_HEAD(&mdev->unplug_work.list); |
2847 | INIT_LIST_HEAD(&mdev->go_diskless.list); | 2847 | INIT_LIST_HEAD(&mdev->go_diskless.list); |
2848 | INIT_LIST_HEAD(&mdev->md_sync_work.list); | 2848 | INIT_LIST_HEAD(&mdev->md_sync_work.list); |
2849 | INIT_LIST_HEAD(&mdev->start_resync_work.list); | ||
2849 | INIT_LIST_HEAD(&mdev->bm_io_work.w.list); | 2850 | INIT_LIST_HEAD(&mdev->bm_io_work.w.list); |
2850 | 2851 | ||
2851 | mdev->resync_work.cb = w_resync_inactive; | 2852 | mdev->resync_work.cb = w_resync_inactive; |