|
NAME : HCPTCHBK
DESCRIPTION: Track Cache Hash block
DSECT : TCHBK
FUNCTION : To provide mapping of a full track cache hash
table entry.
The data is stored right in the hash table.
Open hashing scheme is used with collisions.
verview and Terminology -
The MDC HASH TABLE logically consists
of a BASE TABLE and COLLISION NODEs.
Each MDC eligible track is represented by a
unique fullword KEY. A hashing algorithm is
used to convert the key to the address of an
entry in the base table called a BASE NODE.
Although each key is unique, multiple keys may
hash to the same base node causing a
COLLISION. Collision nodes are assigned from
storage that is not part of the base table.
A TCHBK is a 3 word entity that contains
or provides access to the data structures
required to serialize and process a single
track within the Minidisk cache. A TCHBK
can appear in a base node or a collision node.
Whereas a base node consists entirely of one
TCHBK, a collision node additionally contains
a one word prefix (see below and HCPCNODE).
CREATED BY :
Individual empty entries are filled in by
HCPFTHRD. The frames that form the base hash
table is obtained by HCPFTHIN. The first
collision frame is obtained in HCPFTHIN while
subsequent frames are acquired by HCPFTHRD as
needed.
Individual entries are cleared by
HCPFTHRD, HCPFTHEX, HCPFTHDR, HCPFTHDC,
HCPFTHSD, HCPFTHUD
The collection of TCHBKs that form the actual
hash table is deleted by
HCPFTHRD, HCPFTHEX, HCPFTHDR, HCPFTHDC,
HCPFTHSD, HCPFTHIN, HCPFTHRH, HCPFTHFH,
HCPFTHQH
DELETED BY :
| |