[maemo-developers] multiblock writes Re: [maemo-developers] Unresolved issues (Week 47)

From: Frantisek Dufka dufkaf at seznam.cz
Date: Wed Nov 29 16:36:35 EET 2006
Tommi Komulainen wrote:
>       * http://maemo.org/pipermail/maemo-developers/2006-October/005985.html
>         MMC - multiblock writes
>         4th mention
>         
>         Does OMAP 1710 support multiblock writes safely?

I guess you can remove it from the list. I take this post
http://linux.omap.com/pipermail/linux-omap-open-source/2006-November/008285.html
as a yes.

Whether omap driver and mmc block layer source in our 2.6.16.27 is ideal 
or not is different story. As for omap.c it seems to be similar in 
current omap git tree and seems to return number of written bytes both 
for DMA and PIO modes [1].

As for mmc block layer there is better error handling in current git 
tree and number of bytes written are taken into account now [2] so the 
operation partly succeeds which has better chance to do whole transfer 
correctly by repeating smaller chunks in case of error. I will try to 
add this to 2.6.16.27. Maybe this will make difference with
http://maemo.org/pipermail/maemo-developers/2006-November/006410.html
or maybe not.

Frantisek

[1] 
http://source.mvista.com/git/gitweb.cgi?p=linux-omap-2.6.git;a=blob;h=2a73361a3896dc0a357ccf76d09b5a462797a5f9;hb=e4bbd3ec9084824eba003cdf91378138f239d03f;f=drivers/mmc/omap.c#l721
[2]
http://source.mvista.com/git/gitweb.cgi?p=linux-omap-2.6.git;a=blob;h=f9027c8db79226250a0e0fced80633be29d16cba;hb=e4bbd3ec9084824eba003cdf91378138f239d03f;f=drivers/mmc/mmc_block.c#l374

More information about the maemo-developers mailing list