mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-04 22:00:19 -05:00
Speed up reading of content file disabling mutexes
This commit is contained in:
parent
34ee2bf2a6
commit
b8b1d38781
4 changed files with 21 additions and 2 deletions
|
|
@ -388,6 +388,8 @@ struct snapraid_disk {
|
|||
int skip_access; /**< If the disk is inaccessible and it should be skipped. */
|
||||
|
||||
#if HAVE_THREAD
|
||||
int single_thread; /**< Running in single thread, and then not needing the mutex */
|
||||
|
||||
/**
|
||||
* Mutex for protecting the filesystem structure.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue