mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-20 06:56:28 -05:00
More regression tests
This commit is contained in:
parent
f4f386983a
commit
d452b109bc
17 changed files with 1023 additions and 666 deletions
|
|
@ -4579,7 +4579,6 @@ static void state_progress_graph(struct snapraid_state* state, struct snapraid_i
|
|||
for (i = state->disklist; i != 0; i = i->next) {
|
||||
struct snapraid_disk* disk = i->data;
|
||||
|
||||
|
||||
v = disk->progress_tick[current] - ref(disk->progress_tick, oldest);
|
||||
printr(disk->name, pad);
|
||||
|
||||
|
|
@ -4690,7 +4689,7 @@ int state_progress(struct snapraid_state* state, struct snapraid_io* io, block_o
|
|||
now = time(0);
|
||||
|
||||
/* thermal measure */
|
||||
if (now > state->thermal_latest + THERMAL_PERIOD_SECONDS) {
|
||||
if (now > state->thermal_latest + THERMAL_PERIOD_SECONDS || state->opt.fake_device) {
|
||||
state->thermal_latest = now;
|
||||
state_thermal(state, now);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue