The invention relates to the technical field of
solid state disks, in particular to a ZNS SSD management command optimization
processing method. The method comprises the following steps of: deploying a plug-in at a host end to realize regional
information management and IO (Input / Output) truncation
processing, dividing a physical region of a ZNS SSD into four queues, namely freezone (idle), invaridzone (ineffective),
active zone (active) and finishingzone (to be completed), and dynamically managing the four queues, namely the free
queue, the invaridzone (ineffective), the
active zone (active) and the finishingzone (to be completed); according to the FINISH instruction, writing pointer information is modified to replace filling writing operation, and meanwhile, a corresponding physical area is added into a finishingzones
queue; reconstructing on the basis of a physical region in the finishingzones
queue, and mapping a
free space of a plurality of regions which are not fully written into a new logic region; a
delay execution strategy is adopted for the RESET instruction, and actual erasure operation is triggered only when physical area data is completely invalid or an idle threshold value exists. According to the method, the problems of high time
delay,
resource contention and unbalanced wear caused by FINISH instruction filling and writing in the ZNS SSD are solved, the interference of a management command on read-write IO is effectively reduced, the
utilization rate of a storage space is improved, and the service life of the ZNS SSD is prolonged.