]> git.karo-electronics.de Git - linux-beck.git/commit
drbd: reduce lock contention in drbd_worker
authorLars Ellenberg <lars.ellenberg@linbit.com>
Thu, 11 Sep 2014 12:29:12 +0000 (14:29 +0200)
committerJens Axboe <axboe@fb.com>
Thu, 11 Sep 2014 14:41:29 +0000 (08:41 -0600)
commit729e8b87bac63dee09302ddffc05a7ba0e50c9ad
treef5e211f46358cec78fe411b1ddbba5f8f307991f
parentabde9cc6a59cb7f07fda4c77fee2150314e423fa
drbd: reduce lock contention in drbd_worker

The worker may now dequeue work items in batches.
This should reduce lock contention during busy periods.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/drbd/drbd_worker.c