From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Peter Rabbitson <rabbit+list@rabbit.us>
Cc: linux-ide@vger.kernel.org
Subject: Re: Kernel option to disable TRIM/discard system-wide?
Date: Thu, 26 May 2016 22:52:21 -0400 [thread overview]
Message-ID: <yq1oa7syzyy.fsf@sermon.lab.mkp.net> (raw)
In-Reply-To: <5745A24D.2010601@rabbit.us> (Peter Rabbitson's message of "Wed, 25 May 2016 15:02:05 +0200")
>>>>> "Peter" == Peter Rabbitson <rabbit+list@rabbit.us> writes:
>> I want to disable trim on my system for good - yet there seems to be
>> no kernel boot parameter for this.
There's no global way to disable TRIM but you can disable it on a
per-device basis by setting /sys/block/sdN/queue/discard_max_bytes to
0. You can force queued TRIM off with noncqtrim if that makes you feel
better. However, we haven't blacklisted any drives due to TRIM problems
in about a year.
--
Martin K. Petersen Oracle Linux Engineering
next prev parent reply other threads:[~2016-05-27 2:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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=yq1oa7syzyy.fsf@sermon.lab.mkp.net \
--to=martin.petersen@oracle.com \
--cc=linux-ide@vger.kernel.org \
--cc=rabbit+list@rabbit.us \
/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