MEMORY BLOCK RECOVERY METHOD AND DEVICE

A memory block reclamation method and apparatus are provided. The method includes: receiving, by a medium controller, an unmap command sent by a memory controller, where the unmap command includes memory logical address information of a to-be-reclaimed memory block (S201); and reclaiming, by the med...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: YANG, Wei, LONGNOS, Florian
Format: Patent
Sprache:eng ; fre ; ger
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:A memory block reclamation method and apparatus are provided. The method includes: receiving, by a medium controller, an unmap command sent by a memory controller, where the unmap command includes memory logical address information of a to-be-reclaimed memory block (S201); and reclaiming, by the medium controller, the memory block based on the memory logical address information, where the reclaimed memory block is an available memory block (S202). After receiving the unmap command sent by the memory controller, the medium controller releases a corresponding memory block and reclaims the memory block, based on the memory logical address information of the to-be-reclaimed memory block included in the unmap command, thereby enhancing a medium management operation effect of the medium controller, improving storage performance of an NVDIMM, and prolonging a service life of the NVDIMM.