public inbox for linux-ide@vger.kernel.org
 help / color / mirror / Atom feed
* Kernel option to disable TRIM/discard system-wide?
@ 2016-05-23 21:01 Peter Rabbitson
  2016-05-25 13:02 ` Peter Rabbitson
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Rabbitson @ 2016-05-23 21:01 UTC (permalink / raw)
  To: linux-ide

Hello!

I have looked through the archives, but can not find anything even 
remotely related to the subject:

I want to disable trim on my system for good - yet there seems to be no 
kernel boot parameter for this.

My rationale is simple: I want best data integrity guarantees, followed 
by better battery-life + mechanical robustness (I throw my laptop around 
a lot), and only last am I concerned about performance.

There seem to be a new TRIM-related bug discovered every couple months 
for quite some time now. Combined with the "metadata leak via dm-crypt" 
makes it a no-brainer decision that I want to avoid TRIM system-wide.

I currently have my sytsem configured properly, but I am concerned a 
future OS upgrade will introduce some well meaning cron-job or something 
along these lines that will re-enable discards without me ever noticing.

Is there a boot parameter I can hard-code for forward-compatible peace 
of mind?

Thank you!

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-06-01  3:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-23 21:01 Kernel option to disable TRIM/discard system-wide? Peter Rabbitson
2016-05-25 13:02 ` Peter Rabbitson
2016-05-26 20:46   ` Jeff Moyer
2016-05-27  2:52   ` Martin K. Petersen
2016-05-29 16:25     ` Peter Rabbitson
2016-06-01  3:05       ` Martin K. Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox