linux-nilfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* nilfs on bare NAND flash
@ 2010-12-03 12:41 Kurt Van Dijck
       [not found] ` <20101203124151.GC662-MxZ6Iy/zr/UdbCeoMzGj59i2O/JbrIOy@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Kurt Van Dijck @ 2010-12-03 12:41 UTC (permalink / raw)
  To: linux-nilfs-u79uwXL29TY76Z2rM5mHXA

Hello,

I may not be the first to ask this type of question, but I was unable
to find the answer yet.

I'm looking for a solution to provide a filesystem
in bare NAND flash (no compact flash or SSD).
Is NILFS2 capable of running in bare NAND flash?
I see these 2 issues:
1) how are bad blocks handled
2) Do I need the caching block device, or the char device?

Thanks in advance,
Kurt Van Dijck
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: nilfs on bare NAND flash
       [not found] ` <20101203124151.GC662-MxZ6Iy/zr/UdbCeoMzGj59i2O/JbrIOy@public.gmane.org>
@ 2010-12-03 15:23   ` Ryusuke Konishi
       [not found]     ` <20101204.002344.133215853.ryusuke-sG5X7nlA6pw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Ryusuke Konishi @ 2010-12-03 15:23 UTC (permalink / raw)
  To: kurt.van.dijck-/BeEPy95v10; +Cc: linux-nilfs-u79uwXL29TY76Z2rM5mHXA

Hi,
On Fri, 3 Dec 2010 13:41:51 +0100, Kurt Van Dijck wrote:
> Hello,
> 
> I may not be the first to ask this type of question, but I was unable
> to find the answer yet.
> 
> I'm looking for a solution to provide a filesystem
> in bare NAND flash (no compact flash or SSD).
> Is NILFS2 capable of running in bare NAND flash?
> I see these 2 issues:
> 1) how are bad blocks handled

Well, NILFS2 neither is optimized to bare flash devices nor supports
MTDs.

It tries to avoid bad blocks in units of segment, and uses a partition
as a circular buffer, but doesn't have wear leveling in the
filesystem.  In addition, two super blocks of NILFS2 are written back
to absolute locations of the device more times than other blocks.

Some flash filesystems such as ubifs, jffs2, and logfs have the wear
leveling and are available for MTDs.  These seem better if you don't
need snapshots.

> 2) Do I need the caching block device, or the char device?

Maybe.  I don't know whether NILFS2 works on the caching block device.
I haven't tried it yet.


Cheers,
Ryusuke Konishi
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: nilfs on bare NAND flash
       [not found]     ` <20101204.002344.133215853.ryusuke-sG5X7nlA6pw@public.gmane.org>
@ 2010-12-03 15:46       ` Kurt Van Dijck
  0 siblings, 0 replies; 3+ messages in thread
From: Kurt Van Dijck @ 2010-12-03 15:46 UTC (permalink / raw)
  To: Ryusuke Konishi; +Cc: linux-nilfs-u79uwXL29TY76Z2rM5mHXA

> 
> Cheers,
> Ryusuke Konishi
Thanks for the reply, this saves me some investigation.

Kurt
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-12-03 15:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-03 12:41 nilfs on bare NAND flash Kurt Van Dijck
     [not found] ` <20101203124151.GC662-MxZ6Iy/zr/UdbCeoMzGj59i2O/JbrIOy@public.gmane.org>
2010-12-03 15:23   ` Ryusuke Konishi
     [not found]     ` <20101204.002344.133215853.ryusuke-sG5X7nlA6pw@public.gmane.org>
2010-12-03 15:46       ` Kurt Van Dijck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).