2.2.3.58 CLUS_SBL_CACHE_CONFIG

The CLUS_SBL_CACHE_CONFIG structure represents the cache configuration information of designated target. This is sent in response to CLUSCTL_NODE_GET_SBL_CACHE_CONFIG_EX (section 3.1.4.3.4.21). It is a custom-marshalled structure that has fields as follows.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Version

TargetIdentifier

...

...

...

SpacesDirectEnabled

Reserved

CurrentState

DesiredState

CacheDesiredModeHDD

CacheCurrentModeHDD

CacheDesiredModeSSD

CacheCurrentModeSSD

ProvisioningStage

...

ProvisioningStageMax

...

CurrentStateProgress

...

CurrentStateProgressMax

...

FlashMetadataReserveBytes

...

CachePagingSize

CacheBehavior

...

Version (4 bytes): Indicates the version of the request structure. This field MUST be set to 0x00000001.

TargetIdentifier (16 bytes): A GUID representing the target manager.

SpacesDirectEnabled (1 byte): A Boolean value. When set to TRUE, indicates that Storage Spaces Direct is enabled.

Reserved (3 bytes): Reserved for padding. This field MUST be ignored.

CurrentState (4 bytes): A 32-bit integer indicating the current state of the cache.

DesiredState (4 bytes): A 32-bit integer indicating the desired state of the cache.

CacheDesiredModeHDD (4 bytes): Indicates the cache desired mode on HDD disk as defined in S2DCACHE_MODE (section 2.2.2.23).

CacheCurrentModeHDD (4 bytes): Indicates the cache current mode on HDD disk as defined in S2DCACHE_MODE.

CacheDesiredModeSSD (4 bytes): Indicates the cache desired mode on SSD disk as defined in S2DCACHE_MODE.

CacheCurrentModeSSD (4 bytes): Indicates the cache current mode on SSD disk as defined in S2DCACHE_MODE.

ProvisioningStage (8 bytes): A 64-bit integer indicating the current provisioning stage index.

ProvisioningStageMax (8 bytes): A 64-bit integer indicating the maximum provisioning stage index.

CurrentStateProgress (8 bytes): A 64-bit integer indicating the state of current process.

CurrentStateProgressMax (8 bytes): A 64-bit integer indicating the maximum state of current process.

FlashMetadataReserveBytes (8 bytes): A 64-bit integer that specifies the number of bytes to be reserved for other flash metadata operations.

CachePagingSize (4 bytes): A 32-bit integer indicating the number of kilobytes that make up a single cache page.

CacheBehavior (8 bytes): A 64-bit integer indicating the implementation-specific behavior flags of cache.