OSDN Git Service

mmc: block: blk-mq: Add support for direct completion
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 29 Nov 2017 13:41:07 +0000 (15:41 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 11 Dec 2017 11:44:35 +0000 (12:44 +0100)
commit10f21df4a23540b5da8e88d1030ff8c37818e04f
tree4183f75ffa51c14d5e9090f851cf6495e0283f62
parent8ee82bda230fc972c7ee3bb15ce1260eefb4721c
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>
drivers/mmc/core/block.c
drivers/mmc/core/block.h
drivers/mmc/core/host.h
drivers/mmc/core/queue.c
drivers/mmc/core/queue.h
include/linux/mmc/host.h