REFS_SMR_VOLUME_INFO_OUTPUT structure (ntifs.h)

The REFS_SMR_VOLUME_INFO_OUTPUT structure describes a Shingled Magnetic Recording (SMR) volume's current state on space and garbage collection activities.

Syntax

typedef struct _REFS_SMR_VOLUME_INFO_OUTPUT {
  ULONG                    Version;
  ULONG                    Flags;
  LARGE_INTEGER            SizeOfRandomlyWritableTier;
  LARGE_INTEGER            FreeSpaceInRandomlyWritableTier;
  LARGE_INTEGER            SizeofSMRTier;
  LARGE_INTEGER            FreeSpaceInSMRTier;
  LARGE_INTEGER            UsableFreeSpaceInSMRTier;
  REFS_SMR_VOLUME_GC_STATE VolumeGcState;
  NTSTATUS                 VolumeGcLastStatus;
  ULONG                    CurrentGcBandFillPercentage;
  ULONGLONG                Unused[6];
} REFS_SMR_VOLUME_INFO_OUTPUT, *PREFS_SMR_VOLUME_INFO_OUTPUT;

Members

Version

Currently ignored. Will be set to zero for now.

Flags

Currently ignored. Will be set to zero for now.

SizeOfRandomlyWritableTier

Specifies the total size of the randomly writable tier.

FreeSpaceInRandomlyWritableTier

Specifies the free space within the randomly writable tier.

SizeofSMRTier

Specifies the total size of the Shingled Magnetic Recording (SMR) tier.

FreeSpaceInSMRTier

Specifies the free space the Shingled Magnetic Recording (SMR) tier.

UsableFreeSpaceInSMRTier

Specifies the usable space the Shingled Magnetic Recording (SMR) tier.

VolumeGcState

Specifies the current state of the garbage collector.

VolumeGcLastStatus

Specifies the status of the last garbage collection using the specified method in REFS_SMR_VOLUME_GC_METHOD.

CurrentGcBandFillPercentage

Specifies the current band fill percentage of the garbage collector.

Unused[6]

Reserved for future use.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1709
Header ntifs.h (include Ntifs.h)