]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/osd: use "name" param when constructing a PG 33084/head
authorKefu Chai <kchai@redhat.com>
Wed, 5 Feb 2020 14:36:25 +0000 (22:36 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 5 Feb 2020 14:40:05 +0000 (22:40 +0800)
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 <kchai@redhat.com>
src/crimson/osd/pg.cc

index 3a89c59f41684889f9806c70d7e77f617709288d..284c4e238e63ed4b4f5808205822bd01ff1ac014 100644 (file)
@@ -107,7 +107,7 @@ PG::PG(
        osdmap,
        pgid.pool(),
        pool,
-       osdmap->get_pool_name(pgid.pool())),
+       name),
       osdmap,
       this,
       this),