]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/net: set TCP_NODELAY according to ms_tcp_nodelay 54063/head
authorXuehan Xu <xuxuehan@qianxin.com>
Sun, 23 Jul 2023 09:33:16 +0000 (17:33 +0800)
committerMatan Breizman <mbreizma@redhat.com>
Tue, 17 Oct 2023 16:21:37 +0000 (16:21 +0000)
commitc3150eadfb045e3efedc834b923a487a5f839084
tree7a8aa521c3e43b1e8a54afd5751ee32de423c9fe
parentd52d58295deb7da738e4bb9f674aaa6236c0a372
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>
(cherry picked from commit e21cfa770570f7e7410b830b11edee17e80dead2)
src/crimson/net/Socket.cc