On Tue, Mar 11, 2014 at 05:08:19PM -0500, Eric Sandeen wrote: > blktrace is probably the place to start. Do you see discard > requests? then ext4 is doing its job. If not, we can trace > ext4 to see why it's not issuing them, assuming there really > is work to do. At the moment I can't get this to work. The script I'm using is: ---------------------------------------------------------------------- set -e set -x trace-cmd record -e all -o /tmp/trace & pid=$! fstrim /sysroot kill $pid; sleep 2 trace-cmd report -i /tmp/trace ---------------------------------------------------------------------- However the last trace-cmd gives an error: trace-cmd: No such file or directory opening '/tmp/trace' I'll try again tomorrow morning. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://people.redhat.com/~rjones/virt-df/ -- 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