Patent · US4891784A · A · US
High capacity tape drive transparently writes and reads large packets of blocked data between interblock gaps
- (11) Publication number
- US4891784A
- (21) Application number
- 07/142,180
- (22) Filing date
- 1988-01-08
- (30) Priority date
- 1988-01-08
- (43) Publication date
- 1990-01-02
- (45) Date of grant
- 1990-01-02
- (51) IPC
- G06F 3/06; G11B 20/10; G11B 20/12
- (52) CPC
- (73) Assignee
- Hewlett Packard Co
- (72) Inventors
- Jeff J. Kato; David W. Ruska; David J. Van Maren
- (54) Title
- High capacity tape drive transparently writes and reads large packets of blocked data between interblock gaps
- (57) Abstract
A tape packet assembler/disassembler (TPAD) for a tape drive accumulates host-transmitted records, which may or may not be blocked by the host. The accumulated host-transmitted records are combined into packets comprising a data portion made up of data blocks and a trailer portion made up of table entries describing how to disassemble the packet. Host-transmitted commands to write a tape mark are intercepted by the TPAD and replaced by corresponding information in the trailer. Packets are accumulated in a buffer in the TPAD, and are written to the tape drive when the buffer becomes full, or upon a command from the host to reposition the tape, such as rewind. The interblock gaps that would ordinarily separate the host-transmitted records now separate packets, resulting in a considerable increase in the efficiency of tape utilization. The TPAD maintains in the trailer various pointers to assist in forward and back spacing by file and records. It also can automatically and adaptively compress and decompress the user's data. To assist in this it also maintains in the trailer information identifying data blocks containing a dictionary reset.
- Full text
- View on Google Patents
Claims (1)
- Apparatus for assembly and disassembly of packets of data communicated between a host computing environment and a sequentially accessed mass storage device, the apparatus comprising: first interface means for coupling to the host computing environment, for receiving host-transmitted records to be written to the mass storage device, and for sending to the host computing environment data and status information read from the mass storage device; packet assembly/disassembly means coupled to the first interface means for assembling into a buffer packets comprising data portions and trailer portions of information corresponding to host-transmitted records, the data portions containing data from the host-transmitted records and the trailer portions containing descriptive information about the structure of the data portions, including the location of any tape mark that occurred in the host-transmitted record, and for disassembling back into host-transmitted records and associated status indications packets comprising data portions and trailer portions; and second interface means coupled to the packet assembly/disassembly means for coupling to the mass storage device, for writing packets in the buffer thereto, and for reading packets therefrom into the buffer.
Description
When data is written by a computer to a magnetic tape it is a common practice to separate portions of that data with erased sections of tape whose length is of an industry standard amount, such as three tenths of an inch, regardless of the length of tape in between that is required for the data. The empty sections are called gaps; more specifically, inter-record or interblock gaps, depending on the type of data separated by those gaps. Typically, a user's application program reads and writes logical records that are of a size determined by the application program. Because it has been recognized that it is wasteful of both time and tape to read and write individual application records separated by gaps (i.e., by inter-record gaps), it is customary for the operating system to collect consecutive application records into a buffer, from whence they are written by the host computer as entire blocks. These blocks of records are then separated by gaps, which are now called interblock gaps. (Depending on the nature of the storage medium, what corresponds to an interblock gap for half-inch nine track magnetic tape might be some other "record/block separator" such as a special pattern actually encoded on the medium.) The accumulation and writing process is called blocking; the corresponding reverse process of reading blocks from the tape, putting them into a buffer and then retrieving the individual records therefrom is called deblocking.
It is clearly seen that the efficiency of tape utilization is determined by the ratio between the amount of tape (between the gaps) used for data and the amount used for the gaps themselves.
Citations (7)
- US4040026A
- US4162520A
- US4458316A
- US4539676A
- US4542457A
- US4534013A
- US4750109A