OS: Ubuntu Oneiric 64bit, fresh install, kernel 126.96.36.199.
SSD: Crucial M4 64GB
AHCI enabled in BIOS
/dev/sda2 (my / ) is an ext4 filesystem created without journal, mounted with noatime,discard options. /proc/mounts confirms:
ioscheduler is noop:
/dev/sda2 / ext4 rw,noatime,errors=remount-ro,user_xattr,acl,barrier=1,stripe=128,discard 0 0
So: "discard TRIMMING" is not working - double checked this way: http://andyduffell.com/techblog/?p=852
lem@biggy:~$ cat /sys/block/sda/queue/scheduler
[noop] deadline cfq
However if I manually run:
(remember: /dev/sda2 is mounted on / )
in a few seconds I get my device trimmed, and then I can see my zeroes on it.
I know that years ago there was a problem with discard and no journal (patch required):
http://kerneltrap.org/mailarchive/li...0/5/13/6884480, but I hope this is no more the case...
Am I the only one?
What's going on?
Thanks for any suggestions.