From 59634a1f9c42b2c76bd71e70b80ec3583fa58014 Mon Sep 17 00:00:00 2001 From: yury Date: Fri, 25 Feb 2005 19:45:18 +0000 Subject: [PATCH] - 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(). --- lustre/mds/handler.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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. */ -- 1.8.3.1