lkml.org 
[lkml]   [2005]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Writing large files onto sync mounted MMC corrupts the FS
On Thu, Jun 02, 2005 at 10:52:57AM +0400, ext Artem B. Bityuckiy wrote:
> So, we should first ask whether this happens with *new* MMC cards or
not.

Flash manufactorers typically claim 100k erase cycles -- some even 1M.
If FAT is updated after each written 512 byte block, filling 64MiB
card in synchronous mode would cause over 100k FAT updates. One
couldn't even fill a new 64MiB card without already breaking it.

With asynchronous mount, one could limit the dirty_ratio from proc to
reduce the sync time against sudden power loss. But wouldn't this have
the same adverse wearing effect as with synchronous mode once the
dirty_ratio is hit and writing still proceeds?

Jarkko Lavinen
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-06-02 11:30    [W:0.040 / U:3.604 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site