Re: [PATCH 07/25] mds: don't early reply rename

2013-01-28 Thread Sage Weil
On Wed, 23 Jan 2013, Yan, Zheng wrote: From: Yan, Zheng zheng.z@intel.com _rename_finish() does not send dentry link/unlink message to replicas. We should prevent dentries that are modified by the rename operation from getting new replicas when the rename operation is committing. So

Re: [PATCH 07/25] mds: don't early reply rename

2013-01-28 Thread Yan, Zheng
On 01/29/2013 05:44 AM, Sage Weil wrote: On Wed, 23 Jan 2013, Yan, Zheng wrote: From: Yan, Zheng zheng.z@intel.com _rename_finish() does not send dentry link/unlink message to replicas. We should prevent dentries that are modified by the rename operation from getting new replicas when

Re: [PATCH 07/25] mds: don't early reply rename

2013-01-28 Thread Yan, Zheng
On 01/29/2013 10:23 AM, Sage Weil wrote: On Tue, 29 Jan 2013, Yan, Zheng wrote: On 01/29/2013 05:44 AM, Sage Weil wrote: On Wed, 23 Jan 2013, Yan, Zheng wrote: From: Yan, Zheng zheng.z@intel.com _rename_finish() does not send dentry link/unlink message to replicas. We should prevent

[PATCH 07/25] mds: don't early reply rename

2013-01-22 Thread Yan, Zheng
From: Yan, Zheng zheng.z@intel.com _rename_finish() does not send dentry link/unlink message to replicas. We should prevent dentries that are modified by the rename operation from getting new replicas when the rename operation is committing. So don't mark xlocks done and early reply for