Whamcloud - gitweb
Branch b1_8
authorjohann <johann>
Wed, 27 May 2009 15:54:06 +0000 (15:54 +0000)
committerjohann <johann>
Wed, 27 May 2009 15:54:06 +0000 (15:54 +0000)
b=18518
i=adilger
i=bobijam

OST object precreation becomes very slow on big OSTs. This is due
to the ialloc patch spending too much time scanning groups.

lustre/obdfilter/filter.c

index 99b038c..5dcf7e2 100644 (file)
@@ -3329,6 +3329,9 @@ static int filter_precreate(struct obd_device *obd, struct obdo *oa,
                         CERROR("create failed rc = %d\n", rc);
                         GOTO(cleanup, rc);
                 }
+                if (dchild->d_inode)
+                        CDEBUG(D_INFO, "objid "LPU64" got inum %lu\n", next_id,
+                                       dchild->d_inode->i_ino);
 
 set_last_id:
                 if (!recreate_obj) {