]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: track deleted pools' pg_nums for calculating split
authorSage Weil <sage@redhat.com>
Tue, 9 Jan 2018 21:18:58 +0000 (15:18 -0600)
committerSage Weil <sage@redhat.com>
Tue, 16 Jan 2018 20:31:28 +0000 (14:31 -0600)
commit617a82c45e75fcea775450a051166f5cfcacfe45
treef728898f4c56b29ada490388db229cb0cc5ed032
parent89d0c357964ff28b83ac541c4d946f712a7bee47
osd: track deleted pools' pg_nums for calculating split

This is needed to determine (quickly) whether PGs have split.  Calling
get_pg_num() on the latest map does not work when the pool has been
deleted from that map.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/OSD.cc
src/osd/OSD.h