// ntifs.h
typedef struct _REFS_SMR_VOLUME_GC_PARAMETERS {
ULONG Version;
ULONG Flags;
REFS_SMR_VOLUME_GC_ACTION Action;
REFS_SMR_VOLUME_GC_METHOD Method;
ULONG IoGranularity;
ULONG CompressionFormat;
ULONGLONG Unused[8];
} REFS_SMR_VOLUME_GC_PARAMETERS, *PREFS_SMR_VOLUME_GC_PARAMETERS;
View the official Windows Driver Kit DDI referenceNo description available.
The REFS_SMR_VOLUME_GC_PARAMETERS structure is used as the input structure for FSCTL_SET_REFS_SMR_VOLUME_GC_PARAMETERS.
VersionThe current version of REFS_SMR_VOLUME_GC_PARAMETERS. This field should be set to REFS_SMR_VOLUME_GC_PARAMETERS_VERSION_V1.
FlagsSpecifies the flags. Flags is currently ignored.
ActionSpecifies the garbage collection action.
MethodSpecifies the garbage collection method or strategy. Currently only MsSmrGcMethodCompaction is allowed.
IoGranularitySpecifies the volume's granularity. IoGranularity is a multiple of the cluster size up to the Shingled Magnetic Recording (SMR) band size (256 MB). Zero or non-multiple of cluster size will result in a STATUS_INVALID_PARAMETERS status.
CompressionFormatReserved for future use.
UnusedReserved for future use.
FSCTL_SET_REFS_SMR_VOLUME_GC_PARAMETERS