From f0a4cece1e3c308c47d341fceea93ab2f16facb5 Mon Sep 17 00:00:00 2001 From: adilger Date: Fri, 27 May 2005 11:53:38 +0000 Subject: [PATCH] Branch b1_4 - merge from b_cray Remove unused growth_count set_info. --- lustre/mds/mds_lov.c | 12 ------------ lustre/osc/osc_request.c | 7 ------- 2 files changed, 19 deletions(-) diff --git a/lustre/mds/mds_lov.c b/lustre/mds/mds_lov.c index b71f02d..291acd9 100644 --- a/lustre/mds/mds_lov.c +++ b/lustre/mds/mds_lov.c @@ -142,18 +142,6 @@ int mds_lov_set_nextid(struct obd_device *obd) RETURN(rc); } -/* tell the LOV-OSC by how much to pre-create */ -int mds_lov_set_growth(struct mds_obd *mds, int count) -{ - int rc; - ENTRY; - - rc = obd_set_info(mds->mds_osc_exp, strlen("growth_count"), - "growth_count", sizeof(count), &count); - - RETURN(rc); -} - int mds_lov_connect(struct obd_device *obd, char * lov_name) { struct mds_obd *mds = &obd->u.mds; diff --git a/lustre/osc/osc_request.c b/lustre/osc/osc_request.c index 3342251..c8a3a53 100644 --- a/lustre/osc/osc_request.c +++ b/lustre/osc/osc_request.c @@ -3085,13 +3085,6 @@ static int osc_set_info(struct obd_export *exp, obd_count keylen, RETURN(0); } - if (KEY_IS("growth_count")) { - if (vallen != sizeof(int)) - RETURN(-EINVAL); - obd->u.cli.cl_oscc.oscc_grow_count = *((int*)val); - RETURN(0); - } - if (KEY_IS("unlinked")) { struct osc_creator *oscc = &obd->u.cli.cl_oscc; spin_lock(&oscc->oscc_lock); -- 1.8.3.1