Message ID | 20220227172144.508118-15-hch@lst.de |
---|---|
State | New |
Headers | show |
Series | [01/14] blk-mq: do not include passthrough requests in I/O accounting | expand |
diff --git a/block/genhd.c b/block/genhd.c index 5368ec88e485f..d78910ef0c893 100644 --- a/block/genhd.c +++ b/block/genhd.c @@ -629,7 +629,6 @@ void del_gendisk(struct gendisk *disk) blk_mq_freeze_queue_wait(q); blk_throtl_cancel_bios(disk->queue); - rq_qos_exit(q); blk_sync_queue(q); blk_flush_integrity(); /* @@ -1121,7 +1120,7 @@ static void disk_release_mq(struct request_queue *q) elevator_exit(q); mutex_unlock(&q->sysfs_lock); } - + rq_qos_exit(q); __blk_mq_unfreeze_queue(q, true); }