Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and storage device for processing deallocation commands

A storage device and de-allocation technology, applied in the storage field, can solve problems such as prolonging the processing time of de-allocation commands, affecting the performance of solid-state drives, and affecting the execution of IO commands.

Active Publication Date: 2022-07-22
MEMBLAZE TECH BEIJING
View PDF13 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the prior art, a large number of memory access operations are required during the execution of the de-allocation command, which seriously prolongs the processing time of the de-allocation command and affects the performance of the solid-state disk, thereby affecting the performance of simultaneous IO commands. implement

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and storage device for processing deallocation commands
  • Method and storage device for processing deallocation commands
  • Method and storage device for processing deallocation commands

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0080] A table structure that stores mapping information from logical addresses to physical addresses is called an FTL table. FTL tables are important metadata in solid-state storage devices. The FTL table records the address mapping relationship in the unit of data page in the storage device. The FTL table includes multiple FTL table entries (or entries). In one example, a corresponding relationship between a logical page address and a physical page is recorded in an entry of each FTL table. In another example, the corresponding relationship between consecutive multiple logical page addresses and consecutive multiple physical pages is recorded in the entry of each FTL table. In yet another embodiment, the corresponding relationship between the logical block address and the physical block address is recorded in the entry of each FTL table. In still another example, the FTL table records the mapping relationship between logical block addresses and physical block addresses, a...

Embodiment 2

[0085] In this embodiment, the erase or garbage collection operation is performed in units of physical blocks in the storage device. In this embodiment, the corresponding relationship between a logical page address and a physical page is recorded in the entry of each FTL table. In the solid state drive, the FTL table, the valid page table and the valid page count table are maintained. in, figure 2 It is a schematic diagram of the FTL table before processing the deallocation command in this embodiment. The FTL table indicates the correspondence between logical page addresses and physical page addresses. image 3 A schematic diagram of the valid page table before processing the deallocation command in this embodiment ( image 3 shown only with figure 2 The valid page table of the physical block related to the FTL table in the corresponding physical block records the status of the data corresponding to the logical page stored in the corresponding physical block. Figure 4 I...

Embodiment 3

[0101] In the third embodiment, in order to efficiently process the de-allocation command, a de-allocation table is also maintained. Further, the deallocation table is also written into the NVM, so that the correct FTL table can be obtained through the information recorded in the deallocation table when the NVM is restarted after an abnormal power failure.

[0102] Figure 10 and Figure 11 is a schematic diagram of the de-allocation table, where, Figure 10 is a schematic diagram of a deallocation table before processing a deallocation command in an embodiment of the present invention; Figure 11 It is a schematic diagram of a deallocation table after processing a deallocation command in an embodiment of the present invention. like Figure 10 and Figure 11 As shown, in the deallocation table, information corresponding to whether each logical address in the FTL table is allocated is stored. As an example, 1 bit of storage space is provided for each logical address of th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and a storage device for processing a deallocation command, relates to the technical field of storage, and solves the technical problem in the prior art that processing a deallocation command affects the execution of an IO command. The method for processing the deallocation command comprises: obtaining the logical address range indicated by the deallocation command according to the deallocation command; updating the FTL table, and setting the entry of the FTL table corresponding to the logical address range indicated by the deallocation command as the first specified value; indicating The de-assignment command execution is complete. The method for processing a deallocation command in the present invention is applied to processing a storage device.

Description

technical field [0001] The present invention relates to the technical field of storage, and in particular, to a method for processing deallocation commands and read commands, a storage device and a computer program. Background technique [0002] The host and the storage device can be coupled in a variety of ways, including but not limited to connecting the host through SATA, IDE, USB, PCIE, NVMe (NVM Express), SAS, Ethernet, Fibre Channel, wireless communication networks, etc. with storage devices. The host may be an information processing device, such as a personal computer, tablet computer, server, portable computer, network switch, router, cellular phone, personal digital assistant, etc., capable of communicating with the storage device in the manner described above. [0003] figure 1 A block diagram of a storage device. The solid state storage device 102 is coupled to the host for providing storage capabilities for the host. The host and the solid-state storage devic...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F12/02
CPCG06F12/0246G06F12/0253
Inventor 于松海蔡述楠郭志红高慧娟
Owner MEMBLAZE TECH BEIJING