Skip to content
Commit ea1409f9 authored by Sage Weil's avatar Sage Weil
Browse files

ceph: clear dir complete, invalidate dentry on replayed rename



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: default avatarSage Weil <sage@newdream.net>
parent 5c6a2cdb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment