From fa69a02dc8f33f757879b318a94f011382a8310e Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Sun, 30 Aug 2020 17:56:48 +0800 Subject: [PATCH] common/admin_socket: replace #warning with TODO less distracting when fixing compiling error / warnings this way Signed-off-by: Kefu Chai --- src/common/admin_socket.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/admin_socket.cc b/src/common/admin_socket.cc index 9f396542d77..a756e2f0c68 100644 --- a/src/common/admin_socket.cc +++ b/src/common/admin_socket.cc @@ -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; -- 2.39.5