]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/fio: fix lack of setting for Sequencer::shard_hint 15571/head
authorIgor Fedotov <ifedotov@mirantis.com>
Wed, 7 Jun 2017 16:36:52 +0000 (09:36 -0700)
committerIgor Fedotov <ifedotov@mirantis.com>
Thu, 8 Jun 2017 11:35:22 +0000 (04:35 -0700)
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
src/test/fio/fio_ceph_objectstore.cc

index 2123671a7fbde7e622c105a2712688c6bc85de94..202b757c43a0abb71ac772c86a617ecfdd58ac39 100644 (file)
@@ -150,7 +150,9 @@ struct Collection {
   static constexpr int64_t MIN_POOL_ID = 0x0000ffffffffffff;
 
   Collection(const spg_t& pg)
-    : pg(pg), cid(pg), sequencer(stringify(pg)) {}
+    : pg(pg), cid(pg), sequencer(stringify(pg)) {
+    sequencer.shard_hint = pg;
+  }
 };
 
 struct Object {