linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* SSD erase state and reducing SSD wear
@ 2012-05-22 21:47 Martin
  2012-05-23  4:19 ` Calvin Walton
  0 siblings, 1 reply; 4+ messages in thread
From: Martin @ 2012-05-22 21:47 UTC (permalink / raw)
  To: linux-btrfs

I've got two recent examples of SSDs. Their pristine state from the
manufacturer shows:


Device Model:     OCZ-VERTEX3

# hexdump -C /dev/sdd
00000000  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|................|
*
1bf2976000


Device Model:     OCZ VERTEX PLUS
(OCZ VERTEX 2E)

# hexdump -C /dev/sdd
00000000 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
|................|
*
df99e6000



What's a good way to test what state they get erased to from a TRIM
operation?

Can btrfs detect the erase state and pad unused space in filesystem
writes with the same value so as to reduce SSD wear?

Regards,
Martin


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-05-23 19:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-22 21:47 SSD erase state and reducing SSD wear Martin
2012-05-23  4:19 ` Calvin Walton
2012-05-23 15:44   ` Martin
2012-05-23 19:50     ` Calvin Walton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).