block: disable runtime-pm for blk-mq
authorChristoph Hellwig <[email protected]>
Fri, 21 Jul 2017 11:46:10 +0000 (13:46 +0200)
committerJens Axboe <[email protected]>
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 <[email protected]>
Reviewed-by: Ming Lei <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
block/blk-core.c