mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 02:49:02 -04: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
|
|
@ -20,6 +20,7 @@
|
|||
|
||||
#include "state.h"
|
||||
#include "support.h"
|
||||
#include "bw.h"
|
||||
|
||||
/****************************************************************************/
|
||||
/* handle */
|
||||
|
|
@ -33,6 +34,7 @@ struct snapraid_handle {
|
|||
struct advise_struct advise; /**< Advise information. */
|
||||
data_off_t valid_size; /**< Size of the valid data. */
|
||||
int created; /**< If the file was created, otherwise it was already existing. */
|
||||
struct snapraid_bw* bw; /**< Context for bandwidth limiting. */
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue