All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ken Ryan <linuxryan@leesburg-geeks.org>
To: Hans Reiser <reiser@namesys.com>
Cc: Timothy Miller <miller@techsource.com>,
	linux-kernel@vger.kernel.org, pla@morecom.no
Subject: Re: mode data=journal in ext3. Is it safe to use?
Date: Thu, 17 Jun 2004 15:15:03 -0400	[thread overview]
Message-ID: <40D1EDB7.3030401@leesburg-geeks.org> (raw)
In-Reply-To: <40D1D2F0.7080102@namesys.com>

Hans Reiser wrote:

> Timothy Miller wrote:
>
>> Doesn't Reiser4 do wear-leveling for flash?
>
>
> No, we don't.  We do have wandering logs, so it would be feasible to 
> code, but bitmap blocks and super blocks get written to the same 
> locations repeatedly.
>
> Actually, most compact flash devices DO do wear leveling, from what I 
> have heard.


The ones I've seen, only sort of.  They'll allocate writes from 
available erased pages to try to distribute their use, but if you
have a disk that's, say, 70% read-only data and 30% read-write then the 
wear-levelling will only happen on that
30% of the disk.  True wear levelling will actually scrub read-only or 
rarely-written data, forcing it to get off its
duff so the flash cells they're sitting on can get some exercise, and 
give the more worn cells a rest (that scrub
helps ECC fix soft errors from weak cells too).  True wear-levelling is 
really hard, and obviously requires
budgeting extra bandwidth and storage devices for safely shuffling 
around data that the application has no
intention of moving (picture losing power in the middle of a scrub).  
It's not worth it for the consumer CF
usage model of "take photos until the card is full, then copy them all 
to the PC and wipe the card clean".

[Yes, I tend to see this from the inside-out: I'm actually an FPGA/ASIC 
weenie not a kernel hacker.  One of my current
projects is part of a controller chip for a solid-state storage system 
with ${bignum} NAND flash chips.  Alas, my specialty
is video and graphics, so I'm still coming up the learning curve on 
storage systems].

               ken




  reply	other threads:[~2004-06-17 19:16 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-17 14:56 mode data=journal in ext3. Is it safe to use? Ken Ryan
2004-06-17 16:06 ` Timothy Miller
2004-06-17 17:20   ` Hans Reiser
2004-06-17 19:15     ` Ken Ryan [this message]
2004-06-18  6:18       ` Hans Reiser
2004-06-17 19:43     ` Daniel Egger
2004-06-17 19:59       ` Ken Ryan
2004-06-19 14:49 ` Petter Larsen
     [not found] <40FB8221D224C44393B0549DDB7A5CE83E31B1@tor.lokal.lan>
2004-06-15 18:09 ` Petter Larsen
2004-06-15 18:20   ` Eugene Crosser
2004-06-17  8:36     ` Petter Larsen
2004-06-16  7:34   ` Oleg Drokin
2004-06-17  8:27     ` Petter Larsen
2004-06-17 17:09       ` Oleg Drokin
2004-06-18  9:41         ` Helge Hafting
2004-06-18 10:15           ` Oleg Drokin
2004-06-18 11:30             ` Paulo Marques
2004-06-18 12:05               ` Oleg Drokin
2004-06-19 19:16               ` Bernd Eckenfels
2004-06-16 15:49   ` Timothy Miller
2004-06-17  0:51     ` Daniel Pittman
2004-06-17  3:02       ` Tim Connors
2004-06-17  5:35       ` Hans Reiser
2004-06-17 10:08         ` Dave Jones
2004-06-17 16:55           ` Hans Reiser
2004-06-17  8:29     ` Petter Larsen
2004-06-17 19:30       ` Daniel Egger
     [not found]       ` <87wu26mto2.fsf@enki.rimspace.net>
2004-06-27 14:17         ` Petter Larsen
2004-06-28  0:22           ` Daniel Pittman
     [not found]     ` <1805.216.148.213.196.1087426691.squirrel@www.code-visions.com>
2004-06-17 11:23       ` Petter Larsen
2004-06-17 16:26         ` Andreas Dilger

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=40D1EDB7.3030401@leesburg-geeks.org \
    --to=linuxryan@leesburg-geeks.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=miller@techsource.com \
    --cc=pla@morecom.no \
    --cc=reiser@namesys.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.