From: yury Date: Fri, 6 Oct 2006 07:03:12 +0000 (+0000) Subject: - return back LDLM_FL_LOCAL_ONLY flag when look fids in MDT. X-Git-Tag: v1_8_0_110~486^2~688 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=ca054afbc6b11d35b4f38553c747bbbd7b042b51;p=fs%2Flustre-release.git - return back LDLM_FL_LOCAL_ONLY flag when look fids in MDT. --- 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);