mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-26 09:56:29 -05:00
Adds support for fast triple parity without SSSE3.
This commit is contained in:
parent
6a3438f883
commit
a5a3c33854
17 changed files with 784 additions and 214 deletions
1
state.h
1
state.h
|
|
@ -87,6 +87,7 @@ struct snapraid_state {
|
|||
uint64_t autosave; /**< Autosave after the specified amount of data. 0 to disable. */
|
||||
int need_write; /**< If the state is changed. */
|
||||
uint32_t block_size; /**< Block size in bytes. */
|
||||
unsigned raid_mode; /**< Raid mode to use. RAID_MODE_DEFAULT or RAID_MODE_ALTERNATE. */
|
||||
char parity_path[LEV_MAX][PATH_MAX]; /**< Path of the parity file. One for each parity. */
|
||||
uint64_t parity_device[LEV_MAX]; /**< Device identifier of the parity. One for each parity. */
|
||||
char pool[PATH_MAX]; /**< Path of the pool tree. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue