Pramfs: Persistent and protected ram filesystem
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest14 patches 85 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | Pramfs: Block operationsfs/ | +157 | 0 replies | |
| 2/14 | Pramfs: File operations for directoriesfs/ | +220 | 0 replies | |
| 3/14 | Pramfs: DocumentationDocumentation/ | +227 | 0 replies | |
| 4/14 | Pramfs: Mounting as root filesysteminit/ | +20 | 5 replies | |
| 5/14 | Pramfs: File operations for filesfs/ | +141 | 1 reply | |
| 6/14 | Pramfs: Include filesfs/ fs/ | +428 | 27 replies | |
| 7/14 | Pramfs: Inode operationsfs/ | +620 | 0 replies | |
| 8/14 | Pramfs: Makefile and Kconfigfs/ fs/ fs/ +1 more | +68 | 4 replies | |
| 9/14 | Pramfs: Inode operations for directoriesfs/ | +328 | 0 replies | |
| 10/14 | Pramfs: Superblock operationsfs/ | +580 | 0 replies | |
| 11/14 | Pramfs: Symbolic link operationsfs/ | +73 | 0 replies | |
| 12/14 | Pramfs: test modulefs/ | +50 | 0 replies | |
| 13/14 | Pramfs: Write protectionfs/ | +84 | 2 replies | |
| 14/14 | Pramfs: XIP operationsfs/ fs/ | +115 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/14] Pramfs: Persistent and protected ram filesystem
This is a second attempt at mainlining Pramfs. The first attempt was back in early 2004 by MontaVista. Since then the kernel code has almost been completely rewritten. So my first item on the list was porting the code on a recent kernel version. After that I added the XIP support.
Now some FAQs:
What is the goal of this filesystem?
Many embedded systems have a block of non-volatile RAM separate from normal system memory, i.e. of which the kernel maintains no memory page descriptors. For such systems it would be beneficial to mount a fast read/write filesystem over this "I/O memory", for storing frequently accessed data that must survive system reboots and power cycles. An example usage might be system logs under /var/log, or a user address book in a cell phone or PDA.
Why this kind of filesystem should be "mainlined"?
Linux traditionally had no support for a persistent, non-volatile RAM-based filesystem, persistent meaning the filesystem survives a system reboot or power cycle intact. The RAM-based filesystems such as tmpfs and ramfs have no actual backing store but exist entirely in the page and buffer caches, hence the filesystem disappears after a system reboot or power cycle.
Are there any pending patents on this code?
NO, there aren't patents pending on this code. MontaVista had a pending patent application but now it has abandoned this way. Daniel Walker can confirm that.
Marco