temporarily disable ZFS TRIM support
Based on early real-world experience with the new ZFS TRIM support, we've seen several issues which have lead to corrupted zpools. At this time, it looks like the problems are either in our sd driver support for UNMAP, perhaps in the way that is being used by the new TRIM code, or perhaps some combination of issues. At a minimum, we'll want to add support for an UNMAP blacklist into the driver, similar to what Linux does. However, there is probably more going on here than just that.
As a short-term solution to avoid inadvertently corrupting anyone's zpool, we're going to disable TRIM by default. For development and further testing, a user could still go out of their way to re-enable TRIM.
Updated by Electric Monk about 1 year ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit fb05b94a37411cdc9e6c5cc10b833e410fbf7b79 Author: Jerry Jelinek <firstname.lastname@example.org> Date: 2019-09-20T16:03:12.000Z 11714 temporarily disable ZFS TRIM support Reviewed by: Toomas Soome <email@example.com> Reviewed by: Andy Fiddaman <firstname.lastname@example.org> Reviewed by: Kody Kantor <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>