Method for scheduling input output (IO) request queue of disk

A technology of IO request and queue scheduling, applied in the direction of input/output to record carrier, etc., can solve the problems that affect business performance, and the real-time requirements of IO instructions are different and not so high.
CN102402401AInactive Publication Date: 2012-04-04云海创想信息技术(无锡)有限公司 +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
云海创想信息技术(无锡)有限公司
Publication Date
2012-04-04
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
Patent Text Reader

Abstract

The invention provides a method for scheduling an input output (IO) request queue of a disk. The method comprises the following steps of: A, when a file system generates IO requests, judging whether the IO requests are high-real-time-performance IO requests, if so, executing the step B, otherwise, executing the step C; B, allocating high-priority instructions to the IO requests, and then executing the step C; C, sending the IO requests to a disk driver; D, after the disk driver receives the IO requests, judging whether the IO requests include the high-priority instructions, if so, executing the step E, otherwise, executing the step F; E, sending the IO requests to the forefront position of the IO request queue, and returning to the step A; and F, sorting the IO requests according to the position of a sector, sending the IO requests into the IO request queue, and returning to the step A.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of computer memory, in particular to a method for scheduling disk IO request queues. Background technique

[0002] When the disk driver receives the read IO operation command from the operating system, it will send a read data command to the disk, and at the same time pass the address of the data block to be read to the disk, and then the disk will transfer the read data to the disk. To the disk drive, and the disk drive returns to the operating system to complete a read IO operation; similarly, a write IO operation is similar, the disk drive receives the instruction of the write IO operation and the data to be written, and sends It is passed to the disk, and the disk passes the operation result back to the disk driver after the data writing is completed, and then the disk driver returns to the operating system to complete a write IO operation. A single IO operation refers to the completion of a write IO or...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More