]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/net: set TCP_NODELAY according to ms_tcp_nodelay
authorXuehan Xu <xuxuehan@qianxin.com>
Sun, 23 Jul 2023 09:33:16 +0000 (17:33 +0800)
committerXuehan Xu <xuxuehan@qianxin.com>
Mon, 24 Jul 2023 01:43:37 +0000 (09:43 +0800)
commite21cfa770570f7e7410b830b11edee17e80dead2
treea0178e1f62ab1477813af091a9c88dd50ee6e121
parentd71eea965de058d98798db70be19d32f2dc83a86
crimson/net: set TCP_NODELAY according to ms_tcp_nodelay

There are cases in which we need low latency of an individual op, like
updating RBD image's object map which would block other ops for a
object not created yet. We need to make sure the rbd-object-map-update
like ops have as low latency as possible

Fixes: https://tracker.ceph.com/issues/62098
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
src/crimson/net/Socket.cc