From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Peter Rabbitson <rabbit+list@rabbit.us>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>,
linux-ide@vger.kernel.org
Subject: Re: Kernel option to disable TRIM/discard system-wide?
Date: Tue, 31 May 2016 23:05:41 -0400 [thread overview]
Message-ID: <yq1mvn5vcai.fsf@sermon.lab.mkp.net> (raw)
In-Reply-To: <574B17EB.50108@rabbit.us> (Peter Rabbitson's message of "Sun, 29 May 2016 18:25:15 +0200")
>>>>> "Peter" == Peter Rabbitson <rabbit+list@rabbit.us> writes:
Peter> root@Ahasver:~# echo 0 > /sys/block/sda/queue/discard_max_bytes
Peter> -bash: /sys/block/sda/queue/discard_max_bytes: Permission denied
Peter> What am I missing?
Your kernel is too old. Try:
echo -n disabled > /sys/block/sda/device/scsi_disk/*/provisioning_mode
--
Martin K. Petersen Oracle Linux Engineering
prev parent reply other threads:[~2016-06-01 3:05 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
2016-05-29 16:25 ` Peter Rabbitson
2016-06-01 3:05 ` Martin K. Petersen [this message]
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=yq1mvn5vcai.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