lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130912152845.GG12918@thunk.org>
Date:	Thu, 12 Sep 2013 11:28:45 -0400
From:	Theodore Ts'o <tytso@....edu>
To:	Julian Andres Klode <jak@...-linux.org>,
	Calvin Walton <calvin.walton@...stin.ca>,
	linux-ext4@...r.kernel.org
Subject: Re: Please help: Is ext4 counting trims as writes, or is something
 killing my SSD?

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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ