]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Revert "bluestore/fio: Fixed problem with all objects having the same hash" 18352/head
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Tue, 17 Oct 2017 11:09:02 +0000 (13:09 +0200)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Tue, 17 Oct 2017 12:10:11 +0000 (14:10 +0200)
This reverts commit 0eb5359273df2c92fa525683f88586878f57bb4b.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/test/fio/fio_ceph_objectstore.cc

index d61e865afe4bfc5556386cabbcca36d4a9b14728..e832a481ddaf0bc94323a635559deb428b48b2b7 100644 (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) {}
 };