Method, device and computer program product for storage management
US-2022129174-A1 · Apr 28, 2022 · US
US11500746B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-11500746-B2 |
| Application number | US-202016819715-A |
| Country | US |
| Kind code | B2 |
| Filing date | Mar 16, 2020 |
| Priority date | Apr 29, 2019 |
| Publication date | Nov 15, 2022 |
| Grant date | Nov 15, 2022 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
Techniques provide for managing data storage. The techniques involve in response to receiving a request for unmapping a logical storage unit associated with a first disk slice on a first physical disk and the first disk slice, determining information associated with the first disk slice; generating, based on the information, a first entry and a second entry corresponding to the first disk slice; adding the first entry into a queue of failed disk slices to enable data stored on the first disk slice to be cleared; and adding the second entry into a queue of free disk slices to enable the first disk slice to be mapped to a further logical storage unit. Accordingly, such techniques can remarkably improve the write I/O performance of the system and prolong the lifetime of the SSD.
Opening claim text (preview).
We claim: 1. A method of managing data storage, comprising: in response to receiving a request for unmapping a logical storage unit associated with a first disk slice on a first physical disk and the first disk slice, determining information associated with the first disk slice; generating, based on the information, a first entry and a second entry corresponding to the first disk slice; adding the first entry into a queue of failed disk slices to enable data stored on the first disk slice to be cleared; and adding the second entry into a queue of free disk slices to enable the first disk slice to be mapped to a further logical storage unit, in response to the number of entries in the queue of failed disk slices exceeding a threshold number, selecting a third entry to be removed from the number of entries, the third entry corresponding to a second disk slice on a second physical disk; clearing data in the second disk slice from the second physical disk; and in response to the data in the second disk slice being cleared, removing the third entry from the queue of failed disk slices. 2. The method of claim 1 , wherein clearing the data comprises: in response to receiving a command to clear the data, obtaining a predetermined amount of failed data from the command; updating, based on the predetermined amount of failed data, progress information of clearing the data in the third entry; and in response to the progress information indicating that an amount of cleared data is equal to a capacity of the second disk slice, determining that the data has been cleared. 3. The method of claim 1 , further comprising: in response to the first disk slice in the queue of free disk slices being mapped to the further logical storage unit, removing the second entry from the queue of free disk slices. 4. The method of claim 1 , wherein determining the information comprises determining at least one of the following: an identifier of the first physical disk, an index of the first disk slice in the first physical disk, and a capacity of the first disk slice. 5. The method of claim 4 , wherein the information comprises the identifier of the first physical disk, the index of the first disk slice in the first physical disk and the capacity of the first disk slice, and wherein generating the first entry comprises: generating the first entry, based on the identifier of the first physical disk, the index of the first disk slice in the first physical disk and the capacity of the first disk slice. 6. The method of claim 4 , wherein the queue of free disk slices is associated with the first physical disk, the information comprising the index of the first disk slice in the first physical disk, and wherein generating the second entry comprises: generating the second entry at least based on the index. 7. The method of claim 4 , wherein the queue of free disk slices is associated with a plurality of physical disks including the first physical disk, the information comprising the index of the first disk slice in the first physical disk and the identifier of the first physical disk, and wherein generating the second entry comprises: generating the second entry based on the index and the identifier. 8. A device for managing data storage, comprising: at least one processor; and a memory coupled to the at least one processor, the memory having instructions stored therein, the instructions, when executed by the at least one processing unit, causing the device to execute acts, the acts comprising: in response to receiving a request for unmapping a logical storage unit associated with a first disk slice on a first physical disk and the first disk slice, determining information associated with the first disk slice; generating, based on the information, a first entry and a second entry corresponding to the first disk slice; adding the first entry into a queue of failed disk slices to enable data stored on the first disk slice to be cleared; adding the second entry into a queue of free disk slices to enable the first disk slice to be mapped to a further logical storage unit; in response to the number of entries in the queue of failed disk slices exceeding a threshold number, selecting a third entry to be removed from the number of entries, the third entry corresponding to a second disk slice on a second physical disk; clearing data in the second disk slice from the second physical disk; and in response to the data in the second disk slice being cleared, removing the third entry from the queue of failed disk slices. 9. The device of claim 8 , wherein clearing the data comprises: in response to receiving a command to clear the data, obtaining a predetermined amount of failed data from the command; updating, based on the predetermined amount of failed data, process information of clearing the data in the third entry; and in response to the process information indicating that an amount of cleared data is equal to a capacity of the second disk slice, determining that the data has been cleared. 10. The device of claim 8 , the acts further comprising: in response to the first disk slice in the queue of free disk slices being mapped to the further logical storage unit, removing the second entry from the queue of free disk slices. 11. The device of claim 8 , wherein determining the information comprises determining at least one of the following: an identifier of the first physical disk, an index of the first disk slice in the first physical disk, and a capacity of the first disk slice. 12. The device of claim 11 , wherein the information comprises the identifier of the first physical disk, the index of the first disk slice in the first physical disk and the capacity of the first disk slice, and wherein generating the first entry comprises: generating the first entry, based on the identifier of the first physical disk, the index of the first disk slice in the first physical disk and the capacity of the first disk slice. 13. The device of claim 11 , wherein the queue of free disk slices is associated with the first physical disk, the information comprising the index of the first disk slice in the first physical disk, and wherein generating the second entry comprises: generating the second entry at least based on the index. 14. The device of claim 11 , wherein the queue of free disk slices is associated with a plurality of physical disks including the first physical disk, the information comprising the index of the first disk slice in the first physical disk and the identifier of the first physical disk, and wherein generating the second entry comprises: generating the second entry, based on the index and the identifier. 15. A computer program product having a non-transitory computer readable medium which stores a set of instructions to manage data storage; the set of instructions, when carried out by computerized circuitry, causing the computerized circuitry to perform a method of: in response to receiving a request for unmapping a logical storage unit associated with a first disk slice on a first physical disk and the first disk slice, determining information associated with the first disk slice; generating, based on the information, a first entry and a second entry corresponding to the first disk slice; adding the first entry into a queue of failed disk slices to enable data stored on the first disk slice to be cleared; adding the second entry into a queue of free disk slices to enable the first disk slice to be mapped to a further logical storage unit; in response to the number of entries in the queue of fa
Management of blocks · CPC title
Active fault masking without idle spares · CPC title
Saving storage space on storage systems · CPC title
Disk arrays, e.g. RAID, JBOD · CPC title
Management of space entities, e.g. partitions, extents, pools · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.