[pkg-cryptsetup-devel] Bug#1016474: cryptsetup: The system installed on encrypted LVM (both root and swap partitions) freezes during massive writes

Guilhem Moulin guilhem at debian.org
Mon Aug 1 14:00:30 BST 2022


On Mon, 01 Aug 2022 at 14:10:26 +0200, Wojciech Zabołotny wrote:
> Modifying the mapping parameters with:
>  # cryptsetup  --perf-no_write_workqueue refresh name_of_the_mapping
> 
> indeed eliminates the problem.
> Isn't it then the problem with default mapping parameters used in
> cryptsetup?

IMHO not: if setting up these flags were desirable in all cases then the
better place to change the defaults would be the dm-crypt subsystem (ie
the kernel).  Note that if the --perf-* flag(s) improve performance on
your system you can set them in /etc/crypttab too, so the wrappers pass
them along when mapping the volume (like for discard).

-- 
Guilhem.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-cryptsetup-devel/attachments/20220801/d3a9770a/attachment.sig>


More information about the pkg-cryptsetup-devel mailing list