mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-25 17:36:26 -05:00
Log the modification time of the content file in probe and other commmands
This commit is contained in:
parent
323c943afb
commit
4ba6ee874c
5 changed files with 58 additions and 10 deletions
|
|
@ -820,7 +820,7 @@ void state_attr(struct snapraid_state* state, tommy_list* low)
|
|||
}
|
||||
}
|
||||
|
||||
static void state_probe(struct snapraid_state* state, tommy_list* low)
|
||||
static void state_probe_report(struct snapraid_state* state, tommy_list* low)
|
||||
{
|
||||
tommy_node* i;
|
||||
size_t device_pad;
|
||||
|
|
@ -1126,7 +1126,7 @@ void state_device(struct snapraid_state* state, int operation, tommy_list* filte
|
|||
state_smart(state, state->level + tommy_list_count(&state->disklist), &low);
|
||||
|
||||
if (operation == DEVICE_PROBE)
|
||||
state_probe(state, &low);
|
||||
state_probe_report(state, &low);
|
||||
|
||||
if (operation == DEVICE_UP)
|
||||
state_attr(state, &low);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue