Re: reiser4 plugins (was: silent semantic changes with reiser4)

From: Christophe Saout
Date: Thu Aug 26 2004 - 11:23:41 EST


Am Donnerstag, den 26.08.2004, 18:06 +0200 schrieb Christoph Hellwig:

> Again, your confusing upper and lower plugins. For things happening
> below the pagecache you could register different address_space
> operations which sometimes makes sense. But you want e.g. different
> inode_operations for directories vs symlinks vs files.

Ok, I see your point. aops. Sorry.
Looking at the code this could be done. The wrappers that dispatch the
operations are really small and call the plugin that is registered with
the inode of the mapping. Instead it could have directly set the
corresponding operations. Right. The wrappers are doing a few things
before calling the plugin. That could be done the other way round too.
But that's more of an implementation issue and could still be changed.

> Please read through some linux filesystem code, okay :)

I'm partly familiar with that, I just either misunderstood you or wasn't
really thinking (probably the latter...).

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil