]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: some debug output in identify_split_children
authorSage Weil <sage@redhat.com>
Fri, 9 Mar 2018 04:05:14 +0000 (22:05 -0600)
committerSage Weil <sage@redhat.com>
Wed, 4 Apr 2018 13:26:58 +0000 (08:26 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/OSD.cc

index 3dffa3bb83211c936cc11e0f553f66a424e2349b..bb000d4a9f0d8da0c7f2d54d107700d0d39402d8 100644 (file)
@@ -357,6 +357,9 @@ void OSDService::identify_split_children(
   int old_pgnum = old_map->get_pg_num(pgid.pool());
   int new_pgnum = get_possibly_deleted_pool_pg_num(
     new_map, pgid.pool());
+  dout(20) << __func__ << " old " << old_pgnum << " e" << old_map->get_epoch()
+          << " new " << new_pgnum << " e" << new_map->get_epoch()
+          << dendl;
   if (pgid.ps() < static_cast<unsigned>(old_pgnum)) {
     set<spg_t> children;
     if (pgid.is_split(old_pgnum, new_pgnum, &children)) {