From: Kefu Chai Date: Wed, 5 Feb 2020 14:36:25 +0000 (+0800) Subject: crimson/osd: use "name" param when constructing a PG X-Git-Tag: v15.1.1~422^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=174a1cb581d654fc29de123086e3fa61a5f07900;p=ceph.git crimson/osd: use "name" param when constructing a PG in case the name is decoded from the pool info read from meta coll, it won't be available in the osdmap. Signed-off-by: Kefu Chai --- diff --git a/src/crimson/osd/pg.cc b/src/crimson/osd/pg.cc index 3a89c59f416..284c4e238e6 100644 --- a/src/crimson/osd/pg.cc +++ b/src/crimson/osd/pg.cc @@ -107,7 +107,7 @@ PG::PG( osdmap, pgid.pool(), pool, - osdmap->get_pool_name(pgid.pool())), + name), osdmap, this, this),