diff options
author | Milan Broz <gmazyland@gmail.com> | 2020-08-20 20:58:44 +0200 |
---|---|---|
committer | Milan Broz <gmazyland@gmail.com> | 2020-08-20 20:58:44 +0200 |
commit | d5729bdf01d512c36420c286b7f995f1745a9f6d (patch) | |
tree | be496447fcb6b9fe01a71f2c453c23346ecdd437 /man | |
parent | 3c54d8a239d6938ad0449bdb34b40253fa83af54 (diff) | |
download | cryptsetup-d5729bdf01d512c36420c286b7f995f1745a9f6d.tar.gz |
Add no_read/write_wrokqueue to dm-crypt options.
These performance options, introduced in kernel 5.9, configures
dm-crypt to bypass read or write workqueues and run encryption
synchronously.
Also support persistent storage of these flags for LUKS2.
Diffstat (limited to 'man')
-rw-r--r-- | man/cryptsetup.8 | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/man/cryptsetup.8 b/man/cryptsetup.8 index 3154d479..643012d4 100644 --- a/man/cryptsetup.8 +++ b/man/cryptsetup.8 @@ -146,7 +146,8 @@ Mandatory parametrs are identical to those of an open action for respective device type. You may change following parameters on all devices \-\-perf\-same_cpu_crypt, -\-\-perf\-submit_from_crypt_cpus and \-\-allow\-discards. +\-\-perf\-submit_from_crypt_cpus, \-\-perf-no_read_workqueue, \-\-no_write_workqueue +and \-\-allow\-discards. Refreshing device without any optional parameter will refresh the device with default setting (respective to device type). @@ -1209,6 +1210,15 @@ This option is only relevant for \fIopen\fR action. performance tuning, use only if you need a change to default dm-crypt behaviour. Needs kernel 4.0 or later. .TP +.B "\-\-perf\-no_read_workqueue, \-\-perf\-no_write_workqueue\fR" +Bypass dm-crypt internal workqueue and process read or write requests +synchronously. +This option is only relevant for \fIopen\fR action. + +\fBNOTE:\fR These options are available only for low-level dm-crypt +performance tuning, use only if you need a change to default dm-crypt +behaviour. Needs kernel 5.9 or later. +.TP .B "\-\-test\-passphrase\fR" Do not activate the device, just verify passphrase. This option is only relevant for \fIopen\fR action (the device @@ -1325,7 +1335,8 @@ the flag you want to remove (e.g. to disable persistently stored discard flag, use \fI\-\-persistent\fR without \fI\-\-allow-discards\fR). Only \fI\-\-allow-discards\fR, \fI\-\-perf\-same_cpu_crypt\fR, -\fI\-\-perf\-submit_from_crypt_cpus\fR and \fI\-\-integrity\-no\-journal\fR +\fI\-\-perf\-submit_from_crypt_cpus\fR, \fI\-\-perf\-no_read_workqueue\fR, +\fI\-\-perf\-no_write_workqueue\fR and \fI\-\-integrity\-no\-journal\fR can be stored persistently. .TP .B "\-\-refresh" |