From: Jens Axboe Date: Mon, 22 Dec 2014 21:04:42 +0000 (-0700) Subject: block: wake up waiters when a queue is marked dying X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~101^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aed3ea94bdd2ac0a21ed0103d34097e202ee77f6;p=pandora-kernel.git block: wake up waiters when a queue is marked dying If it's dying, we can't expect new request to complete and come in an wake up other tasks waiting for requests. So after we have marked it as dying, wake up everybody currently waiting for a request. Once they wake, they will retry their allocation and fail appropriately due to the state of the queue. Tested-by: Keith Busch Signed-off-by: Jens Axboe --- Reading git-diff-tree failed