diff options
author | Zhang Jiejing <jiejing.zhang@freescale.com> | 2012-10-29 17:45:23 +0800 |
---|---|---|
committer | Zhang Jiejing <jiejing.zhang@freescale.com> | 2012-10-29 18:18:05 +0800 |
commit | 8e379daa487741af8eab4880831f6d1bab9f732f (patch) | |
tree | 5195ccca08ec05020b98cbb38e1e4f2a533f51f4 /drivers | |
parent | ff20182d2dece41c639542facbd04e12b1501e06 (diff) |
ENGR00231492 Android: MMC: remove sdhci async support to reduce sync() latency.
The sdhci async mmc coomand support will batch too much write command,
it will cause the thread call sync() become very slow, it will cause
the sqlite operation become very slow.
This patch will improve the latency of sqlite operation a lot,
one test case, without this patch, the async() will wait for 6 write command,
and with this patch, it only wait for one write command, in a slow SD card,
the different will be 3000ms vs 500ms.
Since this async() function not improve performance a lot for fast card(eMMC),
but it will affect too much for slow card like TF card, remove this function.
Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
Diffstat (limited to 'drivers')
-rwxr-xr-x | drivers/mmc/host/sdhci.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index ba625b3ca376..4ed551e3c795 100755 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c @@ -1942,8 +1942,6 @@ static void sdhci_pre_req(struct mmc_host *mmc, struct mmc_request *mrq, static const struct mmc_host_ops sdhci_ops = { .request = sdhci_request, - .post_req = sdhci_post_req, - .pre_req = sdhci_pre_req, .set_ios = sdhci_set_ios, .get_ro = sdhci_get_ro, .enable_sdio_irq = sdhci_enable_sdio_irq, |