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)
commit5197c05e16b49885cc9086f1676455371e821b0e
treee151f60f04634a0035ca31835ad93cf11830ef62
parent04ced159cec863f9bc27015d6b970bb13cfa6176
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