Patent ID: 7577897

Claim:
A support method for data integrity inspection in a disk device, the disk device having a storage medium, a buffer for temporary storage, and a controller that controls reading from and writing into the storage medium and the temporary storage buffer by exchanging a command and data with a host apparatus, the controller, repeatedly performing the steps of: reading out a desired data size of first data from a readout address of the storage medium; reading out the desired data size of second data from the temporary storage buffer; executing an arithmetic operation between the first data and the second data; writing the arithmetic operation results obtained from the arithmetic operation, into the temporary storage buffer; and updating the readout address, wherein the controller performs the steps of: receiving a command from a host apparatus; identifying a type of the command received; setting an execution priority level for the received command according to the particular type thereof; judging whether the received command can be executed in accordance with the execution priority level set; if, in said judgment step, the command is judged to be executable, executing the command; if, in said judgment step, the command is judged not to be executable, queuing the command; updating the execution priority level of queued commands; and executing the commands that has been made executable by the updating of the execution priority level.