Download 95Sep_Kellett - Calhoun: The NPS

Transcript
Meanwhile, Concurrency Control (CC) (Figure 9) is maintaining the integrity of the
meta data and the base data. CC initializes a series of tables to maintain concurrency
control: the Traffic-Unit-to-Attribute-Identification Table (TUAT), the AttributeIdentification-to-Traffic-Unit
Table
(ATUT),
the
Traffic-Unit-to-Descriptor-
Identification-Sets Table (TUDIST), the Traffic-Unit-to-Cluster-Identification Table
(TUCT), and the Cluster-Identification-to-Traffic-Unit Table (CTUT). CC then executes
the C_New_TrafficUnit(), CSCC_NewTrafficUnit(), or the DSCC_NewTrafUnit()
functions based on what type of message the CC received from the Language Interface
Controller or the other backends.
The Directory Manager (DM) (Figure 10) manages all access to the meta data disk.
The DM receives Traffic-Unit messages from REQP finding the descriptors satisfying the
INSERT operation. The DM then calls the INS_DESC_SR() function. At the same time,
the DM coordinates with Record Processing (RECP)(Figure 11) the gathering of
information about how the base data is to be stored. The DM, after coordinating with
RECP, then broadcasts the descriptor-identification to the other backends.
The RECP manipulates the base data using functions for selection, retrieval, and
value extraction. RECP receives the INSERT request from the REQP in the kernel or from
the other backends. To execute the INSERT, the RECP fetches a Track Buffer (TB) and
then gets free disk area from the Disk Input/Output (DIO)(see Figure 6) by calling the
INS_Processing() function. The DIO handles all reads and writes to the base data disks.
RECP then puts the records into the fetched TB and stores the TB back to the free disk area
by calling the IP_INSERT_Record() function.
The Post Processing (PP) (see Figure 6) properly formats the results. The results are
received from the backends and sent through the TI to the LIC contained in the UDM/UDL.
The LIC will call the KFS for display of the information back to the user. In the case of the
object-oriented interface, the RTM receives the results from the PP. The RTM then calls
the KFS to properly format the results for display to the user. The KFS and RTM are
discussed in Chapter VI.
29