Skip to contentSkip to conversation

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

DISCUSSION A B 1 participant 1 message Mar 2, 2013 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A B

author
#1 lore raw

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