]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rados export: better name mangling rules, fix test
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Tue, 31 May 2011 22:47:13 +0000 (15:47 -0700)
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Tue, 31 May 2011 23:45:49 +0000 (16:45 -0700)
commitb4bc1c68f70680f75985be40b8e3b0aa4d919ed1
tree6c5db62dfbd3a4d0f7ad4769a69228dd1cc3ed32
parent33c39ab5da14afcedda1272f8c14de8acd6e0ab1
rados export: better name mangling rules, fix test

Introduce a versioning scheme for name mangling, so that we can change
it in the future if we want to.

For names that require no mangling, don't do anything (don't add any
hash at the end, etc.) Make the hash 16 bytes long rather than 8 bytes.

Fix the unit test to take into account the new rules.

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
src/rados_sync.cc
src/test/test_rados_tool.sh