Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

VDS_LOADBALANCE_POLICY_ENUM enumeration

[Beginning with Windows 8 and Windows Server 2012, the Virtual Disk Service COM interface is superseded by the Windows Storage Management API.]

Defines a set of valid load balance policies for a path. These policies correspond to the definitions in the DSM MOF.

Syntax


typedef enum _VDS_LOADBALANCE_POLICY_ENUM { 
  VDS_LBP_UNKNOWN                  = 0,
  VDS_LBP_FAILOVER                 = 1,
  VDS_LBP_ROUND_ROBIN              = 2,
  VDS_LBP_ROUND_ROBIN_WITH_SUBSET  = 3,
  VDS_LBP_DYN_LEAST_QUEUE_DEPTH    = 4,
  VDS_LBP_WEIGHTED_PATHS           = 5,
  VDS_LBP_LEAST_BLOCKS             = 6,
  VDS_LBP_VENDOR_SPECIFIC          = 7
} VDS_LOADBALANCE_POLICY_ENUM;

Constants

VDS_LBP_UNKNOWN

The policy is unknown.

VDS_LBP_FAILOVER

The policy uses one primary path with other paths being backup paths.

VDS_LBP_ROUND_ROBIN

The policy uses all paths in round-robin fashion.

VDS_LBP_ROUND_ROBIN_WITH_SUBSET

The policy uses primary paths in round-robin fashion. The backup paths are used if all of the primary paths fail.

VDS_LBP_DYN_LEAST_QUEUE_DEPTH

The policy uses the path with the least number of active requests.

VDS_LBP_WEIGHTED_PATHS

The policy uses the path with the least weight (each path is assigned a weight).

VDS_LBP_LEAST_BLOCKS

The policy uses the path with the least blocks.

VDS_LBP_VENDOR_SPECIFIC

The policy is a vendor-specific policy.

Remarks

Note  Additional constants might be added to the VDS_LOADBALANCE_POLICY_ENUM enumeration in future Windows versions. For this reason, your application must be designed to gracefully handle an unrecognized VDS_LOADBALANCE_POLICY_ENUM enumeration constant.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 R2 [desktop apps only]

Header

Vds.h;
VdsHwPrv.h (for hardware providers)

See also

VDS Enumerations

 

 

Community Additions

Show:
© 2015 Microsoft