摘要 |
A storage device includes: a storage unit for writing data into a rotating storage medium via a writing head; a nonvolatile memory; a temporary storage memory for storing a plurality of writing commands temporarily; and a controller for executing the plurality of writing commands so as to selectively write data into the storage unit or the nonvolatile memory, rearranging the writing commands stored in the temporary storage memory in accordance with efficiency for executing the writing commands to write data into the storage unit, sequentially executing the rearranged writing commands in descending order, and executing in parallel at least one of the writing commands that has not been executed to write data into the nonvolatile memory until all the data to be written in accordance with the writing commands are stored in either the storage unit or the nonvolatile memory.
|