Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 686518 - >=sys-kernel/gentoo-sources-5.1: device mapper and discard can lead to data loss
Summary: >=sys-kernel/gentoo-sources-5.1: device mapper and discard can lead to data loss
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-22 00:50 UTC by Zoltan Puskas
Modified: 2019-05-27 19:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zoltan Puskas 2019-05-22 00:50:23 UTC
When using and SSD, where the storage stack includes device mapper (e.g. LVM, dm-luks, etc), can potentially lead to data loss when discard is enabled (or running fstrim).

Apparently it effects kernels >=5.1.

Related discussion:
https://www.redhat.com/archives/dm-devel/2019-May/msg00082.html

Apparent fix:
https://www.redhat.com/archives/dm-devel/2019-May/msg00102.html
Comment 1 Mike Pagano gentoo-dev 2019-05-27 19:54:23 UTC
All affected 5.1 kernels removed from vanilla and gentoo-sources.

Thanks for reporting.