The invention discloses a
data page caching method for a
file system of a
solid-state hard disc, which comprises the following implementation steps of: (1) establishing a buffer link
list used for caching data pages in a high-speed cache; (2) caching the data pages read in the
solid-state hard disc in the buffer link
list for access, classifying the data pages in the buffer link
list into cold clean pages, hot clean pages, cold dirty pages and hot dirty pages in real time according to the access states and write access states of the data pages; (3) firstly searching a
data page as a page to be replaced in the buffer link list according to the priority of the cold clean pages, the hot clean pages, the cold dirty pages and the hot dirty pages, and replacing the page to be replaced with a new
data page read from the
solid-state hard disc when a
free space does not exist in the buffer link list. In the invention, the characteristics of the solid-state hard disc can be sufficiently utilized, the performance bottlenecks of the
external storage can be effectively relieved, and the storage
processing performance of the
system can be improved; moreover, the data page caching method has the advantages of good I / O (Input / Output) performance, low replacement cost for cached pages, low expense and high
hit rate.