]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
common/admin_socket: replace #warning with TODO
authorKefu Chai <kchai@redhat.com>
Sun, 30 Aug 2020 09:56:48 +0000 (17:56 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 30 Aug 2020 10:32:09 +0000 (18:32 +0800)
less distracting when fixing compiling error / warnings this way

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/common/admin_socket.cc

index 9f396542d77da610cddbc52e1dd1ce7aef80f9c4..a756e2f0c68f9ad56916597e44b29afc77bf4566 100644 (file)
@@ -421,7 +421,7 @@ void AdminSocket::do_tell_queue()
        reply->set_tid(m->get_tid());
        reply->set_data(outbl);
 #ifdef WITH_SEASTAR
-#warning "fix message send with crimson"
+        // TODO: crimson: handle asok commmand from alien thread
 #else
        m->get_connection()->send_message(reply);
 #endif
@@ -437,7 +437,7 @@ void AdminSocket::do_tell_queue()
        reply->set_tid(m->get_tid());
        reply->set_data(outbl);
 #ifdef WITH_SEASTAR
-#warning "fix message send with crimson"
+        // TODO: crimson: handle asok commmand from alien thread
 #else
        m->get_connection()->send_message(reply);
 #endif
@@ -452,7 +452,7 @@ int AdminSocket::execute_command(
   bufferlist *outbl)
 {
 #ifdef WITH_SEASTAR
-#warning "must implement admin socket blocking execute_command() for crimson"
+   // TODO: crimson: blocking execute_command() in alien thread
   return -ENOSYS;
 #else
   bool done = false;