Motr  M0
trigger_fop.c
Go to the documentation of this file.
1 /* -*- C -*- */
2 /*
3  * Copyright (c) 2016-2020 Seagate Technology LLC and/or its Affiliates
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  * For any questions about this software or licensing,
18  * please email opensource@seagate.com or cortx-questions@seagate.com.
19  *
20  */
21 
22 
23 
30 #define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_DIXCM
31 #include "cm/repreb/trigger_fop.h"
33 #include "cm/repreb/trigger_fom.h"
34 #include "dix/cm/trigger_fom.h"
35 #include "dix/cm/trigger_fop.h"
36 #include "dix/cm/cm.h"
37 #include "rpc/item.h"
38 
46 {
55 }
56 
64 {
67  "dix rebalance trigger",
74  "dix rebalance trigger reply",
79 
82  "dix rebalance quiesce trigger",
89  "dix rebalance quiesce trigger reply",
94 
97  "dix rebalance status",
104  "dix rebalance status reply",
111  "dix rebalance abort",
118  "dix rebalance abort reply",
123 }
124 
125 #undef M0_TRACE_SUBSYSTEM
126 
129 /*
130  * Local variables:
131  * c-indentation-style: "K&R"
132  * c-basic-offset: 8
133  * tab-width: 8
134  * fill-column: 80
135  * scroll-step: 1
136  * End:
137  */
138 /*
139  * vim: tabstop=8 shiftwidth=8 noexpandtab textwidth=80 nowrap
140  */
M0_INTERNAL void m0_dix_cm_rebalance_trigger_fop_init(void)
Definition: trigger_fop.c:63
struct m0_xcode_type * m0_status_rep_fop_xc
struct m0_fop_type m0_dix_rebalance_quiesce_fopt
M0_EXTERN struct m0_cm_type dix_rebalance_cmt
Definition: cm.h:174
struct m0_fop_type m0_dix_rebalance_abort_rep_fopt
struct m0_fop_type m0_dix_rebalance_abort_fopt
struct m0_xcode_type * trigger_fop_xc
const struct m0_fom_type_ops m0_dix_trigger_fom_type_ops
Definition: trigger_fom.c:55
struct m0_fop_type m0_dix_rebalance_trigger_rep_fopt
M0_INTERNAL void m0_cm_trigger_fop_fini(struct m0_fop_type *ft)
Definition: trigger_fom.c:353
struct m0_fop_type m0_dix_rebalance_quiesce_rep_fopt
struct m0_fop_type m0_dix_rebalance_status_fopt
struct m0_fop_type m0_dix_rebalance_trigger_fopt
struct m0_fop_type m0_dix_rebalance_status_rep_fopt
M0_INTERNAL void m0_cm_trigger_fop_init(struct m0_fop_type *ft, enum M0_RPC_OPCODES op, const char *name, const struct m0_xcode_type *xt, uint64_t rpc_flags, struct m0_cm_type *cmt, const struct m0_fom_type_ops *ops)
Definition: trigger_fom.c:358
M0_INTERNAL void m0_dix_cm_rebalance_trigger_fop_fini(void)
Definition: trigger_fop.c:45
struct m0_xcode_type * trigger_rep_fop_xc