]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
src/msg: extract Policy into its own header
authorKefu Chai <kchai@redhat.com>
Tue, 13 Mar 2018 02:28:55 +0000 (10:28 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 13 Jun 2018 06:09:22 +0000 (14:09 +0800)
commita8e3448fef6f130a5510e660772443f949b56a25
treefc90f664d6176bba1ff051bc3d2983dcf8436f0d
parentb3e0558f424f2571bd25909fb930dc0d987a7e37
src/msg: extract Policy into its own header

and templaterize it. as we need to share Policy between seastar app and
non-seastar apps. and the Throttle interface for seastar is different
from that for non-seastar, so we should templaterize the Policy and
PolicySet.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/mon/OSDMonitor.cc
src/msg/Messenger.h
src/msg/Policy.h [new file with mode: 0644]
src/msg/SimplePolicyMessenger.h