mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-19 06:40:08 +01:00
Add support for high-priority dm-crypt flag.
This patch add new --perf-high_priority cryptsetup option for flga added in Linux kernel 6.10, dm-crypt target version 1.26.
This commit is contained in:
@@ -79,6 +79,9 @@ void set_activation_flags(uint32_t *flags)
|
||||
if (ARG_SET(OPT_PERF_NO_WRITE_WORKQUEUE_ID))
|
||||
*flags |= CRYPT_ACTIVATE_NO_WRITE_WORKQUEUE;
|
||||
|
||||
if (ARG_SET(OPT_PERF_HIGH_PRIORITY_ID))
|
||||
*flags |= CRYPT_ACTIVATE_HIGH_PRIORITY;
|
||||
|
||||
if (ARG_SET(OPT_INTEGRITY_NO_JOURNAL_ID))
|
||||
*flags |= CRYPT_ACTIVATE_NO_JOURNAL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user