From ca054afbc6b11d35b4f38553c747bbbd7b042b51 Mon Sep 17 00:00:00 2001 From: yury Date: Fri, 6 Oct 2006 07:03:12 +0000 Subject: [PATCH] - return back LDLM_FL_LOCAL_ONLY flag when look fids in MDT. --- lustre/fid/fid_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/fid/fid_lib.c b/lustre/fid/fid_lib.c index 6e5ba81..ac81fd7 100644 --- a/lustre/fid/fid_lib.c +++ b/lustre/fid/fid_lib.c @@ -169,7 +169,7 @@ int fid_lock(struct ldlm_namespace *ns, const struct lu_fid *f, ldlm_policy_data_t *policy, struct ldlm_res_id *res_id) { - int flags = LDLM_FL_ATOMIC_CB; + int flags = LDLM_FL_LOCAL_ONLY | LDLM_FL_ATOMIC_CB; int rc; LASSERT(ns != NULL); -- 1.8.3.1