]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- |
2 | // vim: ts=8 sw=2 smarttab | |
3 | ||
4 | #ifndef CEPH_MOSDFASTDISPATCHOP_H | |
5 | #define CEPH_MOSDFASTDISPATCHOP_H | |
6 | ||
7 | #include "msg/Message.h" | |
8 | #include "osd/osd_types.h" | |
9 | ||
9f95a23c | 10 | class MOSDFastDispatchOp : public Message { |
7c673cae | 11 | public: |
9f95a23c TL |
12 | MOSDFastDispatchOp(int t, int version, int compat_version) |
13 | : Message{t, version, compat_version} | |
14 | {} | |
7c673cae FG |
15 | virtual epoch_t get_map_epoch() const = 0; |
16 | virtual epoch_t get_min_epoch() const { | |
17 | return get_map_epoch(); | |
18 | } | |
19 | virtual spg_t get_spg() const = 0; | |
7c673cae FG |
20 | }; |
21 | ||
22 | #endif |