摘要:
A disk drive unit and an error recovery method for the disk drive unit which can reduce processing time for ERP in resetting, thereby shortening response time to the reset is described. A normal error recovery procedure is executed if there is no reset request when a write error occurs, but if there is a reset request pending, a data record in which a write error occurs is registered as a defective position (e.g. sector) and an alternate (spare) position is assigned to accelerate the time when the drive can respond to the reset instruction. Data records with alternate positions assigned as a part of the reset activity are specially marked so that alternate position assignment can be undone as soon as is appropriate, for example, when the record is next read or written.
摘要:
Methods and apparatus are described for a data transfer unit between a storage unit and a host, wherein a slower data transfer rate is established when a predetermined error is detected. In one embodiment the cyclicity of the error occurrence calculated and a wait is inserted between data to avoid transferring data at the calculated cyclicity point of the detected error. Optionally the data transfer unit may return the data transfer rate to the original data transfer rate or state after a predetermined time has elapsed, after a predetermined number of commands have been received, after a predetermined amount of data have been transferred, or by combination of these.
摘要:
A disk drive and a method for controlling the disk drive in which an additional read from a medium can be performed as needed while minimizing the command overhead to the minimum. In a disk drive device 10, even if a read command is issued, and all the required data is stored in the cache memory such that the data transfer can be performed without the intervention of a local MPU 16, a HIC 15 performs the data transfer so as to leave the last one block and waits for the intervention of the local MPU 16. The local MPU 16 provides instructions to transfer the last one block when the preparation for the command termination is completed, and if a plurality of blocks of data to be transferred are remaining when the local MPU 16 instructs the HIC 15 to transfer the last one block, the HIC 15 executes all the data transfer without stopping the data transfer before the last one block, completing the command.
摘要:
Data in a nonvolatile memory included in a data storage device is rewritten with higher security. According to one embodiment of the present invention, if an error is included in data stored in a nonvolatile semiconductor memory, the HDD rewrites correct data to the nonvolatile semiconductor memory. In particular, during the execution sequence of a write command, the HDD executes rewrite processing of control data stored in the nonvolatile semiconductor memory. More specifically, data is rewritten during a specified period of time that falls within a period of time starting from a start notification of write-data transfer processing that is sent from the HDD to the host, until a command completion notification. Since there is a very small possibility that the power of the host may be interrupted during this specified period of time, it is possible to securely rewrite data.
摘要:
Embodiments of the invention improve the cache hit ratio of read data. A hard disk drive (HDD) according to an embodiment of the present invention determines whether the read buffer should be used in its entirety or the partial continuous space should be used to read read-data from the magnetic disk. When the HDD determines use of the partial continuous space, the HDD specifies the sub-buffer which is a continuous space wherein the leading-end position and the trailing-end position are coupled to each other, and executes data writing to the sub-buffer in parallel with data reading from the sub-buffer and transmission thereof to the host. The sub-buffer capacity coincides with the data length of the back data.
摘要:
A data storage device accepts queued read and write commands that have deadlines. The queued read and write commands are requests to access the data storage device. The deadlines of the queued read and write commands can be advisory deadlines or mandatory deadlines.
摘要:
Embodiments of the present invention provide a media drive that is intended for reduction in power consumption required for serial communications to/from a host, and a power saving method thereof. In one embodiment, a HDD includes: a cache; a host interface for transferring, to a host, transfer data read out from the cache; a host interface manager that controls the execution of commands so as to generate a transfer unnecessary period during which a command and transfer data need not be exchanged with the host; and a MPU that brings a serial communication part of the host interface into a power save mode during the transfer unnecessary period. The host interface manager determines the optimum data transfer timing of transferring data from the cache to the host on the basis of a transfer rate at which data is transferred to the host, and a read rate at which data is read out from a disk into the cache.
摘要:
Embodiments of the present invention provide a media drive capable of improving command processing performance by, when a plurality of commands is queued, shortening seek time and rotational latency, and also effectively making use of the shortened period of time. In one embodiment, a HDD includes a queue capable of storing a plurality of commands, and a queue manager for optimizing the execution order of the plurality of commands on the basis of whether or not the execution of each command requires access to a medium. The queue manager determines the execution order so that medium access processing of accessing a disk for execution, and data transfer processing of transferring data between the HDD and a host, are executed in parallel with each other. For example, read processing and transfer processing are executed in parallel with each other. The read processing is adaptive to read out a read command, data of which does not exist in the cache, from the disk into the cache. The transfer processing is adaptive to transfer a read command, data of which exists in the cache, to the host.
摘要:
Embodiments of the invention reduce the host's wait time by controlling buffer for a data storage device. In a hard disk drive (HDD) disclosed herein, after write data from a host is stored in a write buffer, the size of a continuous free space left forward from the end position of the stored write data is detected. If the size is smaller than a criterion size, that is, the size is not large enough to store the next command's write data, the write buffer is searched for a continuous free space not smaller than the criterion size. If a continuous free space not smaller than the criterion size is detected, the HDD sets a write pointer to the continuous free space. This makes it possible to receive the next write data from the host and therefore reduce the host's wait time.
摘要:
A data storage device accepts queued read and write commands that have deadlines. The queued read and write commands are requests to access the data storage device. The deadlines of the queued read and write commands can be advisory deadlines or mandatory deadlines.