https://bugzilla.kernel.org/show_bug.cgi?id=50021 Tao Ma <tm@xxxxxx> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tm@xxxxxx --- Comment #1 from Tao Ma <tm@xxxxxx> 2012-11-05 13:50:28 --- Interesting, it works fine here with my intel ssd. So could you please do: 1. mount -t debugfs none /sys/kernel/debug/ 2. echo 1 > /sys/kernel/debug/tracing/events/ext4/ext4_discard_blocks/enable 3. run you test 4. after 'rm', do cat /sys/kernel/debug/tracing/trace If your see something like jbd2/sdb2-8-23853 [000] .... 30125.695303: ext4_discard_blocks: dev 8,18 blk 34816 count 3072 rm-23870 [000] .... 30130.908415: ext4_discard_blocks: dev 8,17 blk 34816 count 3072 (The first one is captured by the device with journal and the second one is captured by the device without journal). Then that does mean ext4 has sent out the discard command to the underlying device. btw, my kernel version is 3.6. -- Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html