linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* "data=writeback" and TRIM don't get along
@ 2010-04-08  0:50 Nebojsa Trpkovic
  2010-04-08  1:22 ` Eric Sandeen
  0 siblings, 1 reply; 12+ messages in thread
From: Nebojsa Trpkovic @ 2010-04-08  0:50 UTC (permalink / raw)
  To: linux-ext4

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
============================

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? :)

Thank you.
Nebojsa Trpkovic

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

end of thread, other threads:[~2010-04-08 16:54 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-08  0:50 "data=writeback" and TRIM don't get along Nebojsa Trpkovic
2010-04-08  1:22 ` Eric Sandeen
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

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).