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

Lennart Sorensen wrote:
> In other words: Don't use sync with flash media.  It's a horribly bad
> idea, and if you look into how flash works (at least the cheaper ones)
> you will realize why.  Anything with a limited number of writes allowed
> to each sector should avoid rewriting the same sector again and again,
> and that is what sync does when you use filesystems designed for disks
> rather than flash.  JFFS was designed for flash use and rotates the
> sectors it uses to store filesystem meta data and has spare space in the
> filesystem to do wearleveling at the filesystem level.  vfat and ext2/3
> do not, and it shows.  At least write caching/delayed write back
> elliminates the worst of the rewriting of the meta data sectors.
>
So, we should first ask whether this happens with *new* MMC cards or not.

-- 
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.

  reply	other threads:[~2005-06-02  6:53 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 [this message]
2005-06-02  9:17     ` Jarkko Lavinen

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=429EACC9.30303@yandex.ru \
    --to=dedekind@yandex.ru \
    --cc=jarkko.lavinen@nokia.com \
    --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®