]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osdmap: drop useless and unused get_pg_role() method
authorSage Weil <sage@inktank.com>
Sat, 14 Jul 2012 21:32:28 +0000 (14:32 -0700)
committerSage Weil <sage@inktank.com>
Sun, 15 Jul 2012 00:39:34 +0000 (17:39 -0700)
commita278ea1316424a7dd677d801a89dbb7c677a3d48
tree30bfd41182a1dc3de194e3e38cefa8dc17ba89df
parent38962abd5b46bac8767ee57b2e7bf1b116ebc5c5
osdmap: drop useless and unused get_pg_role() method

Users probably want get_pg_acting_rank().  If they don't, they can probably
have the mapping and can calculate the rank themselves.  Having this here
is asking for bugs like #2022.

Signed-off-by: Sage Weil <sage@inktank.com>
src/osd/OSDMap.h