From: bobijam Date: Tue, 24 Mar 2009 04:46:08 +0000 (+0000) Subject: Branch b1_8 X-Git-Tag: v1_8_0_110~165 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=c290b25bccf2457a882626c7446311688854b929;p=fs%2Flustre-release.git Branch b1_8 b=17378 i=johann i=andrew.perepechko (panda) qos_shrink_lsm() may allocate a new lsm while lov_free_memmd() still exerting on old lsmp causes LBUG. --- diff --git a/lustre/lov/lov_request.c b/lustre/lov/lov_request.c index 9fb2944..374594a 100644 --- a/lustre/lov/lov_request.c +++ b/lustre/lov/lov_request.c @@ -736,6 +736,8 @@ int lov_prep_create_set(struct obd_export *exp, struct obd_info *oinfo, set->set_oti = oti; rc = qos_prep_create(exp, set); + /* qos_shrink_lsm() may have allocated a new lsm */ + *lsmp = oinfo->oi_md; if (rc) lov_fini_create_set(set, lsmp); else