aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorVeerabhadrarao Badiganti <[email protected]>2020-05-06 20:04:02 +0530
committerUlf Hansson <[email protected]>2020-05-08 07:30:05 +0200
commite6bfb1bf00852b55f4c771f47ae67004c04d3c87 (patch)
tree1548bc0cc59e6998b2398b9e83a11cd51e6d7cc5 /net/lapb/lapb_subr.c
parentb56ff195c317ad28c05d354aeecbb9995b8e08c1 (diff)
mmc: core: Check request type before completing the request
In the request completion path with CQE, request type is being checked after the request is getting completed. This is resulting in returning the wrong request type and leading to the IO hang issue. ASYNC request type is getting returned for DCMD type requests. Because of this mismatch, mq->cqe_busy flag is never getting cleared and the driver is not invoking blk_mq_hw_run_queue. So requests are not getting dispatched to the LLD from the block layer. All these eventually leading to IO hang issues. So, get the request type before completing the request. Cc: <[email protected]> Fixes: 1e8e55b67030 ("mmc: block: Add CQE support") Signed-off-by: Veerabhadrarao Badiganti <[email protected]> Acked-by: Adrian Hunter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions