Data transfer control method and apparatus for external storage subsystem adapted to perform erasing after writing
First Claim
1. In an external storage subsystem comprising a rotating storage device and a control unit provided between said rotating storage device and a host processing unit, said control unit including a cache memory for temporarily holding data transmitted and received between said processing unit and said rotating storage device, said cache memory having a memory area in a form of a plurality of logical tracks corresponding to logical tracks of said rotating storage device;
- a method for controlling data transfer performed by said control unit comprising the steps of;
a) writing write data transferred from said processing unit and to be transferred to said rotating storage device to logical tracks of said cache memory corresponding to the write data;
b) for each of the logical tracks of the cache memory having the write data written thereon,1) storing an end position of valid write data in the logical track to a control memory in said control unit; and
2) setting a flag indicating whether an erasing is required or not in transferring the write data read from each of said logical tracks to said rotating storage device in said control memory based on the end position of the valid write data in each logical track and the end position in each logical track; and
c) in reading the write data from each of the logical tracks of said cache memory, referring to the flag of said control memory corresponding to the one logical track of said cache memory and performing said erasing when the referred flag indicates that the erasing is required.
1 Assignment
0 Petitions
Accused Products
Abstract
In control method and apparatus for data transfer in an external storage subsystem, a disk unit and a control unit interposed between a host channel and a processing unit are provided and data in a variable record length supplied from the host is converted to data in a fixed record length to write it in the disk unit. Final format writing end position information for a logical track and an erase flag indicating whether the erasing is required or not are stored at a portion of a logical track control table which controls a cache memory, for each logical track. In the format writing on the cache memory, the final format writing end position information and the erase flag are updated, and when the data is written into the disk unit from the cache memory by logical track unit, the erase flag is referred and the erasing is performed if it is required. Thus, the area of erasing and the number of times of execution are minimized and the throughput of the data transfer between the processing unit and the rotating storage device is improved.
45 Citations
13 Claims
-
1. In an external storage subsystem comprising a rotating storage device and a control unit provided between said rotating storage device and a host processing unit, said control unit including a cache memory for temporarily holding data transmitted and received between said processing unit and said rotating storage device, said cache memory having a memory area in a form of a plurality of logical tracks corresponding to logical tracks of said rotating storage device;
a method for controlling data transfer performed by said control unit comprising the steps of; a) writing write data transferred from said processing unit and to be transferred to said rotating storage device to logical tracks of said cache memory corresponding to the write data; b) for each of the logical tracks of the cache memory having the write data written thereon, 1) storing an end position of valid write data in the logical track to a control memory in said control unit; and 2) setting a flag indicating whether an erasing is required or not in transferring the write data read from each of said logical tracks to said rotating storage device in said control memory based on the end position of the valid write data in each logical track and the end position in each logical track; and c) in reading the write data from each of the logical tracks of said cache memory, referring to the flag of said control memory corresponding to the one logical track of said cache memory and performing said erasing when the referred flag indicates that the erasing is required. - View Dependent Claims (2, 3, 4, 5, 6)
-
7. A control unit provided between at least one processing unit and at least one rotating storage device for storing data in a fixed length format and converting data in a variable length format transferred from said processing unit to data in the fixed length format for transfer to said rotating storage device, comprising:
-
a cache memory for temporarily holding the data transmitted and received between said processing unit and said rotating storage device and having a memory area having a plurality of logical tracks corresponding to logical tracks of said rotating storage device; a control memory for storing information for each of the logical tracks of said cache memory; means, when data from said processing unit accompanies with format data writing, for storing an end position of final write data in the logical track in said cache memory in which said data is stored into said control memory as said information; flag setting means for setting in said control memory as said information a flag indicating whether an erasing is required or not in transferring the data read from the logical track of said cache memory to said rotating storage device based on the end position of the final format writing data and the end position of each logical track of the logical tracks of said cache memory having the data accompanied by the format writing written thereon; transfer means including discrimination means, in reading data from one of the logical tracks of said cache memory, for referring the flag of the control memory corresponding to said one logical track of said cache memory to determine whether the referred flag indicates that the erasing is required or not; and erase means for performing the erasing when said discrimination means determines that the referred flag indicates that the erasing is required. - View Dependent Claims (8, 9, 10, 11)
-
-
12. An external storage subsystem comprising:
-
at least one rotating storage device for storing data in a fixed length format; and a control unit provided between at least one processing unit and said at least one rotating storage device for storing data in a fixed length format and converting data in a variable length format transferred from said processing unit to data in the fixed length format for transfer to said rotating storage device; said controlling unit including; a cache memory for temporarily holding the data transmitted and received between said processing unit and said rotating storage device and having a memory area having a plurality of logical tracks corresponding to logical tracks of said rotating storage device; means, when data from said processing unit accompanies with format data writing, for storing and end position of final write data in the logical track in said cache memory in which said data is stored into said control memory as said information; flag setting means for setting in said control memory as said information a flag indicating whether an erasing is required or not in transferring the data read from the logical track of said cache memory to said rotating storage device based on the end position of the final format writing data and the end position of each logical track of the logical tracks of said cache memory having the data accompanied by the format writing written thereon; transfer means, including discrimination means, in reading data from one of the logical tracks of said cache memory, for referring the flag of the control memory corresponding to said one logical track of said cache memory to determine whether the referred flag indicates that the erasing is required or not; and erase means for performing the erasing when said discrimination means determines that the referred flag indicates that the erasing is required. - View Dependent Claims (13)
-
Specification