]> git.baikalelectronics.ru Git - kernel.git/commit
drbd: use drbd_device_post_work() in more places
authorLars Ellenberg <lars.ellenberg@linbit.com>
Tue, 11 Feb 2014 08:47:58 +0000 (09:47 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 10 Jul 2014 16:34:55 +0000 (18:34 +0200)
commitac0acb9e39ac41575cc6a344d04295436fd4eb4e
treeb5eea64e0f5f8814e51915f4e39d79bbd19e1c27
parente334f55095b908f12c8bad991433f5d609e919d1
drbd: use drbd_device_post_work() in more places

This replaces the md_sync_work member of struct drbd_device
by a new MD_SYNC "work bit" in device->flags.

This replaces the resync_start_work member of struct drbd_device
by a new RS_START "work bit" in device->flags.

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