Events
SEFQoSNotification
This event is issued at the QoS Domain level.
Members of SEFQoSNotification
Type | Name | Description |
---|---|---|
enum SEFNotificationType | type | See union below... |
uint8_t[5] | reserved_0 | Reserved, must be initialized to zero |
struct SEFQoSDomainID | QoSDomainID | QoSDomainID for this notification |
union | 7 Members | |
→ struct SEFFlashAddress | maintenanceFlashAddress | Valid when type is kRequireMaintenance |
→ struct | 3 Members | |
→ → struct SEFUserAddress | changedUserAddress | User address that moved |
→ → struct SEFFlashAddress | oldFlashAddress | Old flash address |
→ → struct SEFFlashAddress | newFlashAddress | New flash address |
→ struct SEFFlashAddress | patrolFlashAddress | Valid when type is kRequirePatrol |
→ struct | 2 Members | |
→ → struct SEFUserAddress | unflushedUserAddress | Affected user address |
→ → char * | userData | Pointer to buffered data |
→ struct SEFFlashAddress | unreadableFlashAddress | Valid when type is kUnreadable |
→ struct SEFFlashAddress | changedFlashAddress | Valid when type is kSuperBlockStateChanged (open=>closed) |
→ uint32_t | writtenADUs | Number of ADUs written by user i/o commands to the super block |
→ uint32_t | numADUs | Capacity of the super block in ADUs |
→ struct | 2 Members | |
→ → const struct iovec* | iov | A pointer to the scatter gather list |
→ → int16_t | iovcnt | The number of elements in the scatter gather list |
SEFVDNotification
This event indicates to the host that it should respond in some appropriate manner to the reduced capacity condition.
This event is issued at the Virtual Device level. Due to failure of blocks, actual available capacity may fall below the allocated capacity of the attached QoS Domains. The host should take action to release super blocks back to the Virtual Device's free pool before it is entirely consumed.
Members of SEFVDNotification
Type | Name | Description |
---|---|---|
enum SEFNotificationType | type | Is kReducedCapacity, kOutOfCapacity or kOutOfPSLCCapacity |
uint8_t | reserved_0 | Reserved, must be initialized to zero |
struct SEFVirtualDeviceID | virtualDeviceID | Virtual Device for this notification |
uint32_t | numADUs | kReducedCapacity - Amount of space that is no longer available |