mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-12 03:18:26 -06:00
Windows Driver: Make max work items count configurable. Increase default to 1024. Queue write IRPs.
- Made the maximum work items count configurable to allow flexibility based on system needs. - Increased the default value of max work items count to 1024 to better handle high-throughput scenarios. - Queue write IRPs in system worker thread to avoid potential deadlocks in write scenarios.
This commit is contained in:
@@ -128,6 +128,7 @@ extern BOOL AllowWindowsDefrag;
|
||||
extern int EncryptionIoRequestCount;
|
||||
extern int EncryptionItemCount;
|
||||
extern int EncryptionFragmentSize;
|
||||
extern int EncryptionMaxWorkItems;
|
||||
extern BOOL EraseKeysOnShutdown;
|
||||
/* Helper macro returning x seconds in units of 100 nanoseconds */
|
||||
#define WAIT_SECONDS(x) ((x)*10000000)
|
||||
|
||||
Reference in New Issue
Block a user