Re: Please help: Is ext4 counting trims as writes, or is something killing my SSD?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ext4 is getting this information from the block layer.  Specifically,
it's calling

	part_stat_read(bd_part, sectors[WRITE])

to get the statistics information it uses to caluclate how many kb
have been written.

I'm not a block layer expert, but it may very well be the case that
TRIMS are being counted as requests.  Requests are categorized as
either READS or WRITES, and I don't see any special casing for non r/w
requests in block/blk-core.c.

Regards,

						- Ted
--
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




[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux