Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-7038 obdclass: lu_site_purge() to handle purge-all
[fs/lustre-release.git]
/
lustre
/
lod
/
lod_pool.c
diff --git
a/lustre/lod/lod_pool.c
b/lustre/lod/lod_pool.c
index
5caef4c
..
da5389c
100644
(file)
--- a/
lustre/lod/lod_pool.c
+++ b/
lustre/lod/lod_pool.c
@@
-661,7
+661,7
@@
int lod_pool_new(struct obd_device *obd, char *poolname)
if (rc)
GOTO(out_err, rc);
if (rc)
GOTO(out_err, rc);
-
memset(&new_pool->pool_rr, 0, sizeof(new_pool->pool_rr)
);
+
lod_qos_rr_init(&new_pool->pool_rr
);
rc = lod_ost_pool_init(&new_pool->pool_rr.lqr_pool, 0);
if (rc)
GOTO(out_free_pool_obds, rc);
rc = lod_ost_pool_init(&new_pool->pool_rr.lqr_pool, 0);
if (rc)
GOTO(out_free_pool_obds, rc);