From: Radoslaw Zarzynski Date: Tue, 17 Oct 2017 11:09:02 +0000 (+0200) Subject: Revert "bluestore/fio: Fixed problem with all objects having the same hash" X-Git-Tag: v13.0.1~527^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=923cc630884c7afb605ab613dae8981a4d9b4c5e;p=ceph-ci.git Revert "bluestore/fio: Fixed problem with all objects having the same hash" This reverts commit 0eb5359273df2c92fa525683f88586878f57bb4b. Signed-off-by: Radoslaw Zarzynski --- diff --git a/src/test/fio/fio_ceph_objectstore.cc b/src/test/fio/fio_ceph_objectstore.cc index d61e865afe4..e832a481dda 100644 --- a/src/test/fio/fio_ceph_objectstore.cc +++ b/src/test/fio/fio_ceph_objectstore.cc @@ -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) {} };