Add bandwidth limit feature --bw-limit

This commit is contained in:
Allan Clark 2025-03-27 12:57:41 -07:00 • committed by Andrea Mazzoleni
parent 15a5fac6e9
commit 5886923bb1
19 changed files with 205 additions and 5 deletions

View file

@ -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. */
};
/**