diff options
author | Anthony D'Atri <anthonyeleven@users.noreply.github.com> | 2025-01-15 01:17:14 +0100 |
---|---|---|
committer | Anthony D'Atri <anthonyeleven@users.noreply.github.com> | 2025-01-15 01:17:14 +0100 |
commit | 3d36a3b9bbeb8b21b99046aab0d0bdf8f1c30aa2 (patch) | |
tree | 5be6ea4c7fddc66724fddbb77d0969ebb7dd3405 | |
parent | Merge pull request #58647 from rishabh-d-dave/mgr-vol-mod-disable (diff) | |
download | ceph-3d36a3b9bbeb8b21b99046aab0d0bdf8f1c30aa2.tar.xz ceph-3d36a3b9bbeb8b21b99046aab0d0bdf8f1c30aa2.zip |
AsyncMessenger.cc : improve error messages
Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
-rw-r--r-- | src/msg/async/AsyncMessenger.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/msg/async/AsyncMessenger.cc b/src/msg/async/AsyncMessenger.cc index 2e38bd434a8..6b3a8c3f6dc 100644 --- a/src/msg/async/AsyncMessenger.cc +++ b/src/msg/async/AsyncMessenger.cc @@ -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; |