Mark scrub/sync blocks bad when data file open fails with an I/O error

This commit is contained in:
Andrea Mazzoleni 2026-09-23 16:11:20 +02:00
parent e481b5f207
commit 1a5b28ad38
3 changed files with 22 additions and 3 deletions

View file

@ -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. */
};
/**