> On 2017-12-05 17.26.27 -0500, Rupert Gallagher wrote: >> Sent from ProtonMail Mobile > > When you implement the patch that adds TRIM you might want to build off > the work already done and lessons learned. I only spent a few seconds > searching so you might find more: > > https://www.tedunangst.com/flak/post/lessons-learned-about-TRIM > https://marc.info/?l=openbsd-misc&m=144738028409142&w=2 > https://marc.info/?l=openbsd-misc&m=143453951901714&w=2 > https://marc.info/?l=openbsd-misc&m=148908000202884&w=2
Oh, that's an interesting article by Unangst. If TRIM would be implemented someday, one thing that would be neat would be that crypto and other softraid would propagate the TRIM. That would be a nice combination between wear level resiliency and disk data safety. AFAIK some other disk crypto solutions do that. The feature comes under names such as "encrypt used space only".