• S
    ceph: implement DIRLAYOUTHASH feature to get dir layout from MDS · 14303d20
    Sage Weil 提交于
    This implements the DIRLAYOUTHASH protocol feature, which passes the dir
    layout over the wire from the MDS.  This gives the client knowledge
    of the correct hash function to use for mapping dentries among dir
    fragments.
    
    Note that if this feature is _not_ present on the client but is on the
    MDS, the client may misdirect requests.  This will result in a forward
    and degrade performance.  It may also result in inaccurate NFS filehandle
    generation, which will prevent fh resolution when the inode is not present
    in the client cache and the parent directories have been fragmented.
    Signed-off-by: NSage Weil <sage@newdream.net>
    14303d20
super.c 21.8 KB