Data Fields | |
uint64_t | nc |
This is a 64-bit incrementing notification count, indicating a unique identifier for this notification. More... | |
uint64_t | lba |
This field points to the chunk that has its state updated. | |
uint32_t | nsid |
This field indicates the namespace id that the event is associated with. | |
struct { | |
uint8_t error_rate_low: 1 | |
If set to 1, then the error rate of the chunk has been changed to low. | |
uint8_t error_rate_medium: 1 | |
If set to 1, then the error rate of the chunk has been changed to medium. | |
uint8_t error_rate_high: 1 | |
If set to 1, then the error rate of the chunk has been changed to high. | |
uint8_t unrecoverable: 1 | |
If set to 1, then the error rate of the chunk has been changed to unrecoverable. | |
uint8_t refreshed: 1 | |
If set to 1, then the chunk has been refreshed by the device. | |
uint8_t rsvd: 3 | |
uint8_t wit_exceeded: 1 | |
If set to 1 then the chunk's wear-level index is outside the average wear-level index threshold defined by the controller. | |
uint8_t rsvd2: 7 | |
} | state |
Field that indicate the state of the block. | |
struct { | |
uint8_t lblk: 1 | |
If set to 1, the LBA covers the logical block. | |
uint8_t chunk: 1 | |
If set to 1, the LBA covers the respecting chunk. | |
uint8_t pu: 1 | |
If set to 1, the LBA covers the respecting parallel unit including all chunks. | |
uint8_t rsvd: 5 | |
} | mask |
The address provided is covering either logical block, chunk, or parallel unit. | |
uint16_t | nlb |
This field indicates the number of logical chunks to be written. More... | |
uint64_t spdk_ocssd_chunk_notification_entry::nc |
This is a 64-bit incrementing notification count, indicating a unique identifier for this notification.
The counter begins at 1h and is incremented for each unique event
uint16_t spdk_ocssd_chunk_notification_entry::nlb |
This field indicates the number of logical chunks to be written.
This is a 0's based value. This field is only valid if mask bit 0 is set. The number of blocks addressed shall not be outside the boundary of the specified chunk.