From 923cc630884c7afb605ab613dae8981a4d9b4c5e Mon Sep 17 00:00:00 2001 From: Radoslaw Zarzynski Date: Tue, 17 Oct 2017 13:09:02 +0200 Subject: [PATCH] Revert "bluestore/fio: Fixed problem with all objects having the same hash" This reverts commit 0eb5359273df2c92fa525683f88586878f57bb4b. Signed-off-by: Radoslaw Zarzynski --- src/test/fio/fio_ceph_objectstore.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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) {} }; -- 2.39.5