Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
raid1.h File Reference

Go to the source code of this file.

Data Structures

struct  raid1_info
 
struct  pool_info
 
struct  r1conf
 
struct  r1bio
 

Macros

#define R1BIO_Uptodate   0
 
#define R1BIO_IsSync   1
 
#define R1BIO_Degraded   2
 
#define R1BIO_BehindIO   3
 
#define R1BIO_ReadError   4
 
#define R1BIO_Returned   6
 
#define R1BIO_MadeGood   7
 
#define R1BIO_WriteError   8
 

Functions

int md_raid1_congested (struct mddev *mddev, int bits)
 

Macro Definition Documentation

#define R1BIO_BehindIO   3

Definition at line 142 of file raid1.h.

#define R1BIO_Degraded   2

Definition at line 141 of file raid1.h.

#define R1BIO_IsSync   1

Definition at line 140 of file raid1.h.

#define R1BIO_MadeGood   7

Definition at line 158 of file raid1.h.

#define R1BIO_ReadError   4

Definition at line 146 of file raid1.h.

#define R1BIO_Returned   6

Definition at line 154 of file raid1.h.

#define R1BIO_Uptodate   0

Definition at line 139 of file raid1.h.

#define R1BIO_WriteError   8

Definition at line 159 of file raid1.h.

Function Documentation

int md_raid1_congested ( struct mddev mddev,
int  bits 
)

Definition at line 725 of file raid1.c.