diff options
author | Lars Ellenberg <lars.ellenberg@linbit.com> | 2012-08-22 13:47:14 +0400 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2012-11-09 17:08:21 +0400 |
commit | bc317a9ecd641b78a4b237cb22b30ecf11443c77 (patch) | |
tree | a7c97ada41d22ff2f7fb7aae8bd025818e79a458 /drivers/block/drbd/drbd_main.c | |
parent | c02abda2b28734a7e97e15db866507b3cb92b7d0 (diff) | |
download | linux-bc317a9ecd641b78a4b237cb22b30ecf11443c77.tar.xz |
drbd: dequeue single work items in wait_for_work()
As long as we still use drbd_queue_work_front(),
we must only dequeue the single first item during normal operation.
The comment in drbd_worker() even says so,
but bc8a5a1 drbd: remove struct drbd_tl_epoch objects (barrier works)
introduced the batch dequeueing again via list_splice_init() in
wait_for_work().
Change back to list_move() of the first item, if any.
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')
0 files changed, 0 insertions, 0 deletions