linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [merged] mmc-at91_mci-enable-large-data-blocks.patch removed from -mm tree
@ 2010-03-09 19:08 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2010-03-09 19:08 UTC (permalink / raw)
  To: wolfgang.mues, avictor.za, linux-mmc, nicolas.ferre, mm-commits


The patch titled
     mmc: at91_mci: enable large data blocks
has been removed from the -mm tree.  Its filename was
     mmc-at91_mci-enable-large-data-blocks.patch

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: mmc: at91_mci: enable large data blocks
From: Wolfgang Muees <wolfgang.mues@auerswald.de>

This patch is setting some max_ variables for the IO elevator, so the
elevator will put requests for large data blocks to the driver.  This is
critical for

a) speed

and

b) wear leveling of the flash chip controller: Otherwise the controller
   will treat the SD card badly with millions of single 4 KByte write
   commands.  This will lead to a shorter life time for the SD cards.

Signed-off-by: Wolfgang Muees <wolfgang.mues@auerswald.de>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Andrew Victor <avictor.za@gmail.com>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/mmc/host/at91_mci.c |    3 +++
 1 file changed, 3 insertions(+)

diff -puN drivers/mmc/host/at91_mci.c~mmc-at91_mci-enable-large-data-blocks drivers/mmc/host/at91_mci.c
--- a/drivers/mmc/host/at91_mci.c~mmc-at91_mci-enable-large-data-blocks
+++ a/drivers/mmc/host/at91_mci.c
@@ -934,6 +934,9 @@ static int __init at91_mci_probe(struct 
 	mmc->max_blk_size  = MCI_MAXBLKSIZE;
 	mmc->max_blk_count = MCI_BLKATONCE;
 	mmc->max_req_size  = MCI_BUFSIZE;
+	mmc->max_phys_segs = MCI_BLKATONCE;
+	mmc->max_hw_segs   = MCI_BLKATONCE;
+	mmc->max_seg_size  = MCI_BUFSIZE;
 
 	host = mmc_priv(mmc);
 	host->mmc = mmc;
_

Patches currently in -mm which might be from wolfgang.mues@auerswald.de are



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-03-09 19:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-09 19:08 [merged] mmc-at91_mci-enable-large-data-blocks.patch removed from -mm tree akpm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).