]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/net: fix execution_done wait mechanism
authorYingxin Cheng <yingxin.cheng@intel.com>
Fri, 25 Nov 2022 02:05:18 +0000 (10:05 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Wed, 8 Feb 2023 06:07:41 +0000 (14:07 +0800)
commitf8fe2ad087df49fd0ca4afd369b7a69c6df3af70
tree58bdecc3b735220a696d31ee7e49218b62f84867
parent03b732e48a3ef99fbf2ee86bd6bdb4fc97d36b17
crimson/net: fix execution_done wait mechanism

* prepare the execution_done before the function is invoked, not after.
* execution_done future doesn't need to be shared.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/net/ProtocolV2.cc
src/crimson/net/ProtocolV2.h