]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
client: use new Trace interface 12515/head
authorYunchuan Wen <yunchuan.wen@kylin-cloud.com>
Fri, 16 Dec 2016 07:08:13 +0000 (15:08 +0800)
committerYunchuan Wen <yunchuan.wen@kylin-cloud.com>
Fri, 16 Dec 2016 07:08:13 +0000 (15:08 +0800)
Signed-off-by: Yunchuan Wen <yunchuan.wen@kylin-cloud.com>
src/client/SyntheticClient.cc

index 5e1ad2d0352d8d8e0168c66b4ffb561679667ca8..b28f077b0de6c96ff5d76aaafd0748a70ae8e78c 100644 (file)
@@ -1004,8 +1004,8 @@ int SyntheticClient::play_trace(Trace& t, string& prefix, bool metadata_only)
   UserPerm perms = client->pick_my_perms();
   t.start();
 
-  char buf[1024];
-  char buf2[1024];
+  string buf;
+  string buf2;
 
   utime_t start = ceph_clock_now(client->cct);