commit | 04ced159cec863f9bc27015d6b970bb13cfa6176 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Tue Jan 09 08:29:46 2018 -0800 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Jan 09 09:31:15 2018 -0700 |
tree | 6989c083933a76a2a35992b9b2ad51279e16e0a3 | |
parent | 0d52af590552473666da5b6111e7182d6cd23f92 [diff] |
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>