projects
/
platform
/
kernel
/
linux-stable.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
|
history
diff --git
a/drivers/mmc/card/queue.c
b/drivers/mmc/card/queue.c
index
5c8f037
..
c25c975
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) {