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

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Thu, 10 Jun 2021 01:42:50 -0000

#10336: TRIM / fstrim can destroy data on SSD's when executed
---------------------------+----------------------------
  Reporter:  kallisti5     |      Owner:  axeld
      Type:  bug           |     Status:  in-progress
  Priority:  high          |  Milestone:  Unscheduled
 Component:  Drivers/Disk  |    Version:  R1/Development
Resolution:                |   Keywords:  TRIM fstrim
Blocked By:                |   Blocking:
  Platform:  All           |
---------------------------+----------------------------
Comment (by waddlesplash):

 If you are using TRIM in a VM, you may find it much easier to just
 implement it in the NVMe driver and use that instead of SCSI. I think the
 underlying libnvme already supports it, so the relevant ioctl just needs
 to be wired up inside nvme_disk.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/10336#comment:66>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: