Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / src / dmclock / sim / src / ssched / ssched_recs.h
1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab
3
4 /*
5  * Copyright (C) 2016 Red Hat Inc.
6  */
7
8
9 #pragma once
10
11
12 #include <ostream>
13 #include <assert.h>
14
15
16 namespace crimson {
17   namespace simple_scheduler {
18
19     // since we send no additional data out
20     // NOTE: Change name to RespParams? Is it used elsewhere?
21     struct NullData {
22       friend std::ostream& operator<<(std::ostream& out, const NullData& n) {
23         out << "NullData{ EMPTY }";
24         return out;
25       }
26     }; // struct NullData
27
28
29     struct ReqParams {
30       friend std::ostream& operator<<(std::ostream& out, const ReqParams& rp) {
31         out << "ReqParams{ EMPTY }";
32         return out;
33       }
34     };
35
36   }
37 }