Add ZFS scrub and resilver to task log

jnieuw

Renowned Member
May 6, 2015
34
0
71
Is it possible to add ZFS scrub and resilver to the task log? If so how?
That way the API also knows a scrub or resilver is still in progress and a user or external program can get the current state.