]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
block: rename blk_mq_freeze_queue_start()
authorMing Lei <tom.leiming@gmail.com>
Mon, 27 Mar 2017 12:06:57 +0000 (20:06 +0800)
committerJens Axboe <axboe@fb.com>
Wed, 29 Mar 2017 14:03:42 +0000 (08:03 -0600)
commit1671d522cdd9933dee7dddfcf9f62c561283824a
tree075b8a1fb1a83a3301c6f928cfbdb815961de1f6
parent5ed61d3f08d44937859dc537c5362ca293c98b04
block: rename blk_mq_freeze_queue_start()

As the .q_usage_counter is used by both legacy and
mq path, we need to block new I/O if queue becomes
dead in blk_queue_enter().

So rename it and we can use this function in both
paths.

Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-core.c
block/blk-mq.c
drivers/block/mtip32xx/mtip32xx.c
drivers/nvme/host/core.c
include/linux/blk-mq.h