From: Sage Weil Date: Wed, 28 Apr 2010 23:12:06 +0000 (-0700) Subject: ceph: clear dir complete, invalidate dentry on replayed rename X-Git-Tag: v2.6.34-rc7~32^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea1409f96197c1bffe5d7d5bc967b3445edcc1fa;p=pandora-kernel.git 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: Sage Weil --- Reading git-diff-tree failed