Patent ID: 11914551
Assignee: INSPUR SUZHOU INTELLIGENT TECHNOLOGY CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A method for pre-reading a kernel client, comprising:
receiving a reading request for a file and determining whether reading for the file is continuous;
when the reading for the file is discontinuous, generating a head node of a file inode, and constructing a linked list embedded in the head node, each linked list node in the linked list comprising a reading offset;
determining whether the file comprises a reading rule of the file, and when the file comprises the reading rule of the file, obtaining, based on the reading rule, times of the reading request of the file and the reading offset corresponding to each time of the reading request, and generating a map route based on the times of the reading request and corresponding reading offsets, and storing the map route in the linked list; and
executing pre-reading based on the linked list.