mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-03 05:10:16 -05:00
Mark scrub/sync blocks bad when data file open fails with an I/O error
This commit is contained in:
parent
e481b5f207
commit
1a5b28ad38
3 changed files with 22 additions and 3 deletions
|
|
@ -66,6 +66,7 @@ struct snapraid_task {
|
|||
block_off_t file_pos;
|
||||
ssize_t read_size; /**< Size of the data read. */
|
||||
int is_timestamp_different; /**< Report if file has a changed timestamp. */
|
||||
int unrelated_error; /**< Error unrelated to the current parity position. */
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue