diff options
| author | Adrian Hunter <[email protected]> | 2017-11-29 13:41:07 +0000 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2017-12-11 11:44:35 +0000 |
| commit | 10f21df4a23540b5da8e88d1030ff8c37818e04f (patch) | |
| tree | 4183f75ffa51c14d5e9090f851cf6495e0283f62 /drivers/mmc/core/queue.h | |
| parent | mmc: sdhci-pci: Add CQHCI support for Intel GLK (diff) | |
| download | kernel-10f21df4a23540b5da8e88d1030ff8c37818e04f.tar.gz kernel-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 <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
Tested-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/mmc/core/queue.h')
| -rw-r--r-- | drivers/mmc/core/queue.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/core/queue.h b/drivers/mmc/core/queue.h index 1d7d3b0afff8..34f601c6dd39 100644 --- a/drivers/mmc/core/queue.h +++ b/drivers/mmc/core/queue.h @@ -103,6 +103,7 @@ struct mmc_queue { bool waiting; struct work_struct recovery_work; wait_queue_head_t wait; + struct request *recovery_req; struct request *complete_req; struct mutex complete_lock; struct work_struct complete_work; |
