All of lore.kernel.org
 help / color / mirror / Atom feed
* how to choose journal filesystem for embedded linux?
@ 2007-01-24  2:05 zhuzhenhua
  2007-01-24  4:27 ` Maarten Lankhorst
  2007-01-24 14:02 ` Ralf Baechle
  0 siblings, 2 replies; 6+ messages in thread
From: zhuzhenhua @ 2007-01-24  2:05 UTC (permalink / raw)
  To: linux-mips

hello all:
          i now work on a mips board, and want to store my system code
on NAND Flash.
 our Flash driver can handle the Flash features(bad block,  phy  to
logic addr, spare,etc.),
 so i just want to select a journal filesystem to handle sudden poweroff.
Our system code(writeable) is about 10M~50M. i am not sure what
journal filesystem will be suitable, ext3,xfs,jfs,or reiserFS?
 i have try ext3, it runs well, but seems to waste too much space
while mkfs.ext3.

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

* Re: how to choose journal filesystem for embedded linux?
  2007-01-24  2:05 how to choose journal filesystem for embedded linux? zhuzhenhua
@ 2007-01-24  4:27 ` Maarten Lankhorst
  2007-01-24  5:04   ` zhuzhenhua
  2007-01-24 14:02 ` Ralf Baechle
  1 sibling, 1 reply; 6+ messages in thread
From: Maarten Lankhorst @ 2007-01-24  4:27 UTC (permalink / raw)
  To: zhuzhenhua; +Cc: linux-mips

zhuzhenhua schreef:
> hello all:
>          i now work on a mips board, and want to store my system code
> on NAND Flash.
> our Flash driver can handle the Flash features(bad block,  phy  to
> logic addr, spare,etc.),
> so i just want to select a journal filesystem to handle sudden poweroff.
> Our system code(writeable) is about 10M~50M. i am not sure what
> journal filesystem will be suitable, ext3,xfs,jfs,or reiserFS?
> i have try ext3, it runs well, but seems to waste too much space
> while mkfs.ext3.
Have you tried jffs2? Journaled Flash FileSystem 2

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

* Re: how to choose journal filesystem for embedded linux?
  2007-01-24  4:27 ` Maarten Lankhorst
@ 2007-01-24  5:04   ` zhuzhenhua
  2007-01-24 14:45     ` Ladislav Michl
  0 siblings, 1 reply; 6+ messages in thread
From: zhuzhenhua @ 2007-01-24  5:04 UTC (permalink / raw)
  To: Maarten Lankhorst; +Cc: linux-mips

On 1/24/07, Maarten Lankhorst <m.b.lankhorst@gmail.com> wrote:
> zhuzhenhua schreef:
> > hello all:
> >          i now work on a mips board, and want to store my system code
> > on NAND Flash.
> > our Flash driver can handle the Flash features(bad block,  phy  to
> > logic addr, spare,etc.),
> > so i just want to select a journal filesystem to handle sudden poweroff.
> > Our system code(writeable) is about 10M~50M. i am not sure what
> > journal filesystem will be suitable, ext3,xfs,jfs,or reiserFS?
> > i have try ext3, it runs well, but seems to waste too much space
> > while mkfs.ext3.
> Have you tried jffs2? Journaled Flash FileSystem 2
>

the JFFS2 is combile filesytem with FLASH. but our FLASH driver team
have developed a driver good enough to handle FLASH as HD, so we don't
want to use the special FLASH filesystem

Best Regards

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

* Re: how to choose journal filesystem for embedded linux?
  2007-01-24  2:05 how to choose journal filesystem for embedded linux? zhuzhenhua
  2007-01-24  4:27 ` Maarten Lankhorst
@ 2007-01-24 14:02 ` Ralf Baechle
  1 sibling, 0 replies; 6+ messages in thread
From: Ralf Baechle @ 2007-01-24 14:02 UTC (permalink / raw)
  To: zhuzhenhua; +Cc: linux-mips

On Wed, Jan 24, 2007 at 10:05:10AM +0800, zhuzhenhua wrote:

>          i now work on a mips board, and want to store my system code
> on NAND Flash.
> our Flash driver can handle the Flash features(bad block,  phy  to
> logic addr, spare,etc.),
> so i just want to select a journal filesystem to handle sudden poweroff.
> Our system code(writeable) is about 10M~50M. i am not sure what
> journal filesystem will be suitable, ext3,xfs,jfs,or reiserFS?
> i have try ext3, it runs well, but seems to waste too much space
> while mkfs.ext3.

Classic journaling filesystems are not suitable for flash as they tend to
have write hot spots so will wear out certain parts of the flash fairly
quickly.  Don't forget atime updates, even those do matter!  Of course if
your filesystem is read-only these constraints matter much less.

  Ralf

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

* Re: how to choose journal filesystem for embedded linux?
  2007-01-24  5:04   ` zhuzhenhua
@ 2007-01-24 14:45     ` Ladislav Michl
  2007-01-27  5:04       ` zhuzhenhua
  0 siblings, 1 reply; 6+ messages in thread
From: Ladislav Michl @ 2007-01-24 14:45 UTC (permalink / raw)
  To: linux-mips

On Wed, Jan 24, 2007 at 01:04:03PM +0800, zhuzhenhua wrote:
> On 1/24/07, Maarten Lankhorst <m.b.lankhorst@gmail.com> wrote:
> >Have you tried jffs2? Journaled Flash FileSystem 2
> 
> the JFFS2 is combile filesytem with FLASH. but our FLASH driver team
> have developed a driver good enough to handle FLASH as HD, so we don't
> want to use the special FLASH filesystem

Could you provide a short explanation about advantages of such solution?

	ladis

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

* Re: how to choose journal filesystem for embedded linux?
  2007-01-24 14:45     ` Ladislav Michl
@ 2007-01-27  5:04       ` zhuzhenhua
  0 siblings, 0 replies; 6+ messages in thread
From: zhuzhenhua @ 2007-01-27  5:04 UTC (permalink / raw)
  To: Ladislav Michl; +Cc: linux-mips

On 1/24/07, Ladislav Michl <ladis@linux-mips.org> wrote:
> On Wed, Jan 24, 2007 at 01:04:03PM +0800, zhuzhenhua wrote:
> > On 1/24/07, Maarten Lankhorst <m.b.lankhorst@gmail.com> wrote:
> > >Have you tried jffs2? Journaled Flash FileSystem 2
> >
> > the JFFS2 is combile filesytem with FLASH. but our FLASH driver team
> > have developed a driver good enough to handle FLASH as HD, so we don't
> > want to use the special FLASH filesystem
>
> Could you provide a short explanation about advantages of such solution?
>
>         ladis
>
>
because for support USB gadget file-storage, it must support VFAT
based something like FTL.

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

end of thread, other threads:[~2007-01-27  5:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-24  2:05 how to choose journal filesystem for embedded linux? zhuzhenhua
2007-01-24  4:27 ` Maarten Lankhorst
2007-01-24  5:04   ` zhuzhenhua
2007-01-24 14:45     ` Ladislav Michl
2007-01-27  5:04       ` zhuzhenhua
2007-01-24 14:02 ` Ralf Baechle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.