From: phil Date: Thu, 23 Oct 2003 18:46:03 +0000 (+0000) Subject: Back out a small LLP change: instead of deleting a bunch of files just X-Git-Tag: v1_7_0_51~2^9~225 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=6fa8a00423ed4b31ff8bb4cacf87003f613e8005;p=fs%2Flustre-release.git Back out a small LLP change: instead of deleting a bunch of files just to re-create them, I was doing an initial OST create which includes the initial set of precreated files. Stop doing that. Those files might have a little data in them, or some might have been created and removed already, and both of those are bad. --- diff --git a/lustre/osc/osc_create.c b/lustre/osc/osc_create.c index 4c776dd..568423b 100644 --- a/lustre/osc/osc_create.c +++ b/lustre/osc/osc_create.c @@ -190,7 +190,7 @@ int osc_create(struct obd_export *exp, struct obdo *oa, oa->o_flags == OBD_FL_DELORPHAN) { /* delete from next_id on up */ oa->o_valid |= OBD_MD_FLID; - oa->o_id = oscc->oscc_next_id + oscc->oscc_initial_create_count; + oa->o_id = oscc->oscc_next_id; if (oa->o_id == 0) RETURN(0); rc = osc_real_create(oscc->oscc_exp, oa, ea, NULL);