Re: xattr in JFFS2
Jörn Engel <[email protected]> Thu, 22 Apr 2004 17:22:57 +0200
| Newsgroups | gmane.linux.file-systems.jffs |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 22 April 2004 11:16:19 -0400, David Woodhouse wrote: > On Wed, 2004-04-21 at 16:25 +0200, Jörn Engel wrote: > > Read the archives, there was a short thread last december. In short, > > create a hidden directory per file, add one file to it for each xattr, > > file name is the key, file contents the value. > > That's quite inefficient. Each jffs2_inode_info has a lot of overhead, > like permissions, times, etc. I think perhaps we might do better to > invent a new node type for it. > > It's fairly easy to offer transaction support to userspace if we do that > too. You start a transaction, make some EA changes, then commit that > transaction. Implementing a database on top of that is left as an > exercise for the reader. Makes sense. Now all we need is the code. :) Jörn -- Schrödinger's cat is <BLINK>not</BLINK> dead. -- Illiad To unsubscribe from this list: send the line "unsubscribe jffs-dev" in the body of a message to [email protected]