public inbox for linux-ide@vger.kernel.org
 help / color / mirror / Atom feed
From: Peter Rabbitson <rabbit+list@rabbit.us>
To: linux-ide@vger.kernel.org
Subject: Kernel option to disable TRIM/discard system-wide?
Date: Mon, 23 May 2016 23:01:26 +0200	[thread overview]
Message-ID: <57436FA6.1010801@rabbit.us> (raw)

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!

             reply	other threads:[~2016-05-23 21:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-23 21:01 Peter Rabbitson [this message]
2016-05-25 13:02 ` Kernel option to disable TRIM/discard system-wide? 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57436FA6.1010801@rabbit.us \
    --to=rabbit+list@rabbit.us \
    --cc=linux-ide@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox