diff options
author | 2018-08-21 15:05:55 +0300 | |
---|---|---|
committer | 2018-08-21 16:12:41 +0200 | |
commit | 26caddf274cf1e89fd4ce44ab2b8dbc7a7f97681 (patch) | |
tree | 52b81204031618043211b80dc1c5adc0fa880e7d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mmc: android-goldfish: fix bad logic of sg_copy_{from,to}_buffer conversion (diff) | |
download | linux-dev-26caddf274cf1e89fd4ce44ab2b8dbc7a7f97681.tar.xz linux-dev-26caddf274cf1e89fd4ce44ab2b8dbc7a7f97681.zip |
mmc: block: Fix unsupported parallel dispatch of requests
The mmc block driver does not support parallel dispatch of requests. In
normal circumstances, all requests are anyway funneled through a single
work item, so parallel dispatch never happens. However it can happen if
there is no elevator.
Fix that by detecting if a dispatch is in progress and returning busy
(BLK_STS_RESOURCE) in that case
Fixes: 81196976ed94 ("mmc: block: Add blk-mq support")
Cc: stable@vger.kernel.org # v4.16+
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions