summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/block.h
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2017-11-29 15:41:07 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2017-12-11 12:44:35 +0100
commit10f21df4a23540b5da8e88d1030ff8c37818e04f (patch)
tree4183f75ffa51c14d5e9090f851cf6495e0283f62 /drivers/mmc/core/block.h
parent8ee82bda230fc972c7ee3bb15ce1260eefb4721c (diff)
downloadtalos-obmc-linux-10f21df4a23540b5da8e88d1030ff8c37818e04f.tar.gz
talos-obmc-linux-10f21df4a23540b5da8e88d1030ff8c37818e04f.zip
mmc: block: blk-mq: Add support for direct completion
For blk-mq, add support for completing requests directly in the ->done callback. That means that error handling and urgent background operations must be handled by recovery_work in that case. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Tested-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/mmc/core/block.h')
-rw-r--r--drivers/mmc/core/block.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/core/block.h b/drivers/mmc/core/block.h
index f472ce5d5647..b126418fd163 100644
--- a/drivers/mmc/core/block.h
+++ b/drivers/mmc/core/block.h
@@ -13,6 +13,7 @@ enum mmc_issued;
enum mmc_issued mmc_blk_mq_issue_rq(struct mmc_queue *mq, struct request *req);
void mmc_blk_mq_complete(struct request *req);
+void mmc_blk_mq_recovery(struct mmc_queue *mq);
struct work_struct;
OpenPOWER on IntegriCloud