Motr
M0
net.c
Go to the documentation of this file.
1
/* -*- C -*- */
2
/*
3
* Copyright (c) 2013-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
#define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_SNSCM
24
#include "
lib/memory.h
"
25
#include "
lib/trace.h
"
26
27
#include "
sns/cm/cp.h
"
28
34
extern
struct
m0_fop_type
m0_sns_repair_cpx_fopt
;
35
extern
struct
m0_fop_type
m0_sns_repair_cpx_reply_fopt
;
36
37
M0_INTERNAL
int
m0_sns_cm_repair_cp_send
(
struct
m0_cm_cp
*cp)
38
{
39
return
m0_sns_cm_cp_send
(cp, &
m0_sns_repair_cpx_fopt
);
40
}
41
43
#undef M0_TRACE_SUBSYSTEM
44
45
/*
46
* Local variables:
47
* c-indentation-style: "K&R"
48
* c-basic-offset: 8
49
* tab-width: 8
50
* fill-column: 80
51
* scroll-step: 1
52
* End:
53
*/
m0_sns_cm_cp_send
M0_INTERNAL int m0_sns_cm_cp_send(struct m0_cm_cp *cp, struct m0_fop_type *ft)
Definition:
net.c:195
trace.h
memory.h
m0_cm_cp
Definition:
cp.h:160
m0_sns_repair_cpx_fopt
struct m0_fop_type m0_sns_repair_cpx_fopt
Definition:
repair_cp_onwire.c:31
cp.h
m0_sns_cm_repair_cp_send
M0_INTERNAL int m0_sns_cm_repair_cp_send(struct m0_cm_cp *cp)
Definition:
net.c:37
m0_sns_repair_cpx_reply_fopt
struct m0_fop_type m0_sns_repair_cpx_reply_fopt
Definition:
repair_cp_onwire.c:32
m0_fop_type
Definition:
fop.h:223
sns
cm
repair
net.c
Generated on Thu Apr 14 2022 14:02:51 for Motr by
1.8.14