ublk-org / ublksrv

ublk: userspace block device driver
MIT License
138 stars 47 forks source link

Targeted improvements for failure paths (error messages, cleanup) #26

Closed reubeno closed 1 year ago

reubeno commented 1 year ago

While experimenting with this project, I encountered some errors (most were user error on my part). I've put together this batch of targeted changes to add more detail to some of the error messages I encountered, and to address issues with potential leaks and uninitialized variables that I encountered in other cases.

Specifically:

Please do let me know if you'd prefer that any of this get split up into separate changes, or really any feedback you have. I'm new to using this project and looking to learn. (Thanks!)