]> git.baikalelectronics.ru Git - kernel.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)
commit8e6dd6d28216c5d1f3cd9be5e1132454ddeed76c
treed30e1887c6994b433a40517163cea651769a2cb8
parent8c07041f3207cd30f2c25b91019853f07d578f43
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