iprconfig man page requires an IOA to be passed to query-raid-create and
query-raid-delete. Right now, iprconfig doesn't enforce it, allowing
disk devices to be passed as parameters, which is confusing. I found
that when playing with raid initialization code. Let's fix it.
Signed-off-by: Gabriel
Detect when a RAID is going through initialization process after
creation to display the progress in get_status. Now, the 'initializing'
state will be shown in 'show-config', for instance when creating a RAID
0 from a device assumed to be non-zeroed, it will show as "X%
Initializing" during DIF in
Gabriel Krisman Bertazi writes:
> Detect when a RAID is going through initialization process after
> creation to display the progress in get_status. Now, the 'initializing'
> state will be shown in 'show-config', for instance when creating a RAID
> 0 from a device assumed to be non-zeroed, it wi