Motr  M0
md_foms.h
Go to the documentation of this file.
1 /* -*- C -*- */
2 /*
3  * Copyright (c) 2011-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 #pragma once
24 
25 #ifndef __MOTR_MDSERVICE_MD_FOMS_H__
26 #define __MOTR_MDSERVICE_MD_FOMS_H__
27 
28 #include "mdservice/md_fops_xc.h"
29 
30 struct m0_fom;
31 struct m0_fop;
32 struct m0_fid;
33 
34 struct m0_cob;
35 struct m0_cob_nskey;
36 struct m0_cob_oikey;
37 
38 struct m0_fom_md {
40  struct m0_fom fm_fom;
43 };
44 
47 };
48 
49 M0_INTERNAL int m0_md_fop_init(struct m0_fop *fop, struct m0_fom *fom);
50 
54 M0_INTERNAL int m0_md_req_fom_create(struct m0_fop *fop, struct m0_fom **m,
55  struct m0_reqh *reqh);
56 M0_INTERNAL int m0_md_rep_fom_create(struct m0_fop *fop, struct m0_fom **m,
57  struct m0_reqh *reqh);
58 
59 #endif /* __MOTR_MDSERVICE_MD_FOMS_H__ */
60 
61 /*
62  * Local variables:
63  * c-indentation-style: "K&R"
64  * c-basic-offset: 8
65  * tab-width: 8
66  * fill-column: 80
67  * scroll-step: 1
68  * End:
69  */
M0_INTERNAL int m0_md_fop_init(struct m0_fop *fop, struct m0_fom *fom)
Definition: md_foms.c:1201
Definition: cob.h:581
static struct m0_addb2_mach * m
Definition: consumer.c:38
m0_md_fom_phases
Definition: md_foms.h:45
M0_INTERNAL int m0_md_rep_fom_create(struct m0_fop *fop, struct m0_fom **m, struct m0_reqh *reqh)
Definition: md_foms.c:1431
M0_INTERNAL int m0_md_req_fom_create(struct m0_fop *fop, struct m0_fom **m, struct m0_reqh *reqh)
Definition: md_foms.c:1437
struct m0_fol_frag fm_fol_frag
Definition: md_foms.h:42
Definition: reqh.h:94
Definition: dump.c:103
Definition: fom.h:481
struct m0_reqh reqh
Definition: rm_foms.c:48
Definition: fid.h:38
struct m0_fom fm_fom
Definition: md_foms.h:40
static struct m0_fop * fop
Definition: item.c:57
Definition: fop.h:79