Patch for the encrypt hook for supporting disabling of workqueue
This file contains 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