From: David Woodhouse <dwmw2@infradead.org>
To: andersen@codepoet.org
Cc: linux-mtd@lists.infradead.org
Subject: Re: mkfs.jffs2.c rework
Date: Mon, 25 Nov 2002 12:12:33 +0000 [thread overview]
Message-ID: <3752.1038226353@passion.cambridge.redhat.com> (raw)
In-Reply-To: <20021125120649.GB18046@codepoet.org>
andersen@codepoet.org said:
> Hmm. Ok, your're the boss. I guess we can pretend it's always 4096
> as long as the kernel code is doing the right thing. It looked like
> the kernel code was assuming the block size matched the page cache
> size. No big deal.
We assume that no node crosses a page boundary. It's fine for there to be
nodes which are _smaller_ than a page, just not larger.
> I suppose so, the code is pretty clean now I think. Whats a
> cleanmarker? :)
Small node written to the beginning of each erased block to mark it as
being properly erased. Otherwise the JFFS2 code will erase it again just to
make sure. Currently we do this for the free space in a partition after
it's first mounted -- if our jffs2 image is padded to the right length and
has cleanmarkers in, we wouldn't need to.
I don't think we want it to be the default though -- we'd have to ensure
the erase size was correct if we did that.
--
dwmw2
next prev parent reply other threads:[~2002-11-25 11:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-25 11:18 mkfs.jffs2.c rework Erik Andersen
2002-11-25 11:49 ` David Woodhouse
2002-11-25 12:06 ` Erik Andersen
2002-11-25 12:12 ` David Woodhouse [this message]
2002-11-25 12:21 ` Erik Andersen
2002-11-25 12:39 ` Kenneth Johansson
2002-11-25 13:50 ` johan.adolfsson
2002-11-25 16:18 ` Joakim Tjernlund
2002-11-25 16:20 ` David Woodhouse
2002-11-25 16:33 ` Joakim Tjernlund
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=3752.1038226353@passion.cambridge.redhat.com \
--to=dwmw2@infradead.org \
--cc=andersen@codepoet.org \
--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