projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3eb0aa
)
mmc_block: indicate strict ordering
author
Pierre Ossman
<drzeus@drzeus.cx>
Sat, 16 Aug 2008 19:15:50 +0000
(21:15 +0200)
committer
Pierre Ossman
<drzeus@drzeus.cx>
Sun, 12 Oct 2008 09:04:31 +0000
(11:04 +0200)
The MMC block driver services requests one at a time and in strict
order. Indicate this to the block layer so that it can handle barriers
in an efficient manner.
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/card/queue.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mmc/card/queue.c
b/drivers/mmc/card/queue.c
index 5c8f037dca6b84f86986f65a6a107989c5f4bc6f..c25c975bdc3b518c2c0be415ebd22b77abbb0064 100644
(file)
--- a/
drivers/mmc/card/queue.c
+++ b/
drivers/mmc/card/queue.c
@@
-131,6
+131,7
@@
int mmc_init_queue(struct mmc_queue *mq, struct mmc_card *card, spinlock_t *lock
mq->req = NULL;
blk_queue_prep_rq(mq->queue, mmc_prep_request);
+ blk_queue_ordered(mq->queue, QUEUE_ORDERED_DRAIN, NULL);
#ifdef CONFIG_MMC_BLOCK_BOUNCE
if (host->max_hw_segs == 1) {