public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Vipin Malik <vipin@embeddedlinuxworks.com>
To: Abraham vd Merwe <abraham@2d3d.co.za>,
	MTD for Linux <linux-mtd@lists.infradead.org>
Subject: Re: safe flash filesystem
Date: Thu, 21 Jun 2001 08:43:45 -0500	[thread overview]
Message-ID: <5.1.0.14.0.20010621083448.00a64b60@mail.spewey.com> (raw)
In-Reply-To: <20010621125458.A23785@crystal.2d3d.co.za>

>
>We're developing a product that needs a small part of the flash memory to
>contain a very scaled down file system containing configuration files. This
>file system have to be extremely reliable. Speed is not an issue, but the
>validity of any data written to it is of utmost importance.
>
>So before I go reinvent the wheel, I'd like to know if there's something
>which already does this, i.e. does things like keep duplicate copies of
>everything around, have all sorts of checks and balances to check for
>damaged parts of the flash, no caching and some sort of wear levelling, etc?

Normally you could just use a "small" JFFS2 partition- or even a "full" JFFS2
partition with just your config database file on it.

HOWEVER, at this time JFFS2 is NOT power fail "roll back and recover" safe-
even for write()'s less than PAGE_SIZE.

Read gory details at:
JFFS: A practical guide at:
http://www.embeddedlinuxworks.com/articles/jffs_guide.html

There is another very serious problem with JFFS(2). IT may block read write
accesses for 10's of seconds while it GC's- specially on a new full fs.
(watch for a new article on read/write latencies on periodic tasks 
reading/writing
from/to a JFFS fs very soon).

In my opinion a "small" embedded power fail safe database utility is
needed that would solve the power fail issue as well as provide caching
support for read/write with a read/write log on another (separate) device 
to get around the latency problems.

I have started a project to define the features required for this. Please 
read details at:
http://www.embeddedlinuxworks.com/articles/db_project.html

I need the same thing for my project. I am sure there are others out there 
that need
this capability for their embedded systems. It would be nice if all could 
collaborate and come
up with an open source software that addresses this need.

Regards,

Vipin

  reply	other threads:[~2001-06-21 13:27 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-21 10:54 safe flash filesystem Abraham vd Merwe
2001-06-21 13:43 ` Vipin Malik [this message]
2001-06-21 13:57   ` Abraham vd Merwe
2001-06-21 14:29     ` Vipin Malik
2001-06-21 14:35       ` Abraham vd Merwe
2001-06-21 15:05         ` Vipin Malik
2001-06-21 15:36           ` Chris Read
2001-06-21 15:09         ` Joakim Tjernlund
2001-06-21 15:34           ` Vipin Malik
2001-06-21 19:34             ` Joakim Tjernlund
2001-06-21 19:47             ` Joakim Tjernlund
2001-06-21 15:11         ` Herman Oosthuysen
2001-06-21 17:54           ` Tim Riker
2001-06-21 19:43             ` Vipin Malik
2001-06-21 19:35               ` Tim Riker
2001-06-21 19:56                 ` Vipin Malik
2001-06-21 21:17                   ` Kyle Harris
2001-07-03 23:53                     ` On the "safe filesystem" and write() topic Bjorn Wesen
2001-07-04 14:10                       ` Vipin Malik
2001-07-05 18:16                         ` Bjorn Wesen
2001-07-06 13:40                           ` Vipin Malik
2001-07-07  9:25                             ` Bjorn Wesen
2001-07-07 13:06                               ` Vipin Malik
2001-06-21 21:26         ` safe flash filesystem Russ Dill
2001-06-22  8:22           ` Abraham vd Merwe
     [not found]           ` <20010622102154.E1828@crystal.2d3d.co.za>
2001-06-22 17:23             ` Russ Dill
2001-06-25  7:45               ` Abraham vd Merwe
2001-06-25  7:59                 ` Russ Dill
2001-06-25 14:11                   ` Vipin Malik
  -- strict thread matches above, loose matches on Subject: below --
2001-06-21 16:05 Vipin Malik

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=5.1.0.14.0.20010621083448.00a64b60@mail.spewey.com \
    --to=vipin@embeddedlinuxworks.com \
    --cc=abraham@2d3d.co.za \
    --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