Claims
- 1. A system for managing data transfer between a computer data storage medium, a data buffer associated with the medium, and an output device for receiving data from the medium and the data buffer, comprising:
- a read receiver for receiving a request from the output device to transmit read data to the output device;
- a write receiver associated with the data buffer for receiving write data from the output device and for transmitting the write data to the data storage medium;
- a switch for transmitting the read data to the output device prior to transmitting the write data from the buffer to the data storage medium when the read data is contained in the buffer;
- read ahead means for reading data from the medium into the buffer prior to requests for the data;
- write means for writing data from the output device onto a predetermined data track in the storage medium;
- determining means for determining whether the read ahead means is reading data from the predetermined track; and
- continuing means responsive to the determining means for permitting the read ahead means to continue to read data from the data storage medium when the data being read is contained in the predetermined track.
- 2. The system of claim 1, further comprising preempting means for causing the read ahead means to terminate reading data into the buffer and for causing the write means to write data from the output device onto the predetermined data track in the storage medium when the read ahead means is reading data from other than the predetermined track.
- 3. The system of claim 2, wherein the write means writes data onto the predetermined data track in a predetermined sector of the storage medium, and the preempting means causes the read ahead means to terminate reading data into the buffer and causes the write means to write data onto the predetermined data track when the predetermined sector is juxtaposed with the write means.
- 4. The system of claim 1, wherein the switch transmits the write data from the buffer to the data storage medium and then transmits the read data from the data storage medium to the output device when the read data is not contained in the buffer.
- 5. A data buffer management system, comprising:
- a computer including:
- a data storage medium,
- a data buffer,
- an output device for receiving data from the medium and the data buffer;
- a read receiver for receiving a request from the output device to transmit read data to the output device;
- a write receiver associated with the data buffer for receiving write data from the output device for transmitting the write data to the data storage medium;
- a switch for:
- transmitting the read data to the output device prior to completing the transmission of the write data from the buffer to the data storage medium when the read data is contained in the buffer; and,
- transmitting the write data from the buffer to the data storage medium and then transmitting the read data from the data storage medium to the output device, when the read data is not contained in the buffer;
- read ahead means for reading data from the medium into the buffer prior to requests for the data;
- write means for writing data from the output device onto a predetermined data track in the storage medium;
- determining means for determining whether the read ahead means is reading data from the predetermined track; and
- continuing means responsive to the determining means for permitting the read ahead means to continue to read data from the data storage medium when the data being read is contained in the predetermined track.
- 6. The system of claim 5, further comprising preempting means for causing the read ahead means to terminate reading data into the buffer and for causing the write means to write data from the output device onto the predetermined data track in the storage medium when the read ahead means is reading data from other than the predetermined track.
- 7. The system of claim 6, wherein the write means writes data onto the predetermined data track in a predetermined sector of the storage medium, and the preempting means causes the read ahead means to terminate reading data into the buffer and causes the write means to write data onto the predetermined data track when the predetermined sector is juxtaposed with the write means.
- 8. A method for managing data transfer between a computer data storage medium, a data buffer associated with the medium, and an output device for receiving data from the medium and the data buffer, comprising the steps of:
- receiving a request from the output device to transmit read data to the output device;
- receiving write data from the output device for transmitting the write data to the data storage medium;
- transmitting the read data to the output device prior to completely transmitting the write data from the buffer to the data storage medium when the read data is contained in the buffer;
- transmitting the write data from the buffer to the data storage medium prior to transmitting the read data from the data storage medium to the output device when the read data is not contained in the buffer;
- reading data from the data storage medium into the buffer prior to requests for the data;
- writing data from the output device onto a predetermined data track in the storage medium;
- determining whether the read ahead means is reading data from the predetermined track; and
- permitting the read ahead means to continue to read data from the data storage medium when the data being read is contained in the predetermined track.
- 9. The method of claim 8, further comprising the step of:
- causing the read ahead means to terminate reading data into the buffer and then causing the write means to write data from the output device onto the predetermined data track in the storage medium when the read ahead means is reading data from other than the predetermined track.
- 10. A system for managing data transfer between a computer data storage medium, a data buffer associated with the medium, and an output device for receiving data from the medium and the data buffer, comprising:
- read ahead means for reading data from the data storage medium into the buffer prior to requests for the data;
- write means for writing data from the output device onto a predetermined data track in the storage medium;
- determining means for determining whether the read ahead means is reading a data from the predetermined track; and
- continuing means responsive to the determining means for permitting the read ahead means to continue to read data from the data storage medium when the data being read is contained in the predetermined track.
- 11. The system of claim 10, further comprising preempting means for causing the read ahead means to terminate reading data into the buffer and for causing the write means to write data from the output device onto the predetermined data track in the storage medium when the read ahead means is reading data from other than the predetermined track.
- 12. The system of claim 11, wherein the write means writes data onto the predetermined data track in a predetermined sector of the storage medium, and the preempting means causes the read ahead means to terminate reading data into the buffer causes the write means to write data from the output device onto the predetermined data track when the predetermined sector is juxtaposed with the write means.
- 13. The system of claim 12, further comprising:
- a read receiver for receiving a request from the output device to transmit read data to the output device;
- a write receiver associated with the data buffer for receiving write data from the output device and for transmitting the write data to the data storage medium; and
- a switch for selectively transmitting the read data to the output device prior to transmitting the write data from the buffer to the data storage medium based upon whether the read data is contained in the buffer.
- 14. The system of claim 13, wherein the switch transmits the read data to the output device prior to transmitting the write data to the data storage medium when the read data is contained in the buffer.
- 15. A system for managing data transfer, comprising:
- a computer including a data storage medium, a data buffer associated with the medium, and an output device for receiving data from the medium and the data buffer;
- read ahead means for reading data from the data storage medium into the buffer prior to requests for the data;
- write means for writing data from the output device onto a predetermined data track in the storage medium;
- determining means for determining whether the read ahead means is reading data from the predetermined track; and
- continuing means responsive to the determining means for permitting the read ahead means to continue to read data from the data storage medium when the data being read is contained in the predetermined track.
- 16. The system of claim 15, further comprising preempting means for causing the read ahead means to terminate reading data into the buffer and for causing the write means to write data onto the predetermined data track in the storage medium when the read ahead means is reading data from other than the predetermined track.
- 17. The system of claim 16, wherein the write means writes data onto the predetermined data track in a predetermined sector of the storage medium, and the preempting means causes the read ahead means to terminate reading data into the buffer and causes the write means to write data onto the predetermined data track when the predetermined sector is juxtaposed with the write means.
- 18. The system of claim 17, further comprising:
- a read receiver for receiving a request from the output device to transmit read data to the output device;
- a write receive associated with the data buffer for receiving write data from the output device and for transmitting the write data to the data storage medium; and
- a switch for selectively transmitting the read data to the output device prior to transmitting the write data from the buffer to the data storage medium based upon whether the read data is contained in the buffer.
- 19. The system of claim 18, wherein the switch transmits the read data to the output device prior to transmitting the write data to the data storage medium when the read data is contained in the buffer.
- 20. A method for managing data transfer between a computer data storage medium, a data buffer associated with the medium, and an output device for receiving data from the medium and the data buffer, comprising the steps of:
- (a) reading data from the data storage medium into the buffer prior to requests for the data;
- (b) receiving a request to write data from the output device onto a predetermined data track in the storage medium;
- (c) determining whether the data being read ahead is on the predetermined track; and
- (d) continuing to read data from the data storage medium when the data being read is contained in the predetermined track.
- 21. The method of claim 20, further comprising the step of;
- (e) terminating reading data into the buffer and then writing data from the output device onto the predetermined data track in the storage medium when the data being read is from other than the predetermined tack.
- 22. The method of claim 21, further comprising the steps of:
- (f) receiving a request from the output device to transmit read data to the output device;
- (g) receiving write data from the output device for transmitting the write data to the data storage medium; and
- (h) transmitting the read data to the output device prior to completely transmitting the write data from the buffer to the data storage medium when the read data is contained in the buffer.
Parent Case Info
This application is a continuation of application U.S. Ser. No. 08/259,531, filed Jun. 14, 1994, now U.S. Pat. No. 5,566,317.
US Referenced Citations (17)
Non-Patent Literature Citations (2)
Entry |
"Shared Cache in a Checkpoint Environment", J.A. Weiss and B.E.Willner, IBM Technical Disclosure Bulletin, vol. 25, No. 11B, Apr. 1983, pp. 5960-5961. |
"A System amd Method for Performing a Multi-File Transfer Operation", J. W. Whisler, Patent No. 5,053,945, Appendix pp. 21-118. |
Continuations (1)
|
Number |
Date |
Country |
Parent |
259531 |
Jun 1994 |
|