linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Eric Sandeen <sandeen@redhat.com>
To: Nebojsa Trpkovic <trx.lists@gmail.com>
Cc: linux-ext4@vger.kernel.org
Subject: Re: "data=writeback" and TRIM don't get along
Date: Wed, 07 Apr 2010 20:22:39 -0500	[thread overview]
Message-ID: <4BBD2FDF.4040407@redhat.com> (raw)
In-Reply-To: <4BBD285B.9000603@gmail.com>

Nebojsa Trpkovic wrote:
> Hello.
> 
> TRIM command issued to SSD doesn't work with this mount options:
> 
> ============================
> rootfs / rootfs rw 0 0
> /dev/root / ext4
> rw,noatime,commit=100,barrier=0,nobh,stripe=128,data=writeback,discard 0 0
> proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
> rc-svcdir /lib64/rc/init.d tmpfs
> rw,nosuid,nodev,noexec,relatime,size=1024k,mode=755 0 0
> sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
> udev /dev tmpfs rw,nosuid,relatime,size=10240k,mode=755 0 0
> devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620 0 0
> shm /dev/shm tmpfs rw,nosuid,nodev,noexec,relatime 0 0
> ============================

How does it fail?

> Removing "data=writeback" option from /etc/fstab and from rootflags in
> kernel boot options results in TRIM working just like it should.
> 
> So, the question is:
> 
> Is this "data=writeback" and TRIM incompatibility a bug or a feature? :)

Surely a bug.  :)  If you can provide details we'll look into it.
(perhaps it's obvious on first try but still worth saying exactly
what problematic behavior you saw, when reporting a bug you
encountered)

Thanks,
-Eric


  reply	other threads:[~2010-04-08  1:22 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-08  0:50 "data=writeback" and TRIM don't get along Nebojsa Trpkovic
2010-04-08  1:22 ` Eric Sandeen [this message]
2010-04-08  1:37   ` Nebojsa Trpkovic
2010-04-08  4:10     ` Eric Sandeen
2010-04-08  4:37       ` Eric Sandeen
2010-04-08  4:47         ` Eric Sandeen
2010-04-08 11:48           ` Nebojsa Trpkovic
2010-04-08 15:32             ` Eric Sandeen
2010-04-08 16:21               ` Nebojsa Trpkovic
2010-04-08 16:34                 ` Eric Sandeen
2010-04-08  7:17     ` Dmitry Monakhov
2010-04-08 11:47       ` Nebojsa Trpkovic

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=4BBD2FDF.4040407@redhat.com \
    --to=sandeen@redhat.com \
    --cc=linux-ext4@vger.kernel.org \
    --cc=trx.lists@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).