From: Sage Weil Date: Thu, 15 Jul 2010 20:24:32 +0000 (-0700) Subject: ceph: reuse request message when replaying against recovering mds X-Git-Tag: v2.6.35-rc6~13^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01a92f174f8a3b99dbb5e02c86e7ee1e576737af;p=pandora-kernel.git ceph: reuse request message when replaying against recovering mds Replayed rename operations (after an mds failure/recovery) were broken because the request paths were regenerated from the dentry names, which get mangled when d_move() is called. Instead, resend the previous request message when replaying completed operations. Just make sure the REPLAY flag is set and the target ino is filled in. This fixes problems with workloads doing renames when the MDS restarts, where the rename operation appears to succeed, but on mds restart then fails (leading to client confusion, app breakage, etc.). Signed-off-by: Sage Weil --- Reading git-diff-tree failed