mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 02:49:02 -04:00
Optimize redundant devuuid() calls by storing content file UUIDs in a dedicated field
This commit is contained in:
parent
579a939b9b
commit
452adbd8d9
2 changed files with 35 additions and 22 deletions
|
|
@ -516,7 +516,8 @@ struct snapraid_map {
|
|||
*/
|
||||
struct snapraid_split {
|
||||
char path[PATH_MAX]; /**< Path of the parity file. */
|
||||
char uuid[UUID_MAX]; /**< UUID of the disk. Empty if unknown. They are probed during the config reading, and later read from the content file. */
|
||||
char uuid[UUID_MAX]; /**< UUID of the disk. Empty if unknown. They are probed during the config reading. */
|
||||
char content_uuid[UUID_MAX]; /**< UUID read from the content file. */
|
||||
char fstype[FSINFO_MAX]; /**< Filesystem type */
|
||||
char fslabel[FSINFO_MAX]; /**< Filesystem label */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue