diff options
author | Aaron Lu <aaron.lu@intel.com> | 2013-05-17 11:47:20 +0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2013-05-17 12:00:43 +0400 |
commit | c60855cdb976c632b3bf8922eeab8a0e78edfc04 (patch) | |
tree | 5f261de9a65462c17e0ca756ebff059127b96803 /block/Kconfig.iosched | |
parent | c0a363f5cf21f79d72ab630524c3aa06fc6d066c (diff) | |
download | linux-c60855cdb976c632b3bf8922eeab8a0e78edfc04.tar.xz |
blkpm: avoid sleep when holding queue lock
In blk_post_runtime_resume, an autosuspend request will be initiated for
the device. Since we are holding the queue lock, we can't sleep and thus
we should use the async version to initiate an autosuspend, i.e.
pm_request_suspend instead of pm_runtime_suspend, which might sleep.
Signed-off-by: Aaron Lu <aaron.lu@intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/Kconfig.iosched')
0 files changed, 0 insertions, 0 deletions