Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 43a5e4e2 authored by Ming Lei's avatar Ming Lei Committed by Jens Axboe
Browse files

block: blk-mq: support draining mq queue


blk_mq_drain_queue() is introduced so that we can drain
mq queue inside blk_cleanup_queue().

Also don't accept new requests any more if queue is marked
as dying.

Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: default avatarMing Lei <tom.leiming@gmail.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent b28bc9b3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment