• S
    ceph: clear dir complete, invalidate dentry on replayed rename · ea1409f9
    Sage Weil 提交于
    If a rename operation is resent to the MDS following an MDS restart, the
    client does not get a full reply (containing the resulting metadata) back.
    In that case, a ceph_rename() needs to compensate by doing anything useful
    that fill_inode() would have, like d_move().
    
    It also needs to invalidate the dentry (to workaround the vfs_rename_dir()
    bug) and clear the dir complete flag, just like fill_trace().
    Signed-off-by: NSage Weil <sage@newdream.net>
    ea1409f9
dir.c 33.2 KB