![]() | |||||||||||||
Messages in this thread |
Am Donnerstag, den 26.08.2004, 17:37 +0200 schrieb Christoph Hellwig: > > > compression or encryption must sit below the pagecache to work nicely, > > > and this hint things that usually sit at the pagecache level. But let's > > > assume you have a valid use for different file_operations, why don't you > > > simply add in different file_operations instead of adding another > > > internal dispatch layer? > > > > I don't know, ask Hans. How could the VFS know it a filesystem wants to > > do something specific with a file that is completely transparent to the > > VFS? > > The VFS shouldn't, that the whole point. That's why it allows the > filesystem to register different method tables for each object. Only the objects it can distinguish. > ops->file = reiser4_file_operations; > ops->symlink = reiser4_symlink_inode_operations; > ops->special = reiser4_special_inode_operations; > ops->dentry = reiser4_dentry_operations; > ops->as = reiser4_as_operations; How could reiser4 register other operations for files that should be stored encrypted or compressed? It's all under reiser4_file_operations. [unhandled content-type:application/pgp-signature] | ||||||||||||
| Last update: 2005-03-22 13:05 [W:2.167 / U:0.040 seconds] ©2003-2008 Jasper Spaans | |||||||||||||