From: <priewasser@googlemail.com>
To: linux-mtd@lists.infradead.org
Subject: Question: jffs2_mark_node_obsolete() with NAND
Date: Thu, 5 Jan 2006 19:39:55 +0100 [thread overview]
Message-ID: <b2a468ae0601051039r2cd0b823r@mail.gmail.com> (raw)
Hi all,
as far as i understand, jffs2_mark_node_obsolete() gets the
raw_node_ref of the flash node to delete, flash_reads the appropriate
common header in a struct jffs2_unknown_node, sets the node type to
~JFFS2_NODE_ACCURATE and writes the common header into the flash. The
existing common header is overwritten. This works for NOR as there is
some "valid" bit that flips from 1->0 (?). But what about NAND? I do
not understand how obsoleting nodes can work in the described
overwrite-way, with a 2KiB-granularity and wbuf......
Thanks for your answer,
Bernhard
reply other threads:[~2006-01-05 18:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=b2a468ae0601051039r2cd0b823r@mail.gmail.com \
--to=priewasser@googlemail.com \
--cc=linux-mtd@lists.infradead.org \
--cc=priewasser@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