From: Thomas Gleixner <tglx@linutronix.de>
To: Sudeep K N <sudeep.holla@gmail.com>
Cc: linux-mtd@lists.infradead.org, rpurdie@openedhand.com,
dwmw2@infradead.org
Subject: Re: Spare area access information from JFFS2
Date: Sun, 06 May 2007 08:01:49 +0200 [thread overview]
Message-ID: <1178431309.31213.36.camel@localhost.localdomain> (raw)
In-Reply-To: <a1e50e4b0705050918j73dfc01cnd9fdb667f19b31f1@mail.gmail.com>
On Sat, 2007-05-05 at 21:48 +0530, Sudeep K N wrote:
> 1. During Mount: scans the block, [erases], and writes "0x20031985"
> into the spare area on start of every block followed by another
> 18 bytes which spans across multiple pages because free bytes in
> spare area is only 4
JFFS2 writes only 4 bytes, when you set the ecclayout information
correct. Even if you set it to something else, it writes max. 12 bytes.
So your 4 + 18 bytes observation is rather strange.
> 2. Later during main page program operation our nand controller
> updates spare area ECC bytes, during this sequence we are not
> clear whether JFFS2 perform any spare operation to updates it
> meta data.
JFFS2 does not use the spare area for metadata information other than
the cleanmarker.
> 3. Also, we want know, later the above sequence, does JFFS2 performs
> any spare only program operations.
>
No. The only exception is the block_mark_bad operation.
tglx
prev parent reply other threads:[~2007-05-06 5:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-05 16:18 Spare area access information from JFFS2 Sudeep K N
2007-05-06 6:01 ` Thomas Gleixner [this message]
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=1178431309.31213.36.camel@localhost.localdomain \
--to=tglx@linutronix.de \
--cc=dwmw2@infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=rpurdie@openedhand.com \
--cc=sudeep.holla@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox