Cache Tool

    A Scalar type with a scale of 2~20~.

    type CacheStripeBlocks

    A type with a scale of 2~27~. This represents the units in which storage is allocated to stripes.

    class VolumeConfig

    A container for parsed cache volume configuration.

    • class

      Configuration information for a single cache volume.

      • int _percent

        Volume size if specified as a percentage, otherwise 0 if not specified.

      • Megabytes _size

        Volume size if specified as an explicit size, otherwise 0 if not specified.

    This class provides handling for allocating storage space to stripes based on volume configuration.

    • class V

      Cache volume data for a single cache volume.

      • ::Data const &_config

        A reference to the (parsed) volume configuration for a single volume to be used for allocating storage to that cache volume.

    • The parsed cache volume configuration.