Skip to content

Commit

Permalink
mmc: block: Add blk-mq support
Browse files Browse the repository at this point in the history
Define and use a blk-mq queue. Discards and flushes are processed
synchronously, but reads and writes asynchronously. In order to support
slow DMA unmapping, DMA unmapping is not done until after the next request
is started. That means the request is not completed until then. If there is
no next request then the completion is done by queued work.

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>
  • Loading branch information
ahunter6 authored and storulf committed Dec 11, 2017
1 parent c3d53d0 commit 8119697
Show file tree
Hide file tree
Showing 4 changed files with 808 additions and 31 deletions.
Loading

0 comments on commit 8119697

Please sign in to comment.