From: yury Date: Fri, 25 Feb 2005 19:45:18 +0000 (+0000) Subject: - locks and dentries should be released in the case request is being handled by wrong MDS X-Git-Tag: 1.3.4~115 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=59634a1f9c42b2c76bd71e70b80ec3583fa58014;p=fs%2Flustre-release.git - locks and dentries should be released in the case request is being handled by wrong MDS and should be restared with correct one in mds_getattr_lock(). --- diff --git a/lustre/mds/handler.c b/lustre/mds/handler.c index bf83cd8..f7dcd86 100644 --- a/lustre/mds/handler.c +++ b/lustre/mds/handler.c @@ -1040,7 +1040,9 @@ static int mds_getattr_lock(struct ptlrpc_request *req, int offset, if (rc) GOTO(cleanup, rc); - /* + cleanup_phase = 2; /* dchild, dparent, locks */ + + /* * let's make sure this name should leave on this mds * node. */