From: Aaron Lu Date: Fri, 17 May 2013 07:47:20 +0000 (+0800) Subject: blkpm: avoid sleep when holding queue lock X-Git-Tag: v3.10-rc6~20^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c60855cdb976c632b3bf8922eeab8a0e78edfc04;p=pandora-kernel.git 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 Signed-off-by: Jens Axboe --- Reading git-diff-tree failed