DDF: ddf_set_array_state: more meaningful output
Print the array GUID and the array state. Signed-off-by: Martin Wilck <mwilck@arcor.de> Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
parent
be9b9ef42e
commit
b27336a28e
|
@ -3955,7 +3955,9 @@ static int ddf_set_array_state(struct active_array *a, int consistent)
|
|||
if (old != ddf->virt->entries[inst].init_state)
|
||||
ddf_set_updates_pending(ddf);
|
||||
|
||||
dprintf("ddf mark %d %s %llu\n", inst, consistent?"clean":"dirty",
|
||||
dprintf("ddf mark %d/%s (%d) %s %llu\n", inst,
|
||||
guid_str(ddf->virt->entries[inst].guid), a->curr_state,
|
||||
consistent?"clean":"dirty",
|
||||
a->info.resync_start);
|
||||
return consistent;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue