mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Adds --test-skip-sequential to disable the sequential hint for the disk cache.
This commit is contained in:
parent
a85aa08276
commit
aeb167bb16
13 changed files with 114 additions and 65 deletions
4
parity.h
4
parity.h
|
|
@ -42,7 +42,7 @@ void parity_overflow(struct snapraid_state* state, data_off_t size);
|
|||
* Creates the parity file.
|
||||
* \param out_size Return the size of the parity file.
|
||||
*/
|
||||
int parity_create(struct snapraid_parity* parity, const char* path, data_off_t* out_size);
|
||||
int parity_create(struct snapraid_parity* parity, const char* path, data_off_t* out_size, int skip_sequential);
|
||||
|
||||
/**
|
||||
* Changes the parity size.
|
||||
|
|
@ -53,7 +53,7 @@ int parity_chsize(struct snapraid_parity* parity, data_off_t size, data_off_t* o
|
|||
/**
|
||||
* Opens an already existing parity file.
|
||||
*/
|
||||
int parity_open(struct snapraid_parity* parity, const char* path);
|
||||
int parity_open(struct snapraid_parity* parity, const char* path, int skip_sequential);
|
||||
|
||||
/**
|
||||
* Flushes the parity file in the disk.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue