mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-09-11 03:55:23 +03:00
boot/init: Add support for bypassWorkqueues
This commit is contained in:
parent
5945a7e957
commit
bf43312242
@ -54,6 +54,13 @@ class Tasks::Luks < Task
|
||||
"--allow-discards",
|
||||
]
|
||||
end
|
||||
if @info["bypassWorkqueues"] then
|
||||
@cryptsetup_args.concat [
|
||||
"--perf-no_read_workqueue",
|
||||
"--perf-no_write_workqueue",
|
||||
]
|
||||
end
|
||||
|
||||
add_dependency(:Task, Tasks::UDev.instance)
|
||||
add_dependency(:Devices, source)
|
||||
add_dependency(:Mount, "/run")
|
||||
|
Loading…
Reference in New Issue
Block a user