summaryrefslogtreecommitdiff
path: root/include/linux/mmc/host.h
diff options
context:
space:
mode:
authorGilad Broner <gbroner@codeaurora.org>2015-08-13 17:58:30 +0300
committerSubhash Jadavani <subhashj@codeaurora.org>2016-05-31 15:27:15 -0700
commit9bc36b07a2c375ad4fac740f273cf2b83b5cd4e8 (patch)
treef11d67467e103ff468128d3f8b0410ad9a6b9568 /include/linux/mmc/host.h
parent602d8c8cfc1fbd35b87843baf0e8e18d8b8957ac (diff)
mmc: core: kick block queue after unhalting cmdq
If request has to be requeued due to cmdq being halted and if we change the task status to interruptible before going to sleep then cmdq thread may not wakeup again. Note that blk_requeue_request() doesn't trigger ->request_fn() again to wakeup the cmdq thread. Fix this issue by kicking the queue once cmdq state machine is unhalted. Change-Id: Icbfb3b6560285fa0a0ce7e83eee66b651d4594a0 Signed-off-by: Gilad Broner <gbroner@codeaurora.org> Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Diffstat (limited to 'include/linux/mmc/host.h')
-rw-r--r--include/linux/mmc/host.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h
index c6d0ff9f1cbe..aa9df4ce96e5 100644
--- a/include/linux/mmc/host.h
+++ b/include/linux/mmc/host.h
@@ -257,6 +257,7 @@ struct mmc_cmdq_context_info {
/* no free tag available */
unsigned long req_starved;
wait_queue_head_t queue_empty_wq;
+ struct request_queue *q;
};
/**