mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-26 09:56:29 -05:00
Add bandwidth limit feature --bw-limit
This commit is contained in:
parent
15a5fac6e9
commit
5886923bb1
19 changed files with 205 additions and 5 deletions
|
|
@ -19,6 +19,7 @@
|
|||
#define __PARITY_H
|
||||
|
||||
#include "support.h"
|
||||
#include "bw.h"
|
||||
|
||||
/****************************************************************************/
|
||||
/* parity */
|
||||
|
|
@ -57,6 +58,7 @@ struct snapraid_parity_handle {
|
|||
struct snapraid_split_handle split_map[SPLIT_MAX];
|
||||
unsigned split_mac; /**< Number of parity splits. */
|
||||
unsigned level; /**< Level of the parity. */
|
||||
struct snapraid_bw* bw; /**< Context for bandwidth limiting. */
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue