Motr  M0
Functional Specification

Functional Specification

Data Structures

  • The m0_cm represents a copy machine replica.
  • The m0_cm_ops provides copy machine specific routines for
    • Starting a copy machine.
    • Handling a copy machine specific operation.
    • Handling copy machine operation completion.
    • Aborting a copy machine operation.
    • Handling a copy machine failure.
    • Stopping a copy machine.
  • The m0_cm_type represents a copy machine type that a copy machine is an instance of.

Interfaces

Every copy machine type implements its own set of routines for type-specific operations, although there may exist few operations common to all the copy machine types.

Constructors and Destructors

This section describes the sub-routines which act as constructors and destructors for various copy machine related data structures.

Accessors and Invariants

The invariants would be implemented in source files.

Operational Interfaces

Lists the various external interfaces exported by the copy machine.

External operational Interfaces

Todo:
This would be re-written when configuration api's would be implemented.

Recipes

Todo:
This section would be re-written when the other copy machine functionalities would be implemented.