[haiku-bugs] Re: [Haiku] #10336: TRIM / fstrim can destroy data on SSD's when executed

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Wed, 09 Aug 2017 09:09:00 -0000

#10336: TRIM / fstrim can destroy data on SSD's when executed
----------------------------+----------------------------
   Reporter:  kallisti5     |      Owner:  axeld
       Type:  bug           |     Status:  in-progress
   Priority:  blocker       |  Milestone:  R1/beta1
  Component:  Drivers/Disk  |    Version:  R1/Development
 Resolution:                |   Keywords:  TRIM fstrim
 Blocked By:                |   Blocking:
Has a Patch:  0             |   Platform:  All
----------------------------+----------------------------

Comment (by axeld):

 Not sure if you mean the size or the time it requires:
 1. Trimming is not necessarily a fast operation. That's why it's usually
 not done when actually deleting files, but later on as some kind of
 scrubbing service.
 2. Trimming clears free space, not used space. The more files there are on
 your partition, the less space is subject to trimming.

--
Ticket URL: <https://dev.haiku-os.org/ticket/10336#comment:28>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: