]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
msg/async/Stack: add abstract Stack
authorHaomai Wang <haomai@xsky.com>
Mon, 4 Jul 2016 06:41:13 +0000 (14:41 +0800)
committerHaomai Wang <haomai@xsky.com>
Tue, 16 Aug 2016 15:16:07 +0000 (23:16 +0800)
commit0ba42237e2c1e32507e66c35cc69f3d130184ad9
treebde8ec8aaade420a19c4d80aceeac01e40fc3664
parent9fa7af97b5bbf972d8cfaac464ca87377c27d29d
msg/async/Stack: add abstract Stack

Stack is a network IO framework which encapsulates all necessary basic network
interface, then it manages threads to work.

Different network backend like posix, dpdk even RDMA need to inherit Stack
class to implement necessary interfaces. So it will make ease for other
network backend to integrated into ceph. Otherwise, each backend need to
implement the whole Messenger logics like reconnect, policy handle, session
maintain...

Signed-off-by: Haomai Wang <haomai@xsky.com>
src/CMakeLists.txt
src/msg/Makefile.am
src/msg/async/Stack.cc [new file with mode: 0644]
src/msg/async/Stack.h [new file with mode: 0644]