mirror of
https://github.com/torvalds/linux.git
synced 2024-11-18 10:01:43 +00:00
10f21df4a2
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>
23 lines
524 B
C
23 lines
524 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _MMC_CORE_BLOCK_H
|
|
#define _MMC_CORE_BLOCK_H
|
|
|
|
struct mmc_queue;
|
|
struct request;
|
|
|
|
void mmc_blk_issue_rq(struct mmc_queue *mq, struct request *req);
|
|
|
|
void mmc_blk_cqe_recovery(struct mmc_queue *mq);
|
|
|
|
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;
|
|
|
|
void mmc_blk_mq_complete_work(struct work_struct *work);
|
|
|
|
#endif
|