diff options
author | Ming Lei <[email protected]> | 2018-07-30 20:02:19 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2018-08-02 10:36:02 -0600 |
commit | b233f127042dba991229e3882c6217c80492f6ef (patch) | |
tree | 3cf4b40536ec5da10dbca089c30e041baa0ba021 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 99972f171bba19243999310154b7442198f0ab30 (diff) |
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 <[email protected]>
Cc: Przemek Socha <[email protected]>
Cc: Alan Stern <[email protected]>
Cc: <[email protected]>
Reviewed-by: Bart Van Assche <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Tested-by: Patrick Steinhardt <[email protected]>
Signed-off-by: Ming Lei <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions