Skip to content
  • Sage Weil's avatar
    ceph: implement DIRLAYOUTHASH feature to get dir layout from MDS · 14303d20
    Sage Weil authored
    
    
    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: default avatarSage Weil <sage@newdream.net>
    14303d20