]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
block: disable runtime-pm for blk-mq
authorChristoph Hellwig <hch@lst.de>
Fri, 21 Jul 2017 11:46:10 +0000 (13:46 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 24 Jul 2017 14:46:40 +0000 (08:46 -0600)
commit765e40b675a9566459ddcb8358ad16f3b8344bbe
treed30e1887c6994b433a40517163cea651769a2cb8
parent31c4ccc3ecb4944f6936082fabb5a86e3d086191
block: disable runtime-pm for blk-mq

The blk-mq code lacks support for looking at the rpm_status field, tracking
active requests and the RQF_PM flag.

Due to the default switch to blk-mq for scsi people start to run into
suspend / resume issue due to this fact, so make sure we disable the runtime
PM functionality until it is properly implemented.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c