Motr  M0
sync_request Struct Reference

#include <sync.h>

Collaboration diagram for sync_request:
Collaboration graph

Data Fields

struct m0_op_syncsr_op_sync
 
struct m0_tl sr_targets
 
struct m0_mutex sr_stxs_lock
 
struct m0_tl sr_stxs
 
struct m0_mutex sr_fops_lock
 
struct m0_tl sr_fops
 
int32_t sr_nr_fops
 
struct m0_sm_ast sr_ast
 
int32_t sr_rc
 

Detailed Description

Definition at line 67 of file sync.h.

Field Documentation

◆ sr_ast

struct m0_sm_ast sr_ast

Definition at line 89 of file sync.h.

◆ sr_fops

struct m0_tl sr_fops

Definition at line 84 of file sync.h.

◆ sr_fops_lock

struct m0_mutex sr_fops_lock

Records the number of FSYNC fops and fops(wrpper). sr_nr_fops seems redundant here but the purpose is to avoid scanning the list to get the length of sr_fops.

Definition at line 83 of file sync.h.

◆ sr_nr_fops

int32_t sr_nr_fops

Definition at line 85 of file sync.h.

◆ sr_op_sync

struct m0_op_sync* sr_op_sync

Definition at line 69 of file sync.h.

◆ sr_rc

int32_t sr_rc

Definition at line 91 of file sync.h.

◆ sr_stxs

struct m0_tl sr_stxs

Definition at line 76 of file sync.h.

◆ sr_stxs_lock

struct m0_mutex sr_stxs_lock

List of {service, txid} pairs constructed from all targets.

Definition at line 75 of file sync.h.

◆ sr_targets

struct m0_tl sr_targets

List of targets to sync.

Definition at line 72 of file sync.h.


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