]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
DBObjectMap, hobject: add helpers for pgid bit matching
authorSamuel Just <sam.just@inktank.com>
Sat, 2 Mar 2013 00:04:04 +0000 (16:04 -0800)
committerSamuel Just <sam.just@inktank.com>
Thu, 14 Mar 2013 02:45:12 +0000 (19:45 -0700)
commit03e53308442ed6de6b0ae447f14dd5c604e5a9d7
treec1369c20f138bcb61873d40c43670afc396820ed
parent0b436abe3a9c9ef7f7a4de58c4bc206c94622994
DBObjectMap, hobject: add helpers for pgid bit matching

Create helpers in hobject for generating prefixes for a
pg as well as matching hobjects against a pgid/numpgs
combo.  Use these in HashIndex.cc.

Signed-off-by: Samuel Just <sam.just@inktank.com>
src/os/HashIndex.cc
src/os/hobject.cc
src/os/hobject.h
src/test/test_osd_types.cc