STORED DATA SORTING METHOD AND DEVICE
A stored data sorting method and device. Said method comprises: within erase blocks involved in a defragmentation task request, locking write pages which have not been locked; determining a valid logic block in the write pages of the erase blocks according to a metadata hash table and extracting val...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng ; fre |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | A stored data sorting method and device. Said method comprises: within erase blocks involved in a defragmentation task request, locking write pages which have not been locked; determining a valid logic block in the write pages of the erase blocks according to a metadata hash table and extracting valid information therefrom, and adding recyclable tags to the write pages; performing an erase operation on the included erase blocks with all the write pages having recyclable tags, and removing the recyclable tags of all the write pages in the erase blocks and locking same; and determining, according to wear leveling, an idle low-wear erase block to store the valid information. The present invention can solve the problem of hard disk access conflict, and improve the service life of a hard disk and the usage experience.
L'invention concerne un procédé et un dispositif de tri de données mémorisées. Ledit procédé consiste : dans des blocs d'effacement impliqués dans une demande de tâche de défragmentation, à verrouill |
---|