drbd: reduce number of spinlock drop/re-aquire cycles
authorLars Ellenberg <lars.ellenberg@linbit.com>
Wed, 4 Dec 2013 11:07:09 +0000 (12:07 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 10 Jul 2014 13:22:21 +0000 (15:22 +0200)
Instead of dropping and re-aquiring the spinlock around the submit,
just remember that we want to submit, and do that only once we have
dropped the spinlock for good.

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

Simple merge