FS#70497 - [cryptsetup] Support diabling workqueue in encrypt hook

Attached to Project: Arch Linux
Opened by Louis Warren (louisswarren) - Sunday, 18 April 2021, 05:02 GMT
Last edited by Christian Hesse (eworm) - Tuesday, 20 April 2021, 07:57 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The --perf-no_read_workqueue --perf-no_write_workqueue options are not supported by the encrypt hook as of 2.3.5-4. I have attached a patch for this, as only the hook needs updating.

This allows users of the encrypt hook to disable workqueue on their encrypted root, which may give significan performance improvement. See the wiki link for explanation:
https://wiki.archlinux.org/index.php/Dm-crypt/Specialties#Disable_workqueue_for_increased_solid_state_drive_(SSD)_performance
This task depends upon

Closed by  Christian Hesse (eworm)
Tuesday, 20 April 2021, 07:57 GMT
Reason for closing:  Implemented
Additional comments about closing:  in svn
Comment by Christian Hesse (eworm) - Tuesday, 20 April 2021, 07:47 GMT
Why do you drop "perf" prefix from option name?
Comment by Christian Hesse (eworm) - Tuesday, 20 April 2021, 07:51 GMT
Ah, that's the name from crypttab... Well, perhaps we should allow both.

Loading...