Motr  M0
fsync_fops.c File Reference
#include "mdservice/fsync_foms.h"
#include "mdservice/fsync_fops.h"
#include "mdservice/fsync_fops_xc.h"
#include "rpc/rpc_opcodes.h"
#include "lib/trace.h"
#include "fop/fom_generic.h"
Include dependency graph for fsync_fops.c:

Go to the source code of this file.

Macros

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_COB
 

Functions

M0_INTERNAL void m0_mdservice_fsync_fop_fini (void)
 
static void fop_init (struct m0_reqh_service_type *svct)
 
M0_INTERNAL int m0_mdservice_fsync_fop_init (struct m0_reqh_service_type *svct)
 

Variables

struct m0_fop_type m0_fop_fsync_mds_fopt
 
struct m0_fop_type m0_fop_fsync_rep_fopt
 
const struct m0_fom_type_ops m0_fsync_fom_ops
 

Macro Definition Documentation

◆ M0_TRACE_SUBSYSTEM

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_COB

Definition at line 22 of file fsync_fops.c.

Function Documentation

◆ fop_init()

static void fop_init ( struct m0_reqh_service_type svct)
static

Definition at line 67 of file fsync_fops.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ m0_mdservice_fsync_fop_fini()

M0_INTERNAL void m0_mdservice_fsync_fop_fini ( void  )

Releases the fsync fop request type and the fsync fop reply type.

Definition at line 44 of file fsync_fops.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ m0_mdservice_fsync_fop_init()

M0_INTERNAL int m0_mdservice_fsync_fop_init ( struct m0_reqh_service_type svct)

Initializes the fsync fop request type and the fsync fop reply type so the caller can use them to understand and handle fsync fops.

Definition at line 113 of file fsync_fops.c.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ m0_fop_fsync_mds_fopt

struct m0_fop_type m0_fop_fsync_mds_fopt

FOP type for the fsync fop. This type is set by this module (fsync_fops.c)

Definition at line 33 of file fsync_fops.c.

◆ m0_fop_fsync_rep_fopt

struct m0_fop_type m0_fop_fsync_rep_fopt

FOP type for the fsync fop reply. This type is set by this module (fsync_fops.c)

Definition at line 39 of file fsync_fops.c.

◆ m0_fsync_fom_ops

const struct m0_fom_type_ops m0_fsync_fom_ops
Initial value:
= {
}
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

Operations for the fom. Mainly the function invoked to create the right fom for an fsync fop.

Definition at line 62 of file fsync_fops.c.