Revert "bluestore/fio: Fixed problem with all objects having the same hash"

This reverts commit 0eb5359273.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
This commit is contained in:
Radoslaw Zarzynski 2017-10-17 13:09:02 +02:00
parent ac643bcf86
commit 923cc63088

View File

@ -179,9 +179,7 @@ struct Object {
Collection& coll;
Object(const char* name, Collection& coll)
: oid(hobject_t(name, "", CEPH_NOSNAP,
ceph_str_hash(CEPH_STR_HASH_RJENKINS, name, strlen(name)),
coll.pg.pool(), "")),
: oid(hobject_t(name, "", CEPH_NOSNAP, coll.pg.ps(), coll.pg.pool(), "")),
coll(coll) {}
};