projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7591103
)
mmc_block: tell block layer there is no seek penalty
author
Pierre Ossman
<drzeus@drzeus.cx>
Tue, 14 Oct 2008 18:04:46 +0000
(20:04 +0200)
committer
Pierre Ossman
<drzeus@drzeus.cx>
Tue, 14 Oct 2008 18:04:46 +0000
(20:04 +0200)
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 406989e992bad75fe1f17e103f8aab87e9cccc11..7a72e75d5c674b94a66ab16073acb89e96a6d42b 100644
(file)
--- a/
drivers/mmc/card/queue.c
+++ b/
drivers/mmc/card/queue.c
@@
-132,6
+132,7
@@
int mmc_init_queue(struct mmc_queue *mq, struct mmc_card *card, spinlock_t *lock
blk_queue_prep_rq(mq->queue, mmc_prep_request);
blk_queue_ordered(mq->queue, QUEUE_ORDERED_DRAIN, NULL);
+ queue_flag_set_unlocked(QUEUE_FLAG_NONROT, mq->queue);
#ifdef CONFIG_MMC_BLOCK_BOUNCE
if (host->max_hw_segs == 1) {