mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-24 17:06:25 -05:00
Use direct read access to spinup disks
This is more reliable in case of multiple physical devices mapped to the same logical disk.
This commit is contained in:
parent
15826c2e3b
commit
e57f07cc24
2 changed files with 86 additions and 87 deletions
|
|
@ -1207,7 +1207,6 @@ int main(int argc, char* argv[])
|
|||
case OPERATION_REWRITE :
|
||||
case OPERATION_READ :
|
||||
case OPERATION_REHASH :
|
||||
case OPERATION_SPINUP : /* we want to do it in different threads to avoid blocking */
|
||||
/* avoid to check and access data disks if not needed */
|
||||
opt.skip_disk_access = 1;
|
||||
break;
|
||||
|
|
@ -1223,7 +1222,6 @@ int main(int argc, char* argv[])
|
|||
case OPERATION_READ :
|
||||
case OPERATION_REHASH :
|
||||
case OPERATION_TOUCH :
|
||||
case OPERATION_SPINUP : /* we want to do it in different threads to avoid blocking */
|
||||
/* avoid to check and access parity disks if not needed */
|
||||
opt.skip_parity_access = 1;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue