]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
msg: add min delay packets support for mons 37767/head
authorSong Shun <song.shun3@zte.com.cn>
Thu, 22 Oct 2020 11:49:57 +0000 (19:49 +0800)
committerKefu Chai <tchaikov@gmail.com>
Sat, 6 Aug 2022 03:10:40 +0000 (11:10 +0800)
commit13d675b4244552ef4e229ff7e2db828fa8adb4a5
tree21cd87e9a94dd73432a770c80759642cdaffc385
parente460893b1f64091d602eb4fa4cd7de7454e73b37
msg: add min delay packets support for mons

when suffering network bottleneck, like switch qos control for only 50Mbps,
mon cluster may stuck in electing for long time and elects again and again,
which introduces many troubles, like it's hard to find where the problem is.
even more worse, it may lead to IO hang when one osd can't serve IO.
so it's better to keep mon cluster stable always.

Signed-off-by: Song Shun <song.shun3@zte.com.cn>
src/common/options/mon.yaml.in
src/msg/async/AsyncConnection.cc
src/msg/async/PosixStack.cc
src/msg/async/Stack.h
src/msg/async/dpdk/DPDKStack.h
src/msg/async/rdma/RDMAConnectedSocketImpl.cc
src/msg/async/rdma/RDMAStack.h