INFORMATION PROCESSING APPARATUS, CONTROLLING METHOD THEREOF, AND PROGRAM
First Claim
1. An information processing apparatus controlling writing to a disk, comprising:
- a command reception section to receive from a host apparatus a write command and a control command controlling a cache about the write command;
a queue storage section to store a queue for the write command and the control command received by the command reception section; and
a control section to determine which of a first write command for data of a file and a second write command for metadata corresponding to the file the write command stored in the queue is, group, when the control command is received by the command reception section, at least one first write command and at least one second write command that have been received and stored in the queue, assign an execution sequence number to the first write command and the second write command in the group such that data write of the first write command to the disk is executed in priority to data write of the second write command, and control execution of the first write command and the second write command according to the assigned execution sequence number.
2 Assignments
0 Petitions
Accused Products
Abstract
An information processing apparatus controls writing to a disk. A command reception section receives from a host apparatus a write command and a control command controlling a cache about the write command. A queue storage section stores a queue for the write command and the control command received by the command reception section. A control section determines which of a first write command for data of a file and a second write command for metadata corresponding to the file the write command stored in the queue is, groups, when the control command is received by the command reception section, at least one first write command and at least one second write command that have been received and stored in the queue, assigns an execution sequence numbers to the first write command and the second write command in the group such that data write of the first write command to the disk is executed in priority to the data write of the second write command, and controls execution of the first write command and the second write command according to the assigned execution sequence numbers.
-
Citations
6 Claims
-
1. An information processing apparatus controlling writing to a disk, comprising:
-
a command reception section to receive from a host apparatus a write command and a control command controlling a cache about the write command; a queue storage section to store a queue for the write command and the control command received by the command reception section; and a control section to determine which of a first write command for data of a file and a second write command for metadata corresponding to the file the write command stored in the queue is, group, when the control command is received by the command reception section, at least one first write command and at least one second write command that have been received and stored in the queue, assign an execution sequence number to the first write command and the second write command in the group such that data write of the first write command to the disk is executed in priority to data write of the second write command, and control execution of the first write command and the second write command according to the assigned execution sequence number. - View Dependent Claims (2, 3, 4)
-
-
5. A method of controlling an information processing apparatus controlling writing to a disk, comprising:
-
receiving from a host apparatus a write command and a control command controlling a cache about the write command and storing the write command and the control command in a queue; determining which of a first write command for data of a file and a second write command for metadata corresponding to the file the write command stored in the queue is; grouping, when the control command is received at the reception step, at least one first write command and at least one second write command that have been received and stored in the queue; assigning an execution sequence number to the first write command and the second write command in the group such that data write of the first write command to the disk is executed in priority to data write of the second write command; and executing the first write command and the second write command according to the assigned execution sequence numbers.
-
-
6. A computer-readable storage medium comprising computer-executable instructions that, when executed by a computer, control writing to a disk and cause the computer which is built in an information processing apparatus to function as:
-
a command reception section to receive from a host apparatus a write command and a control command controlling a cache about the write command; a queue storage section to store a queue for the write command and the control command received by the command reception section; and a control section to determine which of a first write command for data of a file and a second write command for metadata corresponding to the file the write command stored in the queue is, group, when the control command is received by the command reception section, at least one first write command and at least one second write command that have been received and stored in the queue when the command reception section receives the control command, assign an execution sequence number to the first write command and the second write command in the group such that the first write command is executed in priority to data write of the second write command, and control execution of the first write command and the second write command according to the assigned execution sequence number.
-
Specification