Re: metadata plugins (was Re: the " 'official' point of view" expressedby kernelnewbies.org regarding reiser4 inclusion)

From: Nikita Danilov
Date: Sat Jul 29 2006 - 15:00:36 EST


David Masover writes:
> Nikita Danilov wrote:
>
> > As you see, ext2 code already has multiple file "plugins", with
> > persistent "plugin id" (stored in i_mode field of on-disk struct
> > ext2_inode).
>
> Aha! So here's another question: Is it fair to ask Reiser4 to make its
> plugins generic, or should we be asking ext2/3 first?

ext2/3 plugins are generic: in Linux every file system can implement
per-object behavior by specifying
{file,inode,dentry,address_space}_operations. This mechanism is provided
by VFS (and, in fact, is the only way that VFS interacts with file
system) and is completely generic.

>

Nikita.

-
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/