All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Sandeen <sandeen@redhat.com>
To: rishabh.singh.cse11@iitbhu.ac.in,
	linux-ext4 <linux-ext4@vger.kernel.org>
Subject: Re: How to disable TRIM
Date: Tue, 01 Jul 2014 09:52:58 -0500	[thread overview]
Message-ID: <53B2CB4A.9010408@redhat.com> (raw)
In-Reply-To: <CAHohGC8WtcfcsKFd2OjUbeQnUyw7qKmvUYuPtbCjPpQNfLxCaQ@mail.gmail.com>

On 7/1/14, 12:41 AM, Rishabh Singh B.Tech., CSE, IIT-BHU, Varanasi (INDIA) wrote:
> I have enabled the TRIM option in SSDs by adding "discard" to the
> /etc/fstab.

Removing the discard option does indeed stop "real time" trim/discards 
from being sent by the filesystem when blocks are freed.

> But even after removing the "discard" the TRIM does not
> appear to be disabled.  This I can conclude from the write and read
> speeds. How do I disable it?

Your methodology for reaching your conclusion must be flawed.  :)


(of course you remounted after changing fstab, right, and "discard"
no longer shows up in /proc/mounts for this filesystem?)

-Eric

      reply	other threads:[~2014-07-01 14:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-01  5:41 How to disable TRIM Rishabh Singh B.Tech., CSE, IIT-BHU, Varanasi (INDIA)
2014-07-01 14:52 ` Eric Sandeen [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=53B2CB4A.9010408@redhat.com \
    --to=sandeen@redhat.com \
    --cc=linux-ext4@vger.kernel.org \
    --cc=rishabh.singh.cse11@iitbhu.ac.in \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.