ext4 counts SSD discards as writes (output of tune2fs -l /dev/xxx)

From: A B
Date: Sat Mar 02 2013 - 17:46:06 EST


Hi,

I just realized that ext4 seems to count discards on SSDs (done using fstrim command) as writes in the global fs statistics, which can be viewed using tune2fs -l /dev/xxx. This is certainly a minor problem, but is this the intended ext4 behaviour?
Best regards,
Max
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/