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.
Parent Case Info
This is a continuation of U.S. application Ser. No. 08/380,461, filed Dec. 8, 1994, now abandoned; which is a continuation of U.S. application Ser. No. 07/988,597 filed Dec. 10, 1992, now abandoned.
US Referenced Citations (15)
Non-Patent Literature Citations (1)
Entry |
"Error Recovery for Magneto-Optical Disks", Jan., 1990, IBM Tech. Discl. Bulletin, vol. 32, No. 8B, pp. 411-414. |
Continuations (2)
|
Number |
Date |
Country |
Parent |
380461 |
Dec 1994 |
|
Parent |
988597 |
Dec 1992 |
|