Method and system for realizing multi-stream function
The invention provides a method and a system for realizing a multi-stream function. According to the method, a front end sends a stream id allocation request to an FTL layer, an empty block is allocated to a stream after the request is received, and after the FTL layer receives a front end release r...
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 provides a method and a system for realizing a multi-stream function. According to the method, a front end sends a stream id allocation request to an FTL layer, an empty block is allocated to a stream after the request is received, and after the FTL layer receives a front end release request message, the FTL layer closes a corresponding open block and replies that the front end release of the stream id is completed. Under the condition that the write buffer is insufficient, the write buffer is added; other stream or non-stream writing requests are written in; and wear leveling orGC recovery, wherein only one type of queue is selected each time for data migration, a block of a target is filled with corresponding effective data, and a stream id is marked when the block is closed, and the invention further provides a system which can achieve corresponding functions under the condition of hardware resource limitation, effectively reduce write amplification and improve SSD write performance.
本发明提出了一种 |
---|