Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66b5b3a
)
Branch b1_8
author
bobijam
<bobijam>
Tue, 24 Mar 2009 04:46:08 +0000
(
04:46
+0000)
committer
bobijam
<bobijam>
Tue, 24 Mar 2009 04:46:08 +0000
(
04:46
+0000)
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.
lustre/lov/lov_request.c
patch
|
blob
|
history
diff --git
a/lustre/lov/lov_request.c
b/lustre/lov/lov_request.c
index
9fb2944
..
374594a
100644
(file)
--- 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