mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-19 22:46:36 -05:00
Document streaming parameter as a strict 0 or 1 value
This commit is contained in:
parent
de00981504
commit
bfe5ee7643
5 changed files with 12 additions and 10 deletions
|
|
@ -37,10 +37,10 @@ library startup before normal RAID operations.
|
|||
Computes 'np' parity blocks from 'nd' data blocks. Vector 'v' contains
|
||||
'nd + np' block pointers (data blocks v[0..nd-1], parity blocks
|
||||
v[nd..nd+np-1]). Each block must be aligned to a 64-byte boundary.
|
||||
Data blocks are read-only; parity blocks are written. If 'streaming' is
|
||||
non-zero, non-temporal streaming stores are used where supported to avoid
|
||||
polluting the CPU cache when parity is written directly to disk. If
|
||||
'streaming' is zero, normal cached stores are used.
|
||||
Data blocks are read-only; parity blocks are written. 'streaming' must be
|
||||
either 0 or 1. If it is 1, non-temporal streaming stores are used where
|
||||
supported to avoid polluting the CPU cache when parity is written directly
|
||||
to disk. If it is 0, normal cached stores are used.
|
||||
|
||||
void raid_rec(int nr, int *ir, int nd, int np, size_t size, void **v)
|
||||
Recovers 'nr' failed blocks (data or parity) listed in sorted index array
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue