Adaptive data transfer channel employing extended data block capability
First Claim
1. In a data processing system having a central processing complex (CPC) adapted to be coupled to one or more peripheral data storage devices (PDSDs) each having formatting means for storing logical data blocks (LDBs) in any predetermined record format, said CPC having input/output (I/O) means for creating a channel program (CP) to transfer data between said CPC and any said PDSD, said CP containing one or more channel control words (CCWs) including at least one transfer command (TC), each said CCW having a logical block length field of k=log2 n bits, wherein k and n are non-zero positive integers and wherein each said LDB includes no more than (n-1) bytes, a method for transferring data bidirectionally between said CPC and said any PDSD comprising the steps of:
- (a) sending a read device characteristics (RDC) signal from said CPC to said any PDSD;
(b) responsive to said RDC signal, returning a device characteristics signal (DCS) from said any PDSD to said CPC, said DCS indicating whether said any PDSD provides for a transfer of an extended data block (EDB) including at least (n) bytes;
(c) responsive to each said DCS indicating no provision for EDB transfer in said any PDSD, performing the steps of(c.1) creating in said CPC a first said CP having one or more said CCWs, each said CCW specifying a transfer of one said LDB, and(c.2) responsive to each said CCW in said first CP, transferring one said LDB between said CPC and said any PDSD; and
(d) responsive to each said DCS indicating provision for EDB transfer in said any PDSD, performing the steps of(d.1) creating in said CPC a second said CP having at least one TC in the form of one or more said CCWs, each said TC specifying a transfer of one said EDB containing one or more said LDBs, and(d.2) responsive to each said TC in said second CP, transferring at least one said EDB between said CPC and said any PDSD;
whereby data stored in said any predetermined record format is transferred bidirectionally in a block format selected according to the characteristics of said any PDSD.
1 Assignment
0 Petitions
Accused Products
Abstract
An adaptive data transfer channel providing means for a data management access method (AM) to define the channel subsystem data block transfer size and to transfer an extended data block (EDB) by a single channel transfer command to avoid repeated channel command word (CCW) command decode and status presentation operations. The adaptive scheme of this invention is transparent to the user and downwardly compatible with existing data record storage formats because it is independent of the user application program. The host software in the central processing complex (CPC) tests the peripheral data storage device (PDSD) to ensure compatibility with the EDB CCWs before selecting the channel program (CP) to be used for data block transfer in the subchannel. In the EDB format, the PDSD microcode permits the accumulation of logical data blocks (LDBs) from storage to form a single large EDB before transfer to the CPC responsive to a single transfer command. Conversely, the CPC can transfer a single EDB to the PDSD where it is parsed to form data records in an existing data record storage format, thus ensuring complete downward compatibility with existing data record storage formats.
120 Citations
7 Claims
-
1. In a data processing system having a central processing complex (CPC) adapted to be coupled to one or more peripheral data storage devices (PDSDs) each having formatting means for storing logical data blocks (LDBs) in any predetermined record format, said CPC having input/output (I/O) means for creating a channel program (CP) to transfer data between said CPC and any said PDSD, said CP containing one or more channel control words (CCWs) including at least one transfer command (TC), each said CCW having a logical block length field of k=log2 n bits, wherein k and n are non-zero positive integers and wherein each said LDB includes no more than (n-1) bytes, a method for transferring data bidirectionally between said CPC and said any PDSD comprising the steps of:
-
(a) sending a read device characteristics (RDC) signal from said CPC to said any PDSD; (b) responsive to said RDC signal, returning a device characteristics signal (DCS) from said any PDSD to said CPC, said DCS indicating whether said any PDSD provides for a transfer of an extended data block (EDB) including at least (n) bytes; (c) responsive to each said DCS indicating no provision for EDB transfer in said any PDSD, performing the steps of (c.1) creating in said CPC a first said CP having one or more said CCWs, each said CCW specifying a transfer of one said LDB, and (c.2) responsive to each said CCW in said first CP, transferring one said LDB between said CPC and said any PDSD; and (d) responsive to each said DCS indicating provision for EDB transfer in said any PDSD, performing the steps of (d.1) creating in said CPC a second said CP having at least one TC in the form of one or more said CCWs, each said TC specifying a transfer of one said EDB containing one or more said LDBs, and (d.2) responsive to each said TC in said second CP, transferring at least one said EDB between said CPC and said any PDSD; whereby data stored in said any predetermined record format is transferred bidirectionally in a block format selected according to the characteristics of said any PDSD. - View Dependent Claims (2, 3, 4, 5)
-
-
6. In a data processing system having a central processing complex (CPC) with a channel subsystem (CS) for connecting to one or more peripheral data storage devices (PDSDs) each having formatting means for storing logical data blocks (LDBs) in any predetermined record format, said CPC also having input/output (I/O) means for creating at least one channel program (CP) to transfer data between said CPC and any said PDSD, said CP containing one or more channel control words (CCWs) including at least one transfer command (TC), each said CCW having a logical block length field of k=log2 n bits, wherein k and n are non-zero positive integers and wherein each said LDB includes no more than (n-1) bytes, the improvement comprising:
-
inquiry means in said CPC for sending a read device characteristics (RDC) signal from said CPC to said any PDSD; response means in said any PDSD for sending a device characteristics signal (DCS) from said any PDSD to said CPC, said DCS indicating whether said any PDSD provides for a transfer of an extended data block (EDB) including at least (n) bytes; decision means in said CPC for selecting one of at least two CPs responsive to said DCS; first EDB assembly means in at least one said PDSD for assembling said EDB from a plurality of said LDBs and for creating an extended block header (EBH) having a header length field for specifying the length of said EBH and one or more block descriptor fields each for specifying the length of a corresponding one of said plurality of LDBs, responsive to one said TC; and second EDB assembly means in said CPC for assembling said EDB from a plurality of LDBs and for creating an EBH having a header length field for specifying the length of said EBH and having one or more block descriptor fields each for specifying the length of a corresponding one of said plurality of LDBs. - View Dependent Claims (7)
-
Specification