Abnormity processing method and device for garbage collection, computer equipment and storage medium
The embodiment of the invention discloses a garbage collection exception handling method and device, computer equipment and a storage medium. The method is applied to the solid state disk, a first mapping table and a second mapping table corresponding to physical blocks are pre-stored in the solid s...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The embodiment of the invention discloses a garbage collection exception handling method and device, computer equipment and a storage medium. The method is applied to the solid state disk, a first mapping table and a second mapping table corresponding to physical blocks are pre-stored in the solid state disk, and the second mapping table comprises a sub-table bitmap and at least two second mapping sub-tables divided into preset sizes according to a preset division rule. Loading all first mapping tables and all sub-table bitmaps corresponding to the physical block; when a first uncorrectable error of the first mapping table is read, loading a physical block address corresponding to the first mapping table; when a second uncorrectable error of the physical block address is read, judging whether the physical block address is on a second mapping table according to the sub-table bitmap; and if so, processing the physical block address according to a preset strategy. According to the exception handling method for g |
---|