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

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Thu, 12 Nov 2015 10:50:12 -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):

It should be slow ATM, as we use the synchronous version of the trim
command (the queueable one didn't exist back then, but we don't support
command queuing anyway). But since you currently have to manually issue
the command, that shouldn't be much of an issue. Replying with failure is
more of a problem, though.

Anyway, I don't think a single SSD will do the trick, anyway. We should
test with a number of different ones to be sure it works as it should.

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

Other related posts: