From: David Woodhouse <dwmw2@infradead.org>
To: Ferenc Havasi <havasi@inf.u-szeged.hu>
Cc: linux-mtd@lists.infradead.org
Subject: Re: (NAND) JFFS2 mount time
Date: Thu, 17 Jun 2004 01:25:40 +0100 [thread overview]
Message-ID: <1087431940.4530.14.camel@localhost.localdomain> (raw)
In-Reply-To: <34463.160.114.55.5.1087282322.squirrel@webmail.inf.u-szeged.hu>
On Tue, 2004-06-15 at 08:52 +0200, Ferenc Havasi wrote:
> About our idea/plan: we would like to modify the mkfs and umount porcess
> to store some extra information (inode_cache).
I wasn't going to do it on umount. I was going to do it at the end of
each eraseblock. When we've almost filled an eraseblock we write a
summary to the end of it, containing all the information which we would
otherwise have to read from it during mount.
That's basically a list of the { inode#, physical_offset, length } for
each node in the eraseblock, and something about nlink. Note that
there's a lot of redundancy in the offsets and lengths so we can
contrive a storage method which is fairly efficient.
Then at mount we look first at the _end_ of each eraseblock for such a
summary. If it exists, we read in the state from it. If not, we scan
that particular eraseblock the old way.
--
dwmw2
next prev parent reply other threads:[~2004-06-17 0:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-14 9:58 NAND device for JFFS2? Ferenc Havasi
2004-06-14 10:19 ` David Woodhouse
2004-06-14 16:34 ` Joshua Wise
[not found] ` <40CDACF2.5040502@yandex.ru>
2004-06-15 6:52 ` (NAND) JFFS2 mount time Ferenc Havasi
2004-06-17 0:25 ` David Woodhouse [this message]
2004-06-18 14:48 ` Ferenc Havasi
2004-06-17 7:56 ` Artem B. Bityuckiy
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=1087431940.4530.14.camel@localhost.localdomain \
--to=dwmw2@infradead.org \
--cc=havasi@inf.u-szeged.hu \
--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 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.