xvolstate_report_t

Contains information about an FSHOOK_TYPE_CHANGEVOLSTATE_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    volID;
     volid_t    poolID;
  } xvolstate_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 volume. For a list of possible values, see Section 30.8.9, Volume States.

newState

Contains the new state of the volume. For a list of possible values, see Section 30.8.9, Volume States.

mode

volID

Contains the ID of the volume associated with this event.

poolID

Contains the ID of the pool associated with this volume.