Whamcloud - gitweb
b=3874
authoralex <alex>
Mon, 19 Jul 2004 11:57:30 +0000 (11:57 +0000)
committeralex <alex>
Mon, 19 Jul 2004 11:57:30 +0000 (11:57 +0000)
- with CMD each MDS has own group on OST, so group != 0 always. this is
  why filter_should_precreate() did return 1 always, so precreation path
  didn't take a place. I've comment out check for group out for a while

lustre/obdfilter/filter.c

index dc45318..8fe771e 100644 (file)
@@ -2057,7 +2057,7 @@ static int filter_should_precreate(struct obd_export *exp, struct obdo *oa,
         } else {
                 /* only precreate if group == 0 and o_id is specfied */
                 if (!(oa->o_valid & OBD_FL_DELORPHAN) &&
-                    (group != 0 || oa->o_id == 0))
+                    (/*group != 0 ||*/ oa->o_id == 0))
                         RETURN(1);
 
                 LASSERT(diff >= 0);