mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-21 23:46:27 -05:00
Align data disk UUID validation and write logic with parity splits using content_uuid
This commit is contained in:
parent
645a587bdf
commit
f0e2f80017
3 changed files with 25 additions and 14 deletions
|
|
@ -485,7 +485,7 @@ struct snapraid_disk {
|
|||
*/
|
||||
struct snapraid_map {
|
||||
char name[PATH_MAX]; /**< Name of the disk. */
|
||||
char uuid[UUID_MAX]; /**< UUID of the disk. Empty if unknown. They are read from the content file. */
|
||||
char content_uuid[UUID_MAX]; /**< UUID of the disk. Empty if unknown. They are read from the content file. */
|
||||
block_off_t total_blocks; /**< Number of total blocks. */
|
||||
block_off_t free_blocks; /**< Number of free blocks at last 'sync'. */
|
||||
unsigned position; /**< Position of the disk in the parity. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue