GitHub
Download
Forum
Overview
Tutorial
C++ API
C# API
DTDL
DADL
Setup
DataFS SDK setup
DataFS setup
DataFS Tools
DataFS setup parameters
stcStorageDiskSettings
stcStorageDiskOpen
stcStorageDiskCreate
stcDomainStorage
stcDomainSettings
stcStorageSettings
stcStorageDiskOpen structure
Disk opening parameters
Syntax
struct
stcStorageDiskOpen
{
U
INT32
ulSize;
GUID
guidId;
w
char
_t
*
strPath;
U
INT16
usDiskType;
U
INT32
ulMaxActiveIo;
U
INT64
ullIdleBlockSize;
stcStorageDiskSettings
Settings;
};
Member
ulSize
Type:
UINT32
The size (sizeof(stcStorageDiskOpen)) of the structure.
guidId
Type:
GUID
The globally unique ID of the disk.
strPath
Type:
wchar_t*
Path to the “disk” (a file).
usDiskType
Type:
UINT16
The type of the disk. 0x0 for HDD, 0x10 for SSD. This parameter is used to optimize algorithms for the type of disk used.
ulMaxActiveIo
Type:
UINT32
Maximum count of parallel active read or write actions on the disk. If the limit is reached, the system first waits for an action to be completed before it starts a new one.
ullIdleBlockSize
Type:
UINT64
Maximum size of a block that is written in idle mode. If larger blocks are written in idle mode, they are split into multiple blocks and disk actions. This is done to prevent higher-priority jobs from being blocked for too long.
© 2022 Mobiland AG