Whamcloud - gitweb
- warn about the race in filter_intent_policy(), just to make sure it
authoralex <alex>
Fri, 5 Aug 2005 09:12:57 +0000 (09:12 +0000)
committeralex <alex>
Fri, 5 Aug 2005 09:12:57 +0000 (09:12 +0000)
  relates to errors mds gets sometimes

lustre/obdfilter/filter.c

index 3db7684..42f4736 100644 (file)
@@ -1368,6 +1368,8 @@ static int filter_intent_policy(struct ldlm_namespace *ns,
 
         if (l->l_glimpse_ast == NULL) {
                 /* We are racing with unlink(); just return -ENOENT */
+                CDEBUG(D_ERROR, "race with unlink: "LPX64"/"LPX64"\n",
+                       res->lr_name.name[0], res->lr_name.name[1]);
                 rep->lock_policy_res1 = -ENOENT;
                 goto out;
         }