Add an extensive parity filesystem check

With the new mapping it's now possible to check everything
in a very fast way.
This commit is contained in:
Andrea Mazzoleni 2015-10-05 21:40:44 +02:00
parent 74ca71600d
commit b17e618d49
6 changed files with 260 additions and 39 deletions

View file

@ -372,6 +372,12 @@ static inline void state_usage_parity(struct snapraid_state* state, unsigned lev
*/
void state_usage_print(struct snapraid_state* state);
/**
* Check the filesystem on all disks.
* On error it aborts.
*/
void state_fscheck(struct snapraid_state* state, const char* ope);
/****************************************************************************/
/* misc */