From: bobijam Date: Tue, 7 Apr 2009 01:28:12 +0000 (+0000) Subject: Branch HEAD X-Git-Tag: v1_9_167~29 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=9a06595e3f80cf81c454793c8582ab4c872f74f7;p=fs%2Flustre-release.git Branch HEAD 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 249f0b1..706503f 100644 --- a/lustre/lov/lov_request.c +++ b/lustre/lov/lov_request.c @@ -723,6 +723,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