snu-csl / nvmevirt

NVMeVirt: A Versatile Software-defined Virtual NVMe Device
Other
172 stars 52 forks source link

ZNS initialization fixes #7

Closed arter97 closed 1 year ago

arter97 commented 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.

beowulf commented 1 year ago

We deeply appreciate @arter97 for the fixing and improving.