Motr  M0
fsync_foms.h
Go to the documentation of this file.
1 /* -*- C -*- */
2 /*
3  * Copyright (c) 2014-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_FSYNC_FOMS_H__
26 #define __MOTR_MDSERVICE_FSYNC_FOMS_H__
27 
28 #include "fop/fop.h" /* m0_fom */
29 
34 M0_EXTERN struct m0_sm_conf m0_fsync_fom_conf;
36 
44 M0_INTERNAL int m0_fsync_req_fom_create(struct m0_fop *fop,
45  struct m0_fom **out,
46  struct m0_reqh *reqh);
47 
48 
49 #endif /* __MOTR_MDSERVICE_FSYNC_FOMS_H__ */
50 /*
51  * Local variables:
52  * c-indentation-style: "K&R"
53  * c-basic-offset: 8
54  * tab-width: 8
55  * fill-column: 80
56  * scroll-step: 1
57  * End:
58  */
Definition: sm.h:350
M0_INTERNAL int m0_fsync_req_fom_create(struct m0_fop *fop, struct m0_fom **out, struct m0_reqh *reqh)
Definition: fsync_foms.c:330
Definition: reqh.h:94
Definition: fom.h:481
struct m0_sm_state_descr m0_fsync_fom_phases[]
Definition: fsync_foms.c:69
struct m0_reqh reqh
Definition: rm_foms.c:48
M0_EXTERN struct m0_sm_conf m0_fsync_fom_conf
Definition: fsync_foms.h:34
static struct m0_fop * fop
Definition: item.c:57
#define out(...)
Definition: gen.c:41
Definition: fop.h:79