mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-20 15:06:34 -05:00
Normalize comment style
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-arm32 (push) Waiting to run
Build / build-win (push) Waiting to run
Build / build-freebsd (push) Waiting to run
Build / build-musl (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-arm32 (push) Waiting to run
Build / build-win (push) Waiting to run
Build / build-freebsd (push) Waiting to run
Build / build-musl (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
This commit is contained in:
parent
8fe9331f42
commit
a39fb132f8
29 changed files with 186 additions and 190 deletions
|
|
@ -11,7 +11,7 @@
|
|||
#include "io.h"
|
||||
#include "raid/raid.h"
|
||||
|
||||
/*
|
||||
/**
|
||||
* SnapRAID sync model
|
||||
*
|
||||
* Sync brings the stored parity and content metadata in line with the data
|
||||
|
|
@ -1921,7 +1921,7 @@ bail_abort:
|
|||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
/**
|
||||
* Make a forced full parity rebuild persistent.
|
||||
*
|
||||
* REBUILD means that the current data and hash are known, but physical parity
|
||||
|
|
@ -1959,7 +1959,7 @@ static void state_sync_mark_rebuild(struct snapraid_state* state)
|
|||
state->need_write = 1;
|
||||
}
|
||||
|
||||
/*
|
||||
/**
|
||||
* Initialize persistent parity split sizes resolved while opening parity.
|
||||
*
|
||||
* parity_create() resolves PARITY_SIZE_INVALID in the parity handles using
|
||||
|
|
@ -2208,7 +2208,7 @@ int state_sync(struct snapraid_state* state, block_off_t blockstart, block_off_t
|
|||
/* after resizing parity files, refresh again the free info */
|
||||
state_refresh(state);
|
||||
|
||||
/**
|
||||
/*
|
||||
* Save the new state before the sync but after the hashing phase
|
||||
*
|
||||
* This allows to recover after an aborted sync, and at the same time
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue