xpoolstate_report_t

Contains information about an FSHOOK_TYPE_CHANGEPOOLSTATE_REPORT event.

Service:
Defined In:fshooks.h

Structure

  typedef struct
  {
     uint32_t   enterExitID; 
     int        enterRetStatus;
     int        opRetCode;
     uint16_t   oldState;
     uint16_t   newState;
     uint32_t   mode;
     volid_t    poolID;
  } xpoolstate_report_t;
  

Fields

enterExitID

Associates the warn and report events of the operation and is same value on the warn and report events of the same operation, but unique across operations.

enterRetStatus

Indicates whether the event was successful, with 0 indicating success. If nonzero, the security authority prevented the event from occurring.

opRetCode

Indicates whether the operation was successful, with 0 indicating success and nonzero an error.

oldState

Contains the old state of the pool.

newState

Contains the new state which will be assigned to the pool.

mode

poolID

Contains the ID of the pool associated with this event.