]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc7913ed11ebbadd7e9d83f6e1b52b359946e632c
tree06bbb2b276bd9e1285b0b27a46d14bcf02c14cdb
parent8ff437fb6ca3de8175cdef5bb3c893724e28df74
drbd: reduce number of spinlock drop/re-aquire cycles

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