public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: jg@pa.dec.com (Jim Gettys)
Cc: Tim Riker <Tim@Rikers.org>, mtd <linux-mtd@lists.infradead.org>,
	jffs-dev <jffs-dev@axis.com>
Subject: Re: Wear Leveling in JFFS2 NOT working!(?)
Date: Tue, 01 May 2001 13:29:15 +0100	[thread overview]
Message-ID: <3130.988720155@redhat.com> (raw)
In-Reply-To: <200105011155.f41BtTN448532@pachyderm.pa.dec.com>

jg@pa.dec.com said:
> If you have some way to remember how far you got the last time,
> (approximately), then you could restart at the same place, rather than
> at the beginning.

> This has the same desired effect as starting randomly....

> Of course, this may be just reducing the problem to the previously
> unsolved problem, potentially...

It is, but the previously unsolved problem in question is one which we
_might_ need to solve anyway for checkpointing - if we decide that mounts
are slow enough that we actually need checkpointing, that is. 

If that's the case, I suppose we just have a block counter which we stick 
in the erase marker at the beginning of each block, and on scan we order 
the blocks such that the oldest blocks are recycled first. We need 
something like that for checking that blocks still contain the same data as 
the checkpoint tells us, anyway.

But I'm hoping to avoid having to implement checkpointing. We don't have to 
use the blocks strictly in order - just try to make sure we start in a 
different place each time.

--
dwmw2

  reply	other threads:[~2001-05-01 12:29 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-30 22:26 Wear Leveling in JFFS2 NOT working!(?) Vipin Malik
2001-04-30 23:06 ` David Woodhouse
2001-05-01  1:24   ` Tim Riker
2001-05-01  7:21     ` David Woodhouse
2001-05-01  7:43       ` Tim Riker
2001-05-01 12:35         ` David Woodhouse
2001-05-01 11:55       ` Jim Gettys
2001-05-01 12:29         ` David Woodhouse [this message]
2001-05-03 15:27   ` Vipin Malik
2001-05-03 15:29     ` David Woodhouse
  -- strict thread matches above, loose matches on Subject: below --
2001-05-03 15:51 Chris Read
2001-05-03 16:09 ` David Woodhouse

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=3130.988720155@redhat.com \
    --to=dwmw2@infradead.org \
    --cc=Tim@Rikers.org \
    --cc=jffs-dev@axis.com \
    --cc=jg@pa.dec.com \
    --cc=linux-mtd@lists.infradead.org \
    /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