Apparatus and method for writing data onto rewritable optical media
First Claim
1. An apparatus for storing data on a rewritable optical disk in an optical disk drive, comprising:
- interface means for receiving blocks of data during multiple write operations from a host device to be written to corresponding sectors of a rewritable optical disk;
memory means coupled to said interface means for accumulating the blocks of data;
means for notifying the host device that a write operation is complete upon receipt of a block of data in said memory means;
processor means for;
indicating that data in each sector of the rewritable optical disk corresponding to each block of data accumulated in said memory means has been superseded, wherein a command from the host device to read selected data which has been accumulated in said memory means is to be satisfied from the block of data accumulated in said memory means;
arranging said blocks of data such that said blocks of data can be destaged to said corresponding sectors in a sequence that minimizes seek times along the rewritable optical disk;
destaging said blocks of data from said memory means to said corresponding sectors when a predetermined threshold has been reached in said memory means by;
erasing data from all of said corresponding sectors during a first single pass of the rewritable optical disk; and
writing data in said blocks from said memory means to said corresponding sectors during a second single pass of the rewritable optical disk; and
indicating that data in each sector of the rewritable optical disk which is destaged from said memory means has been updated, wherein a command from the host device to read selected data which has been accumulated in said memory means can be satisfied from a selected one of the block of data accumulated in said memory means and the data written to the corresponding sector.
1 Assignment
0 Petitions
Accused Products
Abstract
An apparatus and method are provided for amortizing the adverse performance impact of an erase-write-verify process for rewritable optical disks, with its numerous delays, over multiple sectors. A block of data to be written to a sector on a particular track of the disk is transferred from the host to a cache storage device. When a predetermined number of blocks to be written to the track have accumulated in the cache, destaging will occur. Those sectors to which the blocks will be written are erased in a single pass. Then the blocks are written to the erased sectors in the next pass. Verification of the written data, if desired, can be performed in a third pass. Consequently, only two passes per track (or three, if verification is desired) are required to record data from the host to the disk instead of two passes (or three) per block using conventional methods and the seek and latency delays are also reduced. Multiple tracks can be destaged in an order established by a controller. Immediate destaging can occur if an event occurs requiring destaging which would otherwise jeopardize the integrity of the blocks of data retained in the cache.
45 Citations
3 Claims
-
1. An apparatus for storing data on a rewritable optical disk in an optical disk drive, comprising:
-
interface means for receiving blocks of data during multiple write operations from a host device to be written to corresponding sectors of a rewritable optical disk; memory means coupled to said interface means for accumulating the blocks of data; means for notifying the host device that a write operation is complete upon receipt of a block of data in said memory means; processor means for; indicating that data in each sector of the rewritable optical disk corresponding to each block of data accumulated in said memory means has been superseded, wherein a command from the host device to read selected data which has been accumulated in said memory means is to be satisfied from the block of data accumulated in said memory means; arranging said blocks of data such that said blocks of data can be destaged to said corresponding sectors in a sequence that minimizes seek times along the rewritable optical disk; destaging said blocks of data from said memory means to said corresponding sectors when a predetermined threshold has been reached in said memory means by; erasing data from all of said corresponding sectors during a first single pass of the rewritable optical disk; and writing data in said blocks from said memory means to said corresponding sectors during a second single pass of the rewritable optical disk; and indicating that data in each sector of the rewritable optical disk which is destaged from said memory means has been updated, wherein a command from the host device to read selected data which has been accumulated in said memory means can be satisfied from a selected one of the block of data accumulated in said memory means and the data written to the corresponding sector.
-
-
2. A rewritable optical disk subsystem, comprising:
-
an optical drive into which a rewritable optical disk is loadable; interface means for receiving blocks of data during multiple write operations from a host device to be written to corresponding sectors of a rewritable optical disk; memory means coupled to said interface means for accumulating the blocks of data; means for notifying the host device that a write operation is complete upon receipt of a block of data in said memory means; processor means for; indicating that data in each sector of the rewritable optical disk corresponding to each block of data accumulated in said memory means has been superseded, wherein a command from the host device to read selected data which has been accumulated in said memory means is to be satisfied from the block of data accumulated in said memory means; arranging said blocks of data such that said blocks of data can be destaged to said corresponding sectors in a sequence that minimizes seek times along the rewritable optical disk; destaging said blocks of data from said memory means to said corresponding sectors when a predetermined threshold has been reached in said memory means by; erasing data from all of said corresponding sectors during a first single pass of the rewritable optical disk; and writing data in said blocks from said memory means to said corresponding sectors during a second single pass of the rewritable optical disk; and indicating that data in each sector of the rewritable optical disk which is destaged from said memory means has been updated, wherein a command from the host device to read selected data which has been accumulated in said memory means can be satisfied from a selected one of the block of data accumulated in said memory means and the data written to the corresponding sector.
-
-
3. A method for storing data on a rewritable optical disk mounted in an optical disk drive, comprising the steps of:
-
transferring a block of data, to be written to a rewritable optical disk, from a host device to a memory device; notifying the host device that a write operation is complete; indicating that data in a sector of the rewritable optical disk corresponding to the block of data accumulated in the memory device has been superseded, wherein a command from the host device to read the block data is to be satisfied from the block of data accumulated in said memory means and not from the data in the corresponding sector of the rewritable optical disk; arranging said blocks of data such that said blocks of data can be destaged to said corresponding sectors in a sequence that minimizes seek times along the rewritable optical disk; and destaging said blocks of data from the memory device to said corresponding sectors of the rewritable optical disk when a predetermined threshold has been reached in the memory device, said destaging step further comprising; erasing data from a plurality of sectors on the rewritable optical disk during a first single pass of the rewritable optical disk; and writing data in the predetermined number of blocks from the memory device to the corresponding plurality of sectors during a second single pass of the rewritable optical disk; and indicating that data in each corresponding sector of the rewritable optical disk which is destaged from the memory device have been updated, wherein a command from the host device to read selected data which has been accumulated in the memory device means can be satisfied from a selected one of the block of data accumulated in the memory device and the data written to the corresponding sector.
-
Specification