From: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
To: Miraj Mohamed <miraj@procsys.com>
Cc: jffs-dev@axis.com, linux-mtd@lists.infradead.org
Subject: Re: mirroring in JFFS2
Date: Tue, 12 Nov 2002 17:08:43 +0100 [thread overview]
Message-ID: <20021112160843.GE5031@wohnheim.fh-wedel.de> (raw)
In-Reply-To: <3DD0D966.E6D877EC@procsys.com>
On Tue, 12 November 2002 16:05:18 +0530, Miraj Mohamed wrote:
>
> Our system needs error detection and recovery of data on Flash.
> We selected Jffs2 which has in built CRC. And planning to modify
> Jffs2 code for mirroring. This means...each write and erase will be
> duplicated
> on mirror partition . While reading if a CRC error is detected,
> the mirror data will be read.
>
> Can any one say if this implementation is ok (or is
> possible)?
> Have anyone implemented a similar system before? Any other way to attain
> redundancy?
Are you trying to put the mirroring stuff into jffs2?
In the hard disk world, people use md for this, which uses two devices
and returns one. The filesystem does not need to worry about anything.
Writing an mtd driver in that fashion should be pretty easy. Robert
Kaiser has done something similar already, have a look at the concat
layer.
Jörn
--
Data expands to fill the space available for storage.
-- Parkinson's Law
next parent reply other threads:[~2002-11-12 15:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <3DD0D966.E6D877EC@procsys.com>
2002-11-12 16:08 ` Jörn Engel [this message]
2002-11-12 16:18 ` mirroring in JFFS2 David Woodhouse
2002-11-12 17:15 ` Jörn Engel
2002-11-12 17:22 ` Alan Cox
2002-11-12 17:07 ` David Woodhouse
2002-11-12 17:27 ` Jörn Engel
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=20021112160843.GE5031@wohnheim.fh-wedel.de \
--to=joern@wohnheim.fh-wedel.de \
--cc=jffs-dev@axis.com \
--cc=linux-mtd@lists.infradead.org \
--cc=miraj@procsys.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