storageUsed

Is used by zinfo_t and contains storage information.

Service:
Defined In:fshooks.h

Syntax

  struct  
  {
     size64_t   physicalEOF;
     size64_t   dataBytes;
     size64_t   metaDataBytes;
  } storageUsed;
  

Fields

physicalEOF

Specifies the byte offset of the physical end of file. Data blocks can 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 files metadata.

Remarks

This structure is ignored by the FSHOOK_TYPE_MODIFYINFO_REPORT event.