Whamcloud - gitweb
- return back LDLM_FL_LOCAL_ONLY flag when look fids in MDT.
authoryury <yury>
Fri, 6 Oct 2006 07:03:12 +0000 (07:03 +0000)
committeryury <yury>
Fri, 6 Oct 2006 07:03:12 +0000 (07:03 +0000)
lustre/fid/fid_lib.c

index 6e5ba81..ac81fd7 100644 (file)
@@ -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);