From 174a1cb581d654fc29de123086e3fa61a5f07900 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Wed, 5 Feb 2020 22:36:25 +0800 Subject: [PATCH] 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 --- src/crimson/osd/pg.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crimson/osd/pg.cc b/src/crimson/osd/pg.cc index 3a89c59f41684..284c4e238e63e 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), -- 2.39.5