mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-02 04:46:46 -05:00
Fix io_flush_thread() to wait for in-flight writer tasks before returning
This commit is contained in:
parent
a1a3315824
commit
e9f9603207
2 changed files with 8 additions and 2 deletions
|
|
@ -74,6 +74,7 @@ struct snapraid_task {
|
|||
struct snapraid_worker {
|
||||
#if HAVE_THREAD
|
||||
thread_id_t thread; /**< Thread context for the worker. */
|
||||
int busy; /**< A task is currently being processed. */
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue