ceph/ceph — pull request #2667 by yuandong1222 (2014-10-08 07:57:06+00:00)
Title: Avoid unused pg_to_acting_osds call in OSDMap::get_primary_shard

For replicated pools, OSDMap::get_primary_shard don't need to call pg_to_acting_osds which is expensive.

Signed-off-by: Dong Yuan