mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Prints list of files outside the parity if growing is not possible.
This commit is contained in:
parent
3a8f21a839
commit
8373233f25
6 changed files with 114 additions and 26 deletions
10
parity.h
10
parity.h
|
|
@ -34,9 +34,15 @@ struct snapraid_parity {
|
|||
block_off_t parity_resize(struct snapraid_state* state);
|
||||
|
||||
/**
|
||||
* Creates the parity file.
|
||||
* Reports all the files outside the specified parity size.
|
||||
*/
|
||||
int parity_create(struct snapraid_parity* parity, const char* path, data_off_t size);
|
||||
void parity_overflow(struct snapraid_state* state, data_off_t size);
|
||||
|
||||
/**
|
||||
* Creates the parity file.
|
||||
* \param out_size Return the final size of the parity file. Returned also in error cases.
|
||||
*/
|
||||
int parity_create(struct snapraid_parity* parity, const char* path, data_off_t size, data_off_t* out_size);
|
||||
|
||||
/**
|
||||
* Opens an already existing parity file.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue