2013-03-02 22:45:50

by A B

[permalink] [raw]
Subject: ext4 counts SSD discards as writes (output of tune2fs -l /dev/xxx)

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