mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-04 13:50:09 -05:00
Make snapraid_io track started state and defer async I/O after initial thermal control
This commit is contained in:
parent
595461f725
commit
74647cda14
6 changed files with 39 additions and 16 deletions
|
|
@ -320,6 +320,11 @@ struct snapraid_io {
|
|||
*/
|
||||
int done;
|
||||
|
||||
/**
|
||||
* If worker threads have been started.
|
||||
*/
|
||||
int started;
|
||||
|
||||
/**
|
||||
* The worker task index currently used by the operation in
|
||||
* progress. It's the position in all the reader task_map[].
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue