Log the modification time of the content file in probe and other commmands

This commit is contained in:
Andrea Mazzoleni 2026-04-09 15:15:48 +02:00
parent 323c943afb
commit 4ba6ee874c
5 changed files with 58 additions and 10 deletions

View file

@ -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);