Last active
March 25, 2021 22:20
-
-
Save louisswarren/97d087529045317811adb2d09ab0bd5c to your computer and use it in GitHub Desktop.
Patch for the encrypt hook for supporting disabling of workqueue
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- encrypt 2021-03-26 11:18:21.981072579 +1300 | |
+++ encrypt.no-workqueue 2021-03-26 11:18:21.981072579 +1300 | |
@@ -62,6 +62,12 @@ | |
allow-discards) | |
cryptargs="${cryptargs} --allow-discards" | |
;; | |
+ no-read-workqueue) | |
+ cryptargs="${cryptargs} --perf-no_read_workqueue" | |
+ ;; | |
+ no-write-workqueue) | |
+ cryptargs="${cryptargs} --perf-no_write_workqueue" | |
+ ;; | |
*) | |
echo "Encryption option '${cryptopt}' not known, ignoring." >&2 | |
;; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment