Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | Data Fields
drbd_conf Struct Reference

#include <drbd_int.h>

Public Member Functions

struct drbd_backing_dev *ldev __protected_by (local)
 

Data Fields

unsigned long flags
 
struct net_conf * net_conf
 
struct syncer_conf sync_conf
 
sector_t p_size
 
struct request_queuerq_queue
 
struct block_devicethis_bdev
 
struct gendisk * vdisk
 
struct drbd_socket data
 
struct drbd_socket meta
 
int agreed_pro_version
 
unsigned long last_received
 
unsigned int ko_count
 
struct drbd_work resync_work
unplug_work go_diskless
md_sync_work 
start_resync_work
 
struct timer_list resync_timer
 
struct timer_list md_sync_timer
 
struct timer_list start_resync_timer
 
struct timer_list request_timer
 
union drbd_state new_state_tmp
 
union drbd_state state
 
wait_queue_head_t misc_wait
 
wait_queue_head_t state_wait
 
wait_queue_head_t net_cnt_wait
 
unsigned int send_cnt
 
unsigned int recv_cnt
 
unsigned int read_cnt
 
unsigned int writ_cnt
 
unsigned int al_writ_cnt
 
unsigned int bm_writ_cnt
 
atomic_t ap_bio_cnt
 
atomic_t ap_pending_cnt
 
atomic_t rs_pending_cnt
 
atomic_t unacked_cnt
 
atomic_t local_cnt
 
atomic_t net_cnt
 
spinlock_t req_lock
 
struct drbd_tl_epochunused_spare_tle
 
struct drbd_tl_epochnewest_tle
 
struct drbd_tl_epocholdest_tle
 
struct list_head out_of_sequence_requests
 
struct list_head barrier_acked_requests
 
struct hlist_headtl_hash
 
unsigned int tl_hash_s
 
unsigned long rs_total
 
unsigned long rs_failed
 
unsigned long rs_start
 
unsigned long rs_paused
 
unsigned long rs_same_csum
 
unsigned long rs_mark_left [DRBD_SYNC_MARKS]
 
unsigned long rs_mark_time [DRBD_SYNC_MARKS]
 
int rs_last_mark
 
sector_t ov_start_sector
 
sector_t ov_position
 
sector_t ov_last_oos_start
 
sector_t ov_last_oos_size
 
unsigned long ov_left
 
struct crypto_hashcsums_tfm
 
struct crypto_hashverify_tfm
 
unsigned long last_reattach_jif
 
unsigned long last_reconnect_jif
 
struct drbd_thread receiver
 
struct drbd_thread worker
 
struct drbd_thread asender
 
struct drbd_bitmapbitmap
 
unsigned long bm_resync_fo
 
struct lru_cacheresync
 
unsigned int resync_locked
 
unsigned int resync_wenr
 
int open_cnt
 
u64p_uuid
 
struct drbd_epochcurrent_epoch
 
spinlock_t epoch_lock
 
unsigned int epochs
 
enum write_ordering_e write_ordering
 
struct list_head active_ee
 
struct list_head sync_ee
 
struct list_head done_ee
 
struct list_head read_ee
 
struct list_head net_ee
 
struct hlist_headee_hash
 
unsigned int ee_hash_s
 
struct drbd_epoch_entrylast_write_w_barrier
 
int next_barrier_nr
 
struct hlist_headapp_reads_hash
 
struct list_head resync_reads
 
atomic_t pp_in_use
 
atomic_t pp_in_use_by_net
 
wait_queue_head_t ee_wait
 
struct pagemd_io_page
 
struct pagemd_io_tmpp
 
struct drbd_md_io md_io
 
atomic_t md_io_in_use
 
spinlock_t al_lock
 
wait_queue_head_t al_wait
 
struct lru_cacheact_log
 
unsigned int al_tr_number
 
int al_tr_cycle
 
int al_tr_pos
 
struct crypto_hashcram_hmac_tfm
 
struct crypto_hashintegrity_w_tfm
 
struct crypto_hashintegrity_r_tfm
 
voidint_dig_out
 
voidint_dig_in
 
voidint_dig_vv
 
wait_queue_head_t seq_wait
 
atomic_t packet_seq
 
unsigned int peer_seq
 
spinlock_t peer_seq_lock
 
unsigned int minor
 
unsigned long comm_bm_set
 
cpumask_var_t cpu_mask
 
struct bm_io_work bm_io_work
 
u64 ed_uuid
 
struct mutex state_mutex
 
char congestion_reason
 
atomic_t rs_sect_in
 
atomic_t rs_sect_ev
 
int rs_last_sect_ev
 
int rs_last_events
 
int c_sync_rate
 
struct fifo_buffer rs_plan_s
 
int rs_in_flight
 
int rs_planed
 
atomic_t ap_in_flight
 
unsigned int peer_max_bio_size
 
unsigned int local_max_bio_size
 

Detailed Description

Definition at line 970 of file drbd_int.h.

Member Function Documentation

struct drbd_backing_dev* ldev __protected_by ( local  )
read

Field Documentation

struct lru_cache* act_log

Definition at line 1108 of file drbd_int.h.

struct list_head active_ee

Definition at line 1085 of file drbd_int.h.

int agreed_pro_version

Definition at line 986 of file drbd_int.h.

spinlock_t al_lock

Definition at line 1106 of file drbd_int.h.

int al_tr_cycle

Definition at line 1110 of file drbd_int.h.

unsigned int al_tr_number

Definition at line 1109 of file drbd_int.h.

int al_tr_pos

Definition at line 1111 of file drbd_int.h.

Definition at line 1107 of file drbd_int.h.

unsigned int al_writ_cnt

Definition at line 1016 of file drbd_int.h.

atomic_t ap_bio_cnt

Definition at line 1018 of file drbd_int.h.

atomic_t ap_in_flight

Definition at line 1138 of file drbd_int.h.

atomic_t ap_pending_cnt

Definition at line 1019 of file drbd_int.h.

struct hlist_head* app_reads_hash

Definition at line 1097 of file drbd_int.h.

Definition at line 1068 of file drbd_int.h.

struct list_head barrier_acked_requests

Definition at line 1029 of file drbd_int.h.

Definition at line 1069 of file drbd_int.h.

Definition at line 1125 of file drbd_int.h.

unsigned long bm_resync_fo

Definition at line 1070 of file drbd_int.h.

unsigned int bm_writ_cnt

Definition at line 1017 of file drbd_int.h.

int c_sync_rate

Definition at line 1134 of file drbd_int.h.

unsigned long comm_bm_set

Definition at line 1123 of file drbd_int.h.

char congestion_reason

Definition at line 1128 of file drbd_int.h.

cpumask_var_t cpu_mask

Definition at line 1124 of file drbd_int.h.

struct crypto_hash* cram_hmac_tfm

Definition at line 1112 of file drbd_int.h.

struct crypto_hash* csums_tfm

Definition at line 1061 of file drbd_int.h.

struct drbd_epoch* current_epoch

Definition at line 1081 of file drbd_int.h.

Definition at line 984 of file drbd_int.h.

struct list_head done_ee

Definition at line 1087 of file drbd_int.h.

u64 ed_uuid

Definition at line 1126 of file drbd_int.h.

struct hlist_head* ee_hash

Definition at line 1090 of file drbd_int.h.

unsigned int ee_hash_s

Definition at line 1091 of file drbd_int.h.

Definition at line 1101 of file drbd_int.h.

spinlock_t epoch_lock

Definition at line 1082 of file drbd_int.h.

unsigned int epochs

Definition at line 1083 of file drbd_int.h.

unsigned long flags

Definition at line 972 of file drbd_int.h.

void* int_dig_in

Definition at line 1116 of file drbd_int.h.

void* int_dig_out

Definition at line 1115 of file drbd_int.h.

void* int_dig_vv

Definition at line 1117 of file drbd_int.h.

struct crypto_hash* integrity_r_tfm

Definition at line 1114 of file drbd_int.h.

struct crypto_hash* integrity_w_tfm

Definition at line 1113 of file drbd_int.h.

unsigned int ko_count

Definition at line 988 of file drbd_int.h.

unsigned long last_reattach_jif

Definition at line 1064 of file drbd_int.h.

unsigned long last_received

Definition at line 987 of file drbd_int.h.

unsigned long last_reconnect_jif

Definition at line 1065 of file drbd_int.h.

struct drbd_epoch_entry* last_write_w_barrier

Definition at line 1094 of file drbd_int.h.

atomic_t local_cnt

Definition at line 1022 of file drbd_int.h.

unsigned int local_max_bio_size

Definition at line 1140 of file drbd_int.h.

Definition at line 1104 of file drbd_int.h.

atomic_t md_io_in_use

Definition at line 1105 of file drbd_int.h.

struct page* md_io_page

Definition at line 1102 of file drbd_int.h.

struct page* md_io_tmpp

Definition at line 1103 of file drbd_int.h.

struct timer_list md_sync_timer

Definition at line 995 of file drbd_int.h.

Definition at line 985 of file drbd_int.h.

unsigned int minor

Definition at line 1122 of file drbd_int.h.

wait_queue_head_t misc_wait

Definition at line 1009 of file drbd_int.h.

atomic_t net_cnt

Definition at line 1023 of file drbd_int.h.

wait_queue_head_t net_cnt_wait

Definition at line 1011 of file drbd_int.h.

struct net_conf* net_conf

Definition at line 975 of file drbd_int.h.

struct list_head net_ee

Definition at line 1089 of file drbd_int.h.

union drbd_state new_state_tmp

Definition at line 1006 of file drbd_int.h.

struct drbd_tl_epoch* newest_tle

Definition at line 1026 of file drbd_int.h.

int next_barrier_nr

Definition at line 1096 of file drbd_int.h.

struct drbd_tl_epoch* oldest_tle

Definition at line 1027 of file drbd_int.h.

int open_cnt

Definition at line 1079 of file drbd_int.h.

struct list_head out_of_sequence_requests

Definition at line 1028 of file drbd_int.h.

sector_t ov_last_oos_size

Definition at line 1059 of file drbd_int.h.

sector_t ov_last_oos_start

Definition at line 1057 of file drbd_int.h.

unsigned long ov_left

Definition at line 1060 of file drbd_int.h.

sector_t ov_position

Definition at line 1055 of file drbd_int.h.

sector_t ov_start_sector

Definition at line 1053 of file drbd_int.h.

sector_t p_size

Definition at line 979 of file drbd_int.h.

u64* p_uuid

Definition at line 1080 of file drbd_int.h.

atomic_t packet_seq

Definition at line 1119 of file drbd_int.h.

unsigned int peer_max_bio_size

Definition at line 1139 of file drbd_int.h.

unsigned int peer_seq

Definition at line 1120 of file drbd_int.h.

spinlock_t peer_seq_lock

Definition at line 1121 of file drbd_int.h.

atomic_t pp_in_use

Definition at line 1099 of file drbd_int.h.

atomic_t pp_in_use_by_net

Definition at line 1100 of file drbd_int.h.

unsigned int read_cnt

Definition at line 1014 of file drbd_int.h.

struct list_head read_ee

Definition at line 1088 of file drbd_int.h.

Definition at line 1066 of file drbd_int.h.

unsigned int recv_cnt

Definition at line 1013 of file drbd_int.h.

spinlock_t req_lock

Definition at line 1024 of file drbd_int.h.

struct timer_list request_timer

Definition at line 997 of file drbd_int.h.

struct lru_cache* resync

Definition at line 1073 of file drbd_int.h.

unsigned int resync_locked

Definition at line 1075 of file drbd_int.h.

struct list_head resync_reads

Definition at line 1098 of file drbd_int.h.

struct timer_list resync_timer

Definition at line 994 of file drbd_int.h.

unsigned int resync_wenr

Definition at line 1077 of file drbd_int.h.

struct request_queue* rq_queue

Definition at line 980 of file drbd_int.h.

unsigned long rs_failed

Definition at line 1036 of file drbd_int.h.

int rs_in_flight

Definition at line 1136 of file drbd_int.h.

int rs_last_events

Definition at line 1132 of file drbd_int.h.

int rs_last_mark

Definition at line 1050 of file drbd_int.h.

int rs_last_sect_ev

Definition at line 1131 of file drbd_int.h.

unsigned long rs_mark_left[DRBD_SYNC_MARKS]

Definition at line 1046 of file drbd_int.h.

unsigned long rs_mark_time[DRBD_SYNC_MARKS]

Definition at line 1048 of file drbd_int.h.

unsigned long rs_paused

Definition at line 1040 of file drbd_int.h.

atomic_t rs_pending_cnt

Definition at line 1020 of file drbd_int.h.

struct fifo_buffer rs_plan_s

Definition at line 1135 of file drbd_int.h.

int rs_planed

Definition at line 1137 of file drbd_int.h.

unsigned long rs_same_csum

Definition at line 1042 of file drbd_int.h.

atomic_t rs_sect_ev

Definition at line 1130 of file drbd_int.h.

atomic_t rs_sect_in

Definition at line 1129 of file drbd_int.h.

unsigned long rs_start

Definition at line 1038 of file drbd_int.h.

unsigned long rs_total

Definition at line 1034 of file drbd_int.h.

unsigned int send_cnt

Definition at line 1012 of file drbd_int.h.

Definition at line 1118 of file drbd_int.h.

struct timer_list start_resync_timer

Definition at line 996 of file drbd_int.h.

struct drbd_work resync_work unplug_work go_diskless md_sync_work start_resync_work

Definition at line 989 of file drbd_int.h.

Definition at line 1008 of file drbd_int.h.

struct mutex state_mutex

Definition at line 1127 of file drbd_int.h.

wait_queue_head_t state_wait

Definition at line 1010 of file drbd_int.h.

struct syncer_conf sync_conf

Definition at line 976 of file drbd_int.h.

struct list_head sync_ee

Definition at line 1086 of file drbd_int.h.

struct block_device* this_bdev

Definition at line 981 of file drbd_int.h.

struct hlist_head* tl_hash

Definition at line 1030 of file drbd_int.h.

unsigned int tl_hash_s

Definition at line 1031 of file drbd_int.h.

atomic_t unacked_cnt

Definition at line 1021 of file drbd_int.h.

struct drbd_tl_epoch* unused_spare_tle

Definition at line 1025 of file drbd_int.h.

struct gendisk* vdisk

Definition at line 982 of file drbd_int.h.

struct crypto_hash* verify_tfm

Definition at line 1062 of file drbd_int.h.

Definition at line 1067 of file drbd_int.h.

unsigned int writ_cnt

Definition at line 1015 of file drbd_int.h.

enum write_ordering_e write_ordering

Definition at line 1084 of file drbd_int.h.


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