]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/store_test: fix incorrect prompt given by stash callback
authorxie xingguo <xie.xingguo@zte.com.cn>
Thu, 7 Jul 2016 06:02:15 +0000 (14:02 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Thu, 18 Aug 2016 07:50:10 +0000 (15:50 +0800)
"clone finish" belongs to C_SyntheticOnClone instead.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/test/objectstore/store_test.cc

index c9a5f2f663f222117c92ae6a37342b7e8e87f898..dddb30aa9c6517509ac01d6ec4de1c11e63f0d21 100644 (file)
@@ -3012,7 +3012,7 @@ public:
 
     void finish(int r) {
       Mutex::Locker locker(state->lock);
-      EnterExit ee("clone finish");
+      EnterExit ee("stash finish");
       ASSERT_TRUE(state->in_flight_objects.count(oid));
       ASSERT_EQ(r, 0);
       state->in_flight_objects.erase(oid);