mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jarkko Lavinen <jarkko.lavinen@nokia.com>
To: "Artem B. Bityuckiy" <dedekind@yandex.ru>
Cc: Lennart Sorensen <lsorense@csclub.uwaterloo.ca>,
	linux-kernel@vger.kernel.org
Subject: Re: Writing large files onto sync mounted MMC corrupts the FS
Date: Thu, 2 Jun 2005 12:17:59 +0300	[thread overview]
Message-ID: <20050602091759.GA9161@angel.research.nokia.com> (raw)
In-Reply-To: <429EACC9.30303@yandex.ru>

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

      reply	other threads:[~2005-06-02  9:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-01  9:13 Jarkko Lavinen
2005-06-01 13:10 ` Lennart Sorensen
2005-06-02  6:52   ` Artem B. Bityuckiy
2005-06-02  9:17     ` Jarkko Lavinen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050602091759.GA9161@angel.research.nokia.com \
    --to=jarkko.lavinen@nokia.com \
    --cc=dedekind@yandex.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lsorense@csclub.uwaterloo.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®