The application discloses a method,
system, medium and equipment for optimizing SSD pre-reading, and relates to the technical field of storage. The method comprises the following steps: receiving and judging a host command, and adding the host command to a pre-reading
queue for scheduling; when entering a scheduling stage for the first time, initializing and filling a pre-reading buffer based on an LBA address carried by a read command triggering a pre-reading mechanism; after the filling is completed, if the LBA address of a read command subsequently sent by a host belongs to an effective address range covered by the pre-reading buffer, extracting corresponding data from the pre-reading buffer by a SSD controller; and if the LBA address of the host command does not belong to the effective address range covered by the pre-reading buffer, judging that a current
sequential access mode has been interrupted, and actively exiting a pre-reading state. The application significantly improves the utilization efficiency of a SSD cache space, eliminates redundant data
copying, and reduces
delay; meanwhile, the robustness to concurrent and out-of-order I / O is enhanced, and the stability of sequential read performance is improved.