storageUsed

Is used by zInfo_s and contains storage information.

Service:File System Services (64-Bit)
Defined In:zParams.h

Syntax

struct                     /* zGET_STORAGE_USED */
{
   QUAD   physicalEOF;
   QUAD   dataBytes;
   QUAD   metaDataBytes;
} storageUsed;

Fields

physicalEOF

Specifies the byte offset of the physical end of file. ZLSS allows for data blocks to be allocated beyond the actual (logical) end of file, which permits the user to preallocate space for the file before it is actually needed. This process simplifies error handling and can give a hint to the system to allocate larger chunks of continuous memory.

dataBytes

Specifies the actual physical storage occupied by the file’s data.

metaDataBytes

Specifies the actual physical storage used by the file’s metadata. Ignored by zModifyInfo.