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

Nikita Danilov
2006-07-29T19:02:47Z

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.