drbd: get rid of drbd_queue_work_front
authorLars Ellenberg <lars.ellenberg@linbit.com>
Tue, 11 Feb 2014 10:15:36 +0000 (11:15 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 10 Jul 2014 16:34:56 +0000 (18:34 +0200)
commit4dd726f02928ded116f6c9aaf6392a400ef0d9f7
tree17ed624b36d20a09ba0f8551e959db4ff0c9e8c2
parentac0acb9e39ac41575cc6a344d04295436fd4eb4e
drbd: get rid of drbd_queue_work_front

The last user was al_write_transaction, if called with "delegate",
and the last user to call it with "delegate = true" was the receiver
thread, which has no need to delegate, but can call it himself.

Finally drop the delegate parameter, drop the extra
w_al_write_transaction callback, and drop drbd_queue_work_front.

Do not (yet) change dequeue_work_item to dequeue_work_batch, though.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_actlog.c
drivers/block/drbd/drbd_int.h
drivers/block/drbd/drbd_receiver.c
drivers/block/drbd/drbd_req.c
drivers/block/drbd/drbd_worker.c
This page took 0.030325 seconds and 5 git commands to generate.