Coda File System

Next Previous Contents

5. Comms

The file comm.h contains definitions for the datastructures for communication. Key structures map the id's of replicated volumes to servers, and volume storage groups to hosts. Currently this is hacked into; it would be better to make an rpc for this information.

First there is an umbrella structure:

Entries are:

The transient structures holding connection information are stored in connent structures. These document single connections between clients and servers.

Servers are held in srvent's.

The data describing multirpc connections is held in mgrpent's:

The primary host should be used for load balancing. Currently the algorithm is not satisfactory. The primary host is also (?) held in the fso status block.

Next Previous Contents