From: johann Date: Wed, 27 May 2009 15:54:06 +0000 (+0000) Subject: Branch b1_8 X-Git-Tag: v1_8_2_01~1^2~385 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=7a948f2401b4dfcdff680499a7099fd844f5d4ca;p=fs%2Flustre-release.git Branch b1_8 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. --- diff --git a/lustre/obdfilter/filter.c b/lustre/obdfilter/filter.c index 99b038c..5dcf7e2 100644 --- a/lustre/obdfilter/filter.c +++ b/lustre/obdfilter/filter.c @@ -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) {