Motr  M0
rpc_opcodes.h
Go to the documentation of this file.
1 /* -*- C -*- */
2 /*
3  * Copyright (c) 2012-2021 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 
34 #pragma once
35 
36 #ifndef __MOTR_RPC_CORE_OPCODES_H__
37 #define __MOTR_RPC_CORE_OPCODES_H__
38 
39 #include "xcode/xcode.h" /* M0_XCA_ENUM */
40 
47 
52 
56 
59 
63 
78 
84 
87 
90 
93 
96 
99 
111 
114 
118 
124 
125  /* Mdservice fops */
156 
157  /* RPC UT */
159 
166 
167  /* SNS copy packet. */
176  /* SNS sliding window update fop. */
179 
180  /* RPC UB */
183 
184  /* Pool */
189 
190  /* Stats fops */
194 
195  /* DTM */
198 
199  /* High Availability opcodes */
205 
206  /* fsync fops */
213 
214  /* cob getattr & reply */
217  /* cob setattr & reply */
220 
226 
229 
230  /* reqh/ut/fop_allow_ut.c */
232 
233  /* SNS repair/rebalance quiesce */
238 
239  /* SNS repair/rebalance status query */
248 
249  /* SNS sliding window update reply fop. */
252 
260 
264 
269 
273 
277 
279  M0_RCONFC_HERD_LINK_OPCODE = 220, /* no FOP */
280 
289 
293 
303 
312  /* DIX repair/re-balance sliding window update fop. */
315  /* DIX copy packet. */
320  /* SNS sliding window update reply fop. */
323  /* In-storage-compute service. */
330  /*
331  * Identifiers below are for fop-less foms, not fops.
332  */
335  M0_CM_UT_OPCODE = 1026, /* CP, PUMP, SW_UPDATE, STORE */
336  M0_CM_REBALANCE_OPCODE = 1030, /* CP, PUMP, SW_UPDATE, STORE */
337  M0_CM_REPAIR_OPCODE = 1034, /* CP, PUMP, SW_UPDATE, STORE */
338  M0_CM_UT_SENDER_OPCODE = 1038, /* CP, PUMP, SW_UPDATE, STORE */
352  M0_CM_DIX_REB_OPCODE = 1055, /* CP, PUMP, SW, STORE, ITER */
353  M0_CM_DIX_REP_OPCODE = 1060, /* CP, PUMP, SW, STORE, ITER */
361 
363 } M0_XCA_ENUM;
364 
366 #endif /* __MOTR_RPC_CORE_OPCODES_H__ */
367 
368 /*
369  * Local variables:
370  * c-indentation-style: "K&R"
371  * c-basic-offset: 8
372  * tab-width: 8
373  * fill-column: 80
374  * scroll-step: 1
375  * End:
376  */
M0_RPC_OPCODES
Definition: rpc_opcodes.h:41
enum M0_RPC_OPCODES M0_XCA_ENUM