Re: [PATCH 2.6.21] cramfs: add cramfs Linear XIP



On Thu, Jun 07, 2007 at 02:11:44PM -0700, Jared Hulbert wrote:
that even more important doesn't require pulling in
the whole block layer which is especially important for embedded
devices at the lower end of the scala.

Good point. That is a big oversight. Though I would prefer to handle
that in the same fs rather than fork.

If if were actually talking about complex filesystem I'd agree. But
the cramfs xip patch posted here touches about 2/3 of the number of
lines that cramfs has in total. And cramfs is not exactly the best
base to start with..

I still think it'd be even better to just
hook xip support into jffs or logfs because they give you a full
featured flash filesystem for all needs without the complexity
of strictly partitioning between xip-capable and write parts
of your storage.

This is nirvana. But it is not the goal of the patches in question.
In fact there are several use cases that don't need and don't value
the writeability and don't need therefore the overhead. It is a long
term goal never the less.

With the filemap_xip.c helpers adding xip support to any filesystem
is pretty trivial for the highlevel filesystem operations. The only
interesting bit is the lowlevel code (the get_xip_page method and
the others Carsten mentioned), but we need to do these lowlevel
code in a generic and proper way anyway.

I'll try to hack up an xip prototype for jffs2 next week.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: [PATCH 2.6.21] cramfs: add cramfs Linear XIP
    ... Please don't add this xip support to cramfs, ... whole point of cramfs is to be a simple _compressed_ filesystem, ...
    (Linux-Kernel)
  • Re: [PATCH 00/10] AXFS: Advanced XIP filesystem
    ... read only compressed filesystem like Squashfs and cramfs. ... AXFS is special ... improvement over the cramfs XIP patches that have been floating around for ages. ... I'm not sure it's a good idea to name this new filesystem AXFS. ...
    (Linux-Kernel)
  • Re: [PATCH][2/2] SquashFS
    ... please include in the changelog pointers to ... this filesystem seems to do the same thing as cramfs. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: [PATCH 2.6.21] cramfs: add cramfs Linear XIP
    ... Please don't add this xip support to cramfs, ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • [PATCH] cramfs: explicitly state type of unsigned int
    ... I was using cramfs as a model for a new filesystem and came across this, ... rather confusing issue... ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)