]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: move hctx lock/unlock into a helper
authorJens Axboe <axboe@kernel.dk>
Tue, 9 Jan 2018 16:29:46 +0000 (08:29 -0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 9 Jan 2018 16:31:15 +0000 (09:31 -0700)
commit7deaa3f705595a5cc0f3a21a00725e248e79d4ef
tree6989c083933a76a2a35992b9b2ad51279e16e0a3
parentfefb441d5831003bfec0a6a06d350415b843c236
blk-mq: move hctx lock/unlock into a helper

Move the RCU vs SRCU logic into lock/unlock helpers, which makes
the actual functional bits within the locked region much easier
to read.

tj: Reordered in front of timeout revamp patches and added the missing
    blk_mq_run_hw_queue() conversion.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c