Because blk_mq_hw_queue_need_run() now returns false if a queue is frozen, protecting request queue changes with blk_mq_quiesce_queue() and blk_mq_unquiesce_queue() while a queue is frozen is no longer necessary. Hence this patch that removes quiesce/unquiesce calls on frozen queues. Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx> --- drivers/block/aoe/aoedev.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/block/aoe/aoedev.c b/drivers/block/aoe/aoedev.c index 3a240755045b..b765be7765e7 100644 --- a/drivers/block/aoe/aoedev.c +++ b/drivers/block/aoe/aoedev.c @@ -236,11 +236,8 @@ aoedev_downdev(struct aoedev *d) /* fast fail all pending I/O */ if (d->blkq) { - /* UP is cleared, freeze+quiesce to insure all are errored */ + /* UP is cleared, freeze to ensure all are errored */ unsigned int memflags = blk_mq_freeze_queue(d->blkq); - - blk_mq_quiesce_queue(d->blkq); - blk_mq_unquiesce_queue(d->blkq); blk_mq_unfreeze_queue(d->blkq, memflags); }