]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: allow to send messages concurrently 54304/head
authorYingxin Cheng <yingxin.cheng@intel.com>
Tue, 31 Oct 2023 01:36:23 +0000 (09:36 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Mon, 20 Nov 2023 02:55:36 +0000 (10:55 +0800)
commit93ef23d90aa71ca3c084c28d53a0acb0bf5fb4f6
tree42c2507be0c4a80565d6d0dbb3cc2b5e08e2ee4d
parent6ebf9cd3671960ceb88d3b95d487c91fd41fc8e6
crimson/osd: allow to send messages concurrently

The ordering is now guaranteed upon calling send(), so there is no
reason to couple the crosscore send future with the operation phases --
exclusive phases will limit the send concurrency, potentially causing
OSD starvation.

Decouple the crosscore send futures in the IO pathes, mostly in
ClientRequest and OSDSingletonState::send_to_osd().

Issue-identified-by: Chunmei Liu <chunmei.liu@intel.com>
see PR53934.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/net/Connection.h
src/crimson/net/Fwd.h
src/crimson/osd/osd_operations/client_request.cc
src/crimson/osd/shard_services.cc