Storage data arrangement method and device
The invention discloses a storage data arrangement method and device. The storage data arrangement method comprises the steps of locking a write-in page which is not locked yet in an erasure block involved in a fragmentation task request; determining an effective logic block in a write-in page of th...
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 invention discloses a storage data arrangement method and device. The storage data arrangement method comprises the steps of locking a write-in page which is not locked yet in an erasure block involved in a fragmentation task request; determining an effective logic block in a write-in page of the erasure block according to the metadata hash table, extracting effective information from the effective logic block, and adding a recyclable mark to the write-in page; performing erasure on the erasure block of which all the included write-in pages are provided with recyclable marks, and removingthe recyclable marks and locks of all the write-in pages in the erasure block; determining an idle low-wear erase block according to the wear balance to store valid information. The hard disk access conflict problem can be solved, the hard disk service life is prolonged, and the use experience is improved.
本发明公开了一种存储数据整理方法与装置,包括:在碎片整理任务请求所涉及的擦除块内锁定尚未被锁定的写入页面;根据元数据哈希表在擦除块的写入页面中确定有效的逻辑区块并从中提取有效信息,并且向写入页面添加可回收标记;对包括的所有写入页面都带 |
---|