]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: protect completion path with RCU
authorTejun Heo <tj@kernel.org>
Tue, 9 Jan 2018 16:29:47 +0000 (08:29 -0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 9 Jan 2018 16:31:15 +0000 (09:31 -0700)
commit825b1bb00081a8d6d56406e4ee57d880afb7ef5d
treee151f60f04634a0035ca31835ad93cf11830ef62
parent7deaa3f705595a5cc0f3a21a00725e248e79d4ef
blk-mq: protect completion path with RCU

Currently, blk-mq protects only the issue path with RCU.  This patch
puts the completion path under the same RCU protection.  This will be
used to synchronize issue/completion against timeout by later patches,
which will also add the comments.

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