Storage space recovery method and device
A technology of storage space and recovery method, which is applied in the storage field, can solve the problems that storage devices cannot make full use of storage space and shorten the service life, and achieve the effects of prolonging service life and reducing write amplification
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment approach (1
[0087] The storage device may determine whether each physical address in the physical address table has a corresponding logical address based on the logical address mapping table, and if so, add a reference mark to the physical address.
[0088]It should be pointed out that if the above physical address table has previously added reference marks to physical addresses, before adding reference marks this time, the reference marks of all physical addresses should be cleared, so that the reference marks added this time can correctly indicate the Whether the physical address has a corresponding logical address.
[0089] Specifically, the storage device may traverse the logical address mapping tables of each LUN, sequentially search the physical address table for the physical addresses in each logical address mapping entry, and add reference marks to the physical addresses found in the physical address table.
[0090] After the traversal is completed, the physical addresses that do ...
specific Embodiment approach (2
[0094] When the storage device updates the logical address mapping table based on the mapping relationship between the first physical address and the second physical address, it may simultaneously add reference marks to the physical addresses in the physical address table.
[0095] Specifically, the storage device may sequentially determine whether the physical address in each logical address mapping entry in the logical address mapping table of each LUN is any first physical address.
[0096] On the one hand, if yes, replace the first physical address in the logical address mapping entry with the corresponding second physical address, and then add a reference mark to the second physical address in the physical address table.
[0097] On the other hand, if not, add a reference mark to the physical address in the logical address entry in the above physical address table.
[0098] In the specific implementation manner (2), the storage device can complete two tasks of updating th...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com