Motr  M0
m0t1fs_fsync_interactions Struct Reference

#include <fsync.h>

Collaboration diagram for m0t1fs_fsync_interactions:
Collaboration graph

Data Fields

int(* kernel_fsync )(struct file *file, loff_t start, loff_t end, int datasync)
 
int(* post_rpc )(struct m0_rpc_item *item)
 
int(* wait_for_reply )(struct m0_rpc_item *item, m0_time_t timeout)
 
void(* fop_fini )(struct m0_fop *fop)
 
void(* fop_put )(struct m0_fop *fop)
 

Detailed Description

Ugly abstraction of m0t1fs_fsync interactions with wider motr code

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

Definition at line 377 of file fsync.h.

Field Documentation

◆ fop_fini

void(* fop_fini) (struct m0_fop *fop)

Definition at line 387 of file fsync.h.

◆ fop_put

void(* fop_put) (struct m0_fop *fop)

Definition at line 388 of file fsync.h.

◆ kernel_fsync

int(* kernel_fsync) (struct file *file, loff_t start, loff_t end, int datasync)

Definition at line 379 of file fsync.h.

◆ post_rpc

int(* post_rpc) (struct m0_rpc_item *item)

Definition at line 385 of file fsync.h.

◆ wait_for_reply

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

Definition at line 386 of file fsync.h.


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