Go to the source code of this file.
|
enum | check_states {
check_state_idle = 0,
check_state_run,
check_state_run_q,
check_state_run_pq,
check_state_check_result,
check_state_compute_run,
check_state_compute_result
} |
|
enum | reconstruct_states {
reconstruct_state_idle = 0,
reconstruct_state_prexor_drain_run,
reconstruct_state_drain_run,
reconstruct_state_run,
reconstruct_state_prexor_drain_result,
reconstruct_state_drain_result,
reconstruct_state_result
} |
|
enum | r5dev_flags {
R5_UPTODATE,
R5_LOCKED,
R5_DOUBLE_LOCKED,
R5_OVERWRITE,
R5_Insync,
R5_Wantread,
R5_Wantwrite,
R5_Overlap,
R5_ReadNoMerge,
R5_ReadError,
R5_ReWrite,
R5_Expanded,
R5_Wantcompute,
R5_Wantfill,
R5_Wantdrain,
R5_WantFUA,
R5_SyncIO,
R5_WriteError,
R5_MadeGood,
R5_ReadRepl,
R5_MadeGoodRepl,
R5_NeedReplace,
R5_WantReplace,
R5_Discard
} |
|
enum | {
STRIPE_ACTIVE,
STRIPE_HANDLE,
STRIPE_SYNC_REQUESTED,
STRIPE_SYNCING,
STRIPE_INSYNC,
STRIPE_PREREAD_ACTIVE,
STRIPE_DELAYED,
STRIPE_DEGRADED,
STRIPE_BIT_DELAY,
STRIPE_EXPANDING,
STRIPE_EXPAND_SOURCE,
STRIPE_EXPAND_READY,
STRIPE_IO_STARTED,
STRIPE_FULL_WRITE,
STRIPE_BIOFILL_RUN,
STRIPE_COMPUTE_RUN,
STRIPE_OPS_REQ_PENDING,
STRIPE_ON_UNPLUG_LIST
} |
|
enum | {
STRIPE_OP_BIOFILL,
STRIPE_OP_COMPUTE_BLK,
STRIPE_OP_PREXOR,
STRIPE_OP_BIODRAIN,
STRIPE_OP_RECONSTRUCT,
STRIPE_OP_CHECK
} |
|
#define ALGORITHM_LEFT_ASYMMETRIC 0 /* Rotating Parity N with Data Restart */ |
#define ALGORITHM_LEFT_ASYMMETRIC_6 16 |
#define ALGORITHM_LEFT_SYMMETRIC 2 /* Rotating Parity N with Data Continuation */ |
#define ALGORITHM_LEFT_SYMMETRIC_6 18 |
#define ALGORITHM_PARITY_0 4 /* P or P,Q are initial devices */ |
#define ALGORITHM_PARITY_0_6 20 |
#define ALGORITHM_PARITY_N 5 /* P or P,Q are final devices. */ |
#define ALGORITHM_RIGHT_ASYMMETRIC 1 /* Rotating Parity 0 with Data Restart */ |
#define ALGORITHM_RIGHT_ASYMMETRIC_6 17 |
#define ALGORITHM_RIGHT_SYMMETRIC 3 /* Rotating Parity 0 with Data Continuation */ |
#define ALGORITHM_RIGHT_SYMMETRIC_6 19 |
#define ALGORITHM_ROTATING_N_CONTINUE 10 /*DDF PRL=6 RLQ=3 */ |
#define ALGORITHM_ROTATING_N_RESTART 9 /* DDF PRL=6 RLQ=2 */ |
#define ALGORITHM_ROTATING_ZERO_RESTART 8 /* DDF PRL=6 RLQ=1 */ |
- Enumerator:
STRIPE_ACTIVE |
|
STRIPE_HANDLE |
|
STRIPE_SYNC_REQUESTED |
|
STRIPE_SYNCING |
|
STRIPE_INSYNC |
|
STRIPE_PREREAD_ACTIVE |
|
STRIPE_DELAYED |
|
STRIPE_DEGRADED |
|
STRIPE_BIT_DELAY |
|
STRIPE_EXPANDING |
|
STRIPE_EXPAND_SOURCE |
|
STRIPE_EXPAND_READY |
|
STRIPE_IO_STARTED |
|
STRIPE_FULL_WRITE |
|
STRIPE_BIOFILL_RUN |
|
STRIPE_COMPUTE_RUN |
|
STRIPE_OPS_REQ_PENDING |
|
STRIPE_ON_UNPLUG_LIST |
|
Definition at line 307 of file raid5.h.
- Enumerator:
STRIPE_OP_BIOFILL |
|
STRIPE_OP_COMPUTE_BLK |
|
STRIPE_OP_PREXOR |
|
STRIPE_OP_BIODRAIN |
|
STRIPE_OP_RECONSTRUCT |
|
STRIPE_OP_CHECK |
|
Definition at line 331 of file raid5.h.
enum check_states - handles syncing / repairing a stripe - check operations are quiesced - check operation is running - set outside lock when check result is valid - check failed and we are repairing - set outside lock when compute result is valid
- Enumerator:
check_state_idle |
|
check_state_run |
|
check_state_run_q |
|
check_state_run_pq |
|
check_state_check_result |
|
check_state_compute_run |
|
check_state_compute_result |
|
Definition at line 174 of file raid5.h.
- Enumerator:
R5_UPTODATE |
|
R5_LOCKED |
|
R5_DOUBLE_LOCKED |
|
R5_OVERWRITE |
|
R5_Insync |
|
R5_Wantread |
|
R5_Wantwrite |
|
R5_Overlap |
|
R5_ReadNoMerge |
|
R5_ReadError |
|
R5_ReWrite |
|
R5_Expanded |
|
R5_Wantcompute |
|
R5_Wantfill |
|
R5_Wantdrain |
|
R5_WantFUA |
|
R5_SyncIO |
|
R5_WriteError |
|
R5_MadeGood |
|
R5_ReadRepl |
|
R5_MadeGoodRepl |
|
R5_NeedReplace |
|
R5_WantReplace |
|
R5_Discard |
|
Definition at line 266 of file raid5.h.
enum reconstruct_states - handles writing or expanding a stripe
- Enumerator:
reconstruct_state_idle |
|
reconstruct_state_prexor_drain_run |
|
reconstruct_state_drain_run |
|
reconstruct_state_run |
|
reconstruct_state_prexor_drain_result |
|
reconstruct_state_drain_result |
|
reconstruct_state_result |
|
Definition at line 187 of file raid5.h.