mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Fix parity writer error propagation in io_flush and abort sync on parity write failures
This commit is contained in:
parent
fa0a77f84c
commit
ef6fa54ee2
4 changed files with 69 additions and 27 deletions
|
|
@ -504,8 +504,10 @@ extern void (*io_refresh)(struct snapraid_io* io);
|
|||
|
||||
/**
|
||||
* Flush all the writes.
|
||||
*
|
||||
* \param writer_error Return the number of errors. Vector of IO_WRITER_ERROR_MAX elements.
|
||||
*/
|
||||
extern void (*io_flush)(struct snapraid_io* io);
|
||||
extern void (*io_flush)(struct snapraid_io* io, int* writer_error);
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue