blockSize

Is used by zinfo_t and contains information about the size of the block.

Service:
Defined In:fshooks.h

Syntax

  struct  
  {
     size_t   size;
     off_t    sizeShift;
  } blockSize;
  

Fields

size

Specifies the logical size (which is always a power of 2 and a multiple of the underlying storage pool allocation unit size) of the file object's allocation blocks.

sizeShift

Specifies the shift factor that is used in working with the size of the block. If size is 2 raised to the nth power, the value of sizeShift is "n". If 1 is shifted left by this value, the resultant value is the same value as size.

Remarks

This structure is ignored by the FSHOOK_TYPE_MODIFYINFO_REPORT event.