• Neil Brown's avatar
    [PATCH] kNFSd 13: Separate out the multiple keys in the export hash table. · 6d0f7b03
    Neil Brown authored
    Currently each entry in the export table had two hash chains
    going through it, one for hash-by-dev/ino,  One for hash-by-fsid.
    This is contrary to the goal of a simple hash table structure.
    
    The two hash-tables per client are replace by one which stores 'exp_key's
    which contain the key (as a file handle fragment) and a pointer to the
    real export entry.
    
    The export entries are then all stored in a single hash table indexed
    by client+vfsmount+dentry;
    6d0f7b03
export.c 20.1 KB