Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d78dec5b authored by Veerabhadrarao Badiganti's avatar Veerabhadrarao Badiganti
Browse files

mmc: block: Fix issues with mmc ioctl path on 4.14 kernel



On latest kernels, mmc IOCTL commands won't be issued to the driver
directly. Instead, they would be issued through the block layer as
drv_op requests. mmc-cmdq thread process them just like regular
requests by fetching from block layer.

MMC IOCTL commands are getting issued by putting cmdq in halt state.
But when cmdq is in the halt state, cmdq thread won't fetch the
requests until it gets un-halted by other entity (say runtime suspend/
resume). This will result in a delay in processing IOCTL and IO
requests.

Since cmdq thread takes care of halting cq engine when it finds a
drv_op request, no need to halt cmdq anymore in IOCTL path.
It will fix the issue with IOCTL path.

Change-Id: I6636870ddb3f07f594c63045f64821681caaa3ad
Signed-off-by: default avatarVeerabhadrarao Badiganti <vbadigan@codeaurora.org>
parent a6285404
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment