]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
AsyncConnection: remove outdated comment
authorIlya Dryomov <idryomov@gmail.com>
Thu, 20 Oct 2016 15:50:44 +0000 (17:50 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 21 Oct 2016 18:17:50 +0000 (20:17 +0200)
Commit 5c0a689d720f ("AsyncConnection: remove unnecessary "send" flag")
dropped this parameter.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
src/msg/async/AsyncConnection.h

index e1001119e942993b208aa5657cdf065a4da04d97..0a16752df870a7668e49a1f2ba7c3972b34f0efc 100644 (file)
@@ -57,8 +57,6 @@ class AsyncConnection : public Connection {
     outcoming_bl.claim_append(bl);
     return _try_send(more);
   }
-  // if "send" is false, it will only append bl to send buffer
-  // the main usage is avoid error happen outside messenger threads
   ssize_t _try_send(bool more=false);
   ssize_t _send(Message *m);
   void prepare_send_message(uint64_t features, Message *m, bufferlist &bl);