]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
AsyncMessenger.cc : improve error messages 61402/head
authorAnthony D'Atri <anthonyeleven@users.noreply.github.com>
Wed, 15 Jan 2025 00:17:14 +0000 (19:17 -0500)
committerZac Dover <zac.dover@proton.me>
Wed, 15 Jan 2025 15:26:59 +0000 (01:26 +1000)
Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit 3d36a3b9bbeb8b21b99046aab0d0bdf8f1c30aa2)

src/msg/async/AsyncMessenger.cc

index 2e38bd434a836ec46f18e5c60772a95cbb295dad..6b3a8c3f6dcd8d515eadd3b189e4f45efbd8d00a 100644 (file)
@@ -207,22 +207,22 @@ void Processor::accept()
        } else if (r == -EAGAIN) {
          break;
        } else if (r == -EMFILE || r == -ENFILE) {
-         lderr(msgr->cct) << __func__ << " open file descriptions limit reached sd = " << listen_socket.fd()
+         lderr(msgr->cct) << __func__ << " open file descriptors limit reached fd = " << listen_socket.fd()
                           << " errno " << r << " " << cpp_strerror(r) << dendl;
          if (++accept_error_num > msgr->cct->_conf->ms_max_accept_failures) {
-           lderr(msgr->cct) << "Proccessor accept has encountered enough error numbers, just do ceph_abort()." << dendl;
+           lderr(msgr->cct) << "Proccessor accept has encountered too many errors, just do ceph_abort()." << dendl;
            ceph_abort();
          }
          continue;
        } else if (r == -ECONNABORTED) {
-         ldout(msgr->cct, 0) << __func__ << " it was closed because of rst arrived sd = " << listen_socket.fd()
+         ldout(msgr->cct, 0) << __func__ << " closed because of rst arrival fd = " << listen_socket.fd()
                              << " errno " << r << " " << cpp_strerror(r) << dendl;
          continue;
        } else {
          lderr(msgr->cct) << __func__ << " no incoming connection?"
                           << " errno " << r << " " << cpp_strerror(r) << dendl;
          if (++accept_error_num > msgr->cct->_conf->ms_max_accept_failures) {
-           lderr(msgr->cct) << "Proccessor accept has encountered enough error numbers, just do ceph_abort()." << dendl;
+           lderr(msgr->cct) << "Proccessor accept has encountered too many errors, just do ceph_abort()." << dendl;
            ceph_abort();
          }
          continue;