public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: Jonas Holmberg <jonas.holmberg@axis.com>
Cc: mtd <linux-mtd@lists.infradead.org>
Subject: Re: JFFS2 on 8MB Flash-Chip conneted to MPC850 works extremly slo w:(
Date: Wed, 05 Sep 2001 11:06:58 +0100	[thread overview]
Message-ID: <26212.999684418@redhat.com> (raw)
In-Reply-To: <3C6BEE8B5E1BAC42905A93F13004E8AB6B6B24@mailse01.axis.se>

jonas.holmberg@axis.com said:
>  My partition is fairly small so the mount time is OK right now, but I
> will also be using a larger partition (about 3MB) later. Is anybody
> working on this checkpointing thing? Could you explain the concept
> briefly?  

Currently we have to scan the whole thing on startup because we know 
nothing about its state. By occasionally writing a checkpoint - a brain 
dump of the jffs2 code's internal state, we can speed up the mount.

You'd only ever write a checkpoint at the beginning of an erase block. 
The mount code would look at the beginning of each block, and would note 
the most recent checkpoint. It can suck in the state from that checkpoint 
and then go on to read every node in the blocks which were written _after_ 
that checkpoint.


>  Is it possible to "hide" a bootloader at the beginning of a jffs2
> partition so that jffs2 ignores it (when mounting read-only) and still
> be able to upgrade the whole partition (bootloader + jffs2 fs) using
> the mtd character device? 

Not really. Why not just upgrade bootloader and jffs2 fs using two separate 
character devices?

--
dwmw2

  reply	other threads:[~2001-09-05 10:00 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-05 10:01 JFFS2 on 8MB Flash-Chip conneted to MPC850 works extremly slo w:( Jonas Holmberg
2001-09-05 10:06 ` David Woodhouse [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-09-11  9:01 Jonas Holmberg
2001-09-11  9:11 ` David Woodhouse
2001-09-06 14:29 Jonas Holmberg
2001-09-06 13:47 Jonas Holmberg
2001-09-06 13:48 ` David Woodhouse
2001-09-05 12:24 Jonas Holmberg
2001-09-05 12:28 ` David Woodhouse
2001-09-05 11:46 Jonas Holmberg
2001-09-05 11:52 ` David Woodhouse
2001-09-05 11:01 Jonas Holmberg
2001-09-05 11:35 ` David Woodhouse
2001-09-05  9:25 Jonas Holmberg
2001-09-05  9:28 ` David Woodhouse
2001-09-05  9:06 Jonas Holmberg
2001-09-05  9:10 ` David Woodhouse
2001-09-05  8:56 Jonas Holmberg
2001-09-05  8:57 ` 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=26212.999684418@redhat.com \
    --to=dwmw2@infradead.org \
    --cc=jonas.holmberg@axis.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