×

Trim support for a solid-state drive in a virtualized environment

  • US 9,983,992 B2
  • Filed: 04/30/2013
  • Issued: 05/29/2018
  • Est. Priority Date: 04/30/2013
  • Status: Active Grant
First Claim
Patent Images

1. In a computer system having a virtual machine executed therein and a hypervisor supporting execution of the virtual machine, a method of issuing trim commands to invalidate data blocks stored in a physical solid-state memory device, the method comprising:

  • receiving at the hypervisor, a first trim command to invalidate a virtual data block, which is a data block of a virtual solid-state memory device that is mapped to a portion of the physical solid-state memory device, the first trim command conforming to a first interface standard comprising serial advanced technology attachment (SATA);

    translating by the hypervisor, the received first trim command into an interim command to release the virtual data block, the interim command conforming to a second interface standard that is different from the first interface standard, the second interface standard comprising small computer system interface (SCSI);

    translating by the hypervisor, the interim command into a block operation to invalidate a physical data block, which is a data block of the physical solid-state memory device corresponding to the virtual data block; and

    issuing by a host bus adapter of the computer system, a second trim command to invalidate the physical data block to the physical solid-state memory device based on the block operation, the second trim command conforming to the first interface standard and informing the physical solid-state memory device that the physical data block is no longer in use and can be reclaimed internally through garbage collection.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×