Summary: | sys-fs/cryptsetup-1.6.5 - when the dm-crypt module is not loaded before configuring a mapping with libcryptsetup, the allow_discards option is not used | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Konstantin (elxa) <ktrackfd> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | PATCH |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Upstream fix for discard support |
Description
Konstantin (elxa)
2014-08-05 00:32:54 UTC
Created attachment 382292 [details, diff] Upstream fix for discard support My attempt at creating a patch usable for portage's epatch_user from https://code.google.com/p/cryptsetup/source/detail?r=59fdf2a6bb461a39e6db6b7d515873419f8a8ada I booted my system with the patched cryptsetup binary and discard support is working again. The ebuild for sys-fs/cryptsetup-1.6.5 does not pick up patches from /etc/portage/patches, because it does not call epatch_user. I copied the ebuild to my local overlay and patched the src_prepare section to call epatch_user: @@ -53,6 +53,7 @@ src_prepare() { sed -i '/^LOOPDEV=/s:$: || exit 0:' tests/{compat,mode}-test || die + epatch_user eautoreconf } 1.6.6 is in the tree that includes this fix |