summaryrefslogtreecommitdiff
path: root/fs/nilfs2/nilfs.h
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2018-07-30 15:02:19 +0300
committerJens Axboe <axboe@kernel.dk>2018-08-02 19:36:02 +0300
commitb233f127042dba991229e3882c6217c80492f6ef (patch)
tree3cf4b40536ec5da10dbca089c30e041baa0ba021 /fs/nilfs2/nilfs.h
parent99972f171bba19243999310154b7442198f0ab30 (diff)
downloadlinux-b233f127042dba991229e3882c6217c80492f6ef.tar.xz
block: really disable runtime-pm for blk-mq
Runtime PM isn't ready for blk-mq yet, and commit 765e40b675a9 ("block: disable runtime-pm for blk-mq") tried to disable it. Unfortunately, it can't take effect in that way since user space still can switch it on via 'echo auto > /sys/block/sdN/device/power/control'. This patch disables runtime-pm for blk-mq really by pm_runtime_disable() and fixes all kinds of PM related kernel crash. Cc: Tomas Janousek <tomi@nomi.cz> Cc: Przemek Socha <soprwa@gmail.com> Cc: Alan Stern <stern@rowland.harvard.edu> Cc: <stable@vger.kernel.org> Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Tested-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/nilfs2/nilfs.h')
0 files changed, 0 insertions, 0 deletions