drbd: add explicit plugging when submitting batches
authorLars Ellenberg <lars.ellenberg@linbit.com>
Tue, 29 Aug 2017 08:20:34 +0000 (10:20 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 29 Aug 2017 21:34:44 +0000 (15:34 -0600)
commitde6978be4407ced653dda5d6c052d67d8d768dd0
tree2303dfcd55f1cf331ef5c2cfd826e43298ab7e45
parent9da10e8da3b3e126d82973e2147ba47767fb3b0e
drbd: add explicit plugging when submitting batches

When submitting batches of requests which had been queued on the
submitter thread, typically because they needed to wait for an
activity log transactions, use explicit plugging to help potential
merging of requests in the backend io-scheduler.

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