Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
mddev Struct Reference

#include <md.h>

Data Fields

voidprivate
 
struct md_personalitypers
 
dev_t unit
 
int md_minor
 
struct list_head disks
 
unsigned long flags
 
int suspended
 
atomic_t active_io
 
int ro
 
int sysfs_active
 
int ready
 
struct gendisk * gendisk
 
struct kobject kobj
 
int hold_active
 
int major_version
 
int minor_version
 
int patch_version
 
int persistent
 
int external
 
char metadata_type [17]
 
int chunk_sectors
 
time_t ctime
 
time_t utime
 
int level
 
int layout
 
char clevel [16]
 
int raid_disks
 
int max_disks
 
sector_t dev_sectors
 
sector_t array_sectors
 
int external_size
 
__u64 events
 
int can_decrease_events
 
char uuid [16]
 
sector_t reshape_position
 
int delta_disks
 
int new_level
 
int new_layout
 
int new_chunk_sectors
 
int reshape_backwards
 
struct md_threadthread
 
struct md_threadsync_thread
 
sector_t curr_resync
 
sector_t curr_resync_completed
 
unsigned long resync_mark
 
sector_t resync_mark_cnt
 
sector_t curr_mark_cnt
 
sector_t resync_max_sectors
 
atomic64_t resync_mismatches
 
sector_t suspend_lo
 
sector_t suspend_hi
 
int sync_speed_min
 
int sync_speed_max
 
int parallel_resync
 
int ok_start_degraded
 
unsigned long recovery
 
int recovery_disabled
 
int in_sync
 
struct mutex open_mutex
 
struct mutex reconfig_mutex
 
atomic_t active
 
atomic_t openers
 
int changed
 
int degraded
 
int merge_check_needed
 
atomic_t recovery_active
 
wait_queue_head_t recovery_wait
 
sector_t recovery_cp
 
sector_t resync_min
 
sector_t resync_max
 
struct sysfs_direntsysfs_state
 
struct sysfs_direntsysfs_action
 
struct work_struct del_work
 
spinlock_t write_lock
 
wait_queue_head_t sb_wait
 
atomic_t pending_writes
 
unsigned int safemode
 
unsigned int safemode_delay
 
struct timer_list safemode_timer
 
atomic_t writes_pending
 
struct request_queuequeue
 
struct bitmap * bitmap
 
struct {
   struct file *   file
 
   loff_t   offset
 
   unsigned long   space
 
   loff_t   default_offset
 
   unsigned long   default_space
 
   struct mutex   mutex
 
   unsigned long   chunksize
 
   unsigned long   daemon_sleep
 
   unsigned long   max_write_behind
 
   int   external
 
bitmap_info
 
atomic_t max_corr_read_errors
 
struct list_head all_mddevs
 
struct attribute_groupto_remove
 
struct bio_set * bio_set
 
struct bio * flush_bio
 
atomic_t flush_pending
 
struct work_struct flush_work
 
struct work_struct event_work
 
void(* sync_super )(struct mddev *mddev, struct md_rdev *rdev)
 

Detailed Description

Definition at line 202 of file md.h.

Field Documentation

atomic_t active

Definition at line 344 of file md.h.

atomic_t active_io

Definition at line 215 of file md.h.

struct list_head all_mddevs

Definition at line 408 of file md.h.

sector_t array_sectors

Definition at line 246 of file md.h.

struct bio_set* bio_set

Definition at line 412 of file md.h.

struct bitmap* bitmap

Definition at line 384 of file md.h.

struct { ... } bitmap_info
int can_decrease_events

Definition at line 255 of file md.h.

int changed

Definition at line 347 of file md.h.

int chunk_sectors

Definition at line 238 of file md.h.

unsigned long chunksize

Definition at line 401 of file md.h.

char clevel[16]

Definition at line 241 of file md.h.

time_t ctime

Definition at line 239 of file md.h.

sector_t curr_mark_cnt

Definition at line 281 of file md.h.

sector_t curr_resync

Definition at line 271 of file md.h.

sector_t curr_resync_completed

Definition at line 278 of file md.h.

unsigned long daemon_sleep

Definition at line 402 of file md.h.

loff_t default_offset

Definition at line 394 of file md.h.

unsigned long default_space

Definition at line 398 of file md.h.

int degraded

Definition at line 349 of file md.h.

struct work_struct del_work

Definition at line 370 of file md.h.

int delta_disks

Definition at line 265 of file md.h.

sector_t dev_sectors

Definition at line 244 of file md.h.

Definition at line 207 of file md.h.

struct work_struct event_work

Definition at line 421 of file md.h.

Definition at line 249 of file md.h.

int external

Definition at line 235 of file md.h.

int external_size

Definition at line 247 of file md.h.

Definition at line 386 of file md.h.

unsigned long flags

Definition at line 208 of file md.h.

struct bio* flush_bio

Definition at line 418 of file md.h.

atomic_t flush_pending

Definition at line 419 of file md.h.

struct work_struct flush_work

Definition at line 420 of file md.h.

struct gendisk* gendisk

Definition at line 223 of file md.h.

int hold_active

Definition at line 226 of file md.h.

int in_sync

Definition at line 332 of file md.h.

Definition at line 225 of file md.h.

Definition at line 240 of file md.h.

int level

Definition at line 240 of file md.h.

int major_version

Definition at line 231 of file md.h.

atomic_t max_corr_read_errors

Definition at line 407 of file md.h.

int max_disks

Definition at line 243 of file md.h.

unsigned long max_write_behind

Definition at line 403 of file md.h.

int md_minor

Definition at line 206 of file md.h.

int merge_check_needed

Definition at line 352 of file md.h.

char metadata_type[17]

Definition at line 237 of file md.h.

int minor_version

Definition at line 231 of file md.h.

Definition at line 400 of file md.h.

int new_chunk_sectors

Definition at line 266 of file md.h.

int new_layout

Definition at line 265 of file md.h.

int new_level

Definition at line 265 of file md.h.

loff_t offset

Definition at line 387 of file md.h.

int ok_start_degraded

Definition at line 299 of file md.h.

struct mutex open_mutex

Definition at line 342 of file md.h.

atomic_t openers

Definition at line 345 of file md.h.

int parallel_resync

Definition at line 297 of file md.h.

int patch_version

Definition at line 231 of file md.h.

atomic_t pending_writes

Definition at line 374 of file md.h.

Definition at line 204 of file md.h.

int persistent

Definition at line 234 of file md.h.

void* private

Definition at line 203 of file md.h.

Definition at line 382 of file md.h.

int raid_disks

Definition at line 242 of file md.h.

int ready

Definition at line 221 of file md.h.

struct mutex reconfig_mutex

Definition at line 343 of file md.h.

unsigned long recovery

Definition at line 324 of file md.h.

atomic_t recovery_active

Definition at line 357 of file md.h.

sector_t recovery_cp

Definition at line 359 of file md.h.

int recovery_disabled

Definition at line 330 of file md.h.

wait_queue_head_t recovery_wait

Definition at line 358 of file md.h.

int reshape_backwards

Definition at line 267 of file md.h.

sector_t reshape_position

Definition at line 264 of file md.h.

unsigned long resync_mark

Definition at line 279 of file md.h.

sector_t resync_mark_cnt

Definition at line 280 of file md.h.

sector_t resync_max

Definition at line 362 of file md.h.

sector_t resync_max_sectors

Definition at line 283 of file md.h.

sector_t resync_min

Definition at line 360 of file md.h.

atomic64_t resync_mismatches

Definition at line 285 of file md.h.

int ro

Definition at line 216 of file md.h.

unsigned int safemode

Definition at line 376 of file md.h.

unsigned int safemode_delay

Definition at line 379 of file md.h.

struct timer_list safemode_timer

Definition at line 380 of file md.h.

Definition at line 373 of file md.h.

unsigned long space

Definition at line 393 of file md.h.

sector_t suspend_hi

Definition at line 291 of file md.h.

sector_t suspend_lo

Definition at line 290 of file md.h.

int suspended

Definition at line 214 of file md.h.

int sync_speed_max

Definition at line 294 of file md.h.

int sync_speed_min

Definition at line 293 of file md.h.

void(* sync_super)(struct mddev *mddev, struct md_rdev *rdev)

Definition at line 422 of file md.h.

struct md_thread* sync_thread

Definition at line 270 of file md.h.

struct sysfs_dirent* sysfs_action

Definition at line 368 of file md.h.

int sysfs_active

Definition at line 217 of file md.h.

struct sysfs_dirent* sysfs_state

Definition at line 365 of file md.h.

Definition at line 269 of file md.h.

struct attribute_group* to_remove

Definition at line 410 of file md.h.

dev_t unit

Definition at line 205 of file md.h.

time_t utime

Definition at line 239 of file md.h.

char uuid[16]

Definition at line 257 of file md.h.

spinlock_t write_lock

Definition at line 372 of file md.h.

atomic_t writes_pending

Definition at line 381 of file md.h.


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