{"action":"created","issue":{"url":"https://api.github.com/repos/ceph/ceph/issues/13659","repository_url":"https://api.github.com/repos/ceph/ceph","labels_url":"https://api.github.com/repos/ceph/ceph/issues/13659/labels{/name}","comments_url":"https://api.github.com/repos/ceph/ceph/issues/13659/comments","events_url":"https://api.github.com/repos/ceph/ceph/issues/13659/events","html_url":"https://github.com/ceph/ceph/pull/13659","id":210413885,"number":13659,"title":"common/EventTrace: fix compiler warning.","user":{"login":"majianpeng","id":1230551,"avatar_url":"https://avatars.githubusercontent.com/u/1230551?v=3","gravatar_id":"","url":"https://api.github.com/users/majianpeng","html_url":"https://github.com/majianpeng","followers_url":"https://api.github.com/users/majianpeng/followers","following_url":"https://api.github.com/users/majianpeng/following{/other_user}","gists_url":"https://api.github.com/users/majianpeng/gists{/gist_id}","starred_url":"https://api.github.com/users/majianpeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/majianpeng/subscriptions","organizations_url":"https://api.github.com/users/majianpeng/orgs","repos_url":"https://api.github.com/users/majianpeng/repos","events_url":"https://api.github.com/users/majianpeng/events{/privacy}","received_events_url":"https://api.github.com/users/majianpeng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-27T08:08:48Z","updated_at":"2017-02-27T10:19:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ceph/ceph/pulls/13659","html_url":"https://github.com/ceph/ceph/pull/13659","diff_url":"https://github.com/ceph/ceph/pull/13659.diff","patch_url":"https://github.com/ceph/ceph/pull/13659.patch"},"body":"/mnt/ceph/src/osd/OSD.cc: In member function ‘void\r\nOSD::dequeue_op(PGRef, OpRequestRef, ThreadPool::TPHandle&)’:\r\n/mnt/ceph/src/osd/OSD.cc:9112:42: error: invalid conversion from ‘const\r\nMessage*’ to ‘Message*’ [-fpermissive]\r\n   OID_EVENT_TRACE_WITH_MSG(op->get_req(), \"DEQUEUE_OP_BEGIN\", false);\r\n                                          ^\r\nIn file included from /mnt/ceph/src/osd/OSD.h:57:0,\r\n                 from /mnt/ceph/src/osd/OSD.cc:38:\r\n/mnt/ceph/src/common/EventTrace.h:72:15: note:   initializing argument 1\r\nof ‘static void EventTrace::trace_oid_event(Message*, const char*, const\r\nchar*, const char*, int, bool)’\r\n   static void trace_oid_event(Message *m, const char *event, const char\r\n*file,\r\n               ^\r\n/mnt/ceph/src/osd/OSD.cc:9158:42: error: invalid conversion from ‘const\r\nMessage*’ to ‘Message*’ [-fpermissive]\r\n   OID_EVENT_TRACE_WITH_MSG(op->get_req(), \"DEQUEUE_OP_END\", true);\r\n                                          ^\r\nIn file included from /mnt/ceph/src/osd/OSD.h:57:0,\r\n                 from /mnt/ceph/src/osd/OSD.cc:38:\r\n/mnt/ceph/src/common/EventTrace.h:72:15: note:   initializing argument 1\r\nof ‘static void EventTrace::trace_oid_event(Message*, const char*, const\r\nchar*, const char*, int, bool)’\r\n   static void trace_oid_event(Message *m, const char *event, const char\r\n*file,\r\n               ^\r\nsrc/osd/CMakeFiles/osd.dir/build.make:62: recipe for target\r\n'src/osd/CMakeFiles/osd.dir/OSD.cc.o' failed\r\n\r\nSigned-off-by: Jianpeng Ma <jianpeng.ma@intel.com>"},"comment":{"url":"https://api.github.com/repos/ceph/ceph/issues/comments/282681071","html_url":"https://github.com/ceph/ceph/pull/13659#issuecomment-282681071","issue_url":"https://api.github.com/repos/ceph/ceph/issues/13659","id":282681071,"user":{"login":"majianpeng","id":1230551,"avatar_url":"https://avatars.githubusercontent.com/u/1230551?v=3","gravatar_id":"","url":"https://api.github.com/users/majianpeng","html_url":"https://github.com/majianpeng","followers_url":"https://api.github.com/users/majianpeng/followers","following_url":"https://api.github.com/users/majianpeng/following{/other_user}","gists_url":"https://api.github.com/users/majianpeng/gists{/gist_id}","starred_url":"https://api.github.com/users/majianpeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/majianpeng/subscriptions","organizations_url":"https://api.github.com/users/majianpeng/orgs","repos_url":"https://api.github.com/users/majianpeng/repos","events_url":"https://api.github.com/users/majianpeng/events{/privacy}","received_events_url":"https://api.github.com/users/majianpeng/received_events","type":"User","site_admin":false},"created_at":"2017-02-27T10:19:07Z","updated_at":"2017-02-27T10:19:07Z","body":"@tchaikov . please review!"}}
{"actor":{"display_login":"majianpeng"}}