[lkml]   [1997]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: VFS
    > Is this way of handling things
    > 1) Very ugly?

    No, as long as it works.

    > 2) Harmful to cache algorithms?

    Potentially, yes. fs/inode.c:find_inode, for example, uses the inode
    number to detect whether the inode is already in memory. So if the
    same file is opened twice, you have to assign it the same inode number
    - otherwise it will count as two files.

    > 3) Nonworking?

    Whether it works or not would depend on the semantics of your file
    system. Maybe you can live with the restrictions. For example, when
    you export your file system via NFS, the client gets an inode number,
    which is used sometimes to relocate the file on the volume.

    Maybe if you use some strong hashing algorithm (md5), you'll solve
    some of the problems. OTOH, you will introduce new ones.


     \ /
      Last update: 2005-03-22 13:40    [W:0.019 / U:20.056 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site