linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to disable TRIM
@ 2014-07-01  5:41 Rishabh Singh B.Tech., CSE, IIT-BHU, Varanasi (INDIA)
  2014-07-01 14:52 ` Eric Sandeen
  0 siblings, 1 reply; 2+ messages in thread
From: Rishabh Singh B.Tech., CSE, IIT-BHU, Varanasi (INDIA) @ 2014-07-01  5:41 UTC (permalink / raw)
  To: linux-ext4

I have enabled the TRIM option in SSDs by adding "discard" to the
/etc/fstab. 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?

Thanking You and Regards

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

* Re: How to disable TRIM
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Sandeen @ 2014-07-01 14:52 UTC (permalink / raw)
  To: rishabh.singh.cse11, linux-ext4

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

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

end of thread, other threads:[~2014-07-01 14:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).