Motr  M0
sync_interactions Struct Reference

#include <sync.h>

Collaboration diagram for sync_interactions:
Collaboration graph

Data Fields

int(* si_post_rpc )(struct m0_rpc_item *item)
 
int(* si_wait_for_reply )(struct m0_rpc_item *item, m0_time_t timeout)
 
void(* si_fop_fini )(struct m0_fop *fop)
 
void(* si_fop_put )(struct m0_fop *fop)
 

Detailed Description

Ugly abstraction of sync interactions with wider motr code

  • purely to facilitate unit testing.
  • this is used in sync.c and its unit tests.

Definition at line 126 of file sync.h.

Field Documentation

◆ si_fop_fini

void(* si_fop_fini) (struct m0_fop *fop)

Definition at line 129 of file sync.h.

◆ si_fop_put

void(* si_fop_put) (struct m0_fop *fop)

Definition at line 130 of file sync.h.

◆ si_post_rpc

int(* si_post_rpc) (struct m0_rpc_item *item)

Definition at line 127 of file sync.h.

◆ si_wait_for_reply

int(* si_wait_for_reply) (struct m0_rpc_item *item, m0_time_t timeout)

Definition at line 128 of file sync.h.


The documentation for this struct was generated from the following file: