]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/PG: select interval sort order based on OSDMap
authorSage Weil <sage@redhat.com>
Fri, 7 Aug 2015 20:06:39 +0000 (16:06 -0400)
committerSage Weil <sage@redhat.com>
Fri, 7 Aug 2015 20:23:46 +0000 (16:23 -0400)
commit0031e0e637a17f82d526169e23236ea9a1b5623d
tree2b9f22888a389dc97b915a91413093c31cdef6c5
parentbf49bb3eaff946229b328302fdee712feb009ee3
osd/PG: select interval sort order based on OSDMap

If the OSDMap says sort bitwise, sort bitwise... unless we have
enabled osd_debug_randomize_hobject_sort_order, in which case
sometimes we won't.

If the OSDMap doesn't say sort bitwise, don't.

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