lkml.org 
[lkml]   [2004]   [Aug]   [26]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: reiser4 plugins (was: silent semantic changes with reiser4)
    FromChristophe Saout <>
    DateThu, 26 Aug 2004 17:48:54 +0200
    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 14:05    [from the cache]
    ©2003-2008