Closed arter97 closed 1 year ago
The existing get_log_page implementation can trigger malfunctions, especially under the ZNS configuration.
This PR addresses it by fixing memory accesses and implementing NVME_LOG_CMD_EFFECTS required by Linux's NVMe device driver.
Also, off-by-one memory allocation issue has been addressed.
I believe this will fix #6.
Thanks.
We deeply appreciate @arter97 for the fixing and improving.
The existing get_log_page implementation can trigger malfunctions, especially under the ZNS configuration.
This PR addresses it by fixing memory accesses and implementing NVME_LOG_CMD_EFFECTS required by Linux's NVMe device driver.
Also, off-by-one memory allocation issue has been addressed.
I believe this will fix #6.
Thanks.