metal-toolbox / ironlib

Vendor neutral hardware in-band library
Apache License 2.0
4 stars 3 forks source link

More refactors, fixes, etc #141

Closed mmlb closed 5 months ago

mmlb commented 5 months ago

I've split these commits out from #136 where they came up. The commits here are grouped into fixes and qol stuff. The QoL stuff are changes to Executor and some missed code comments/fixes to nvme that were meant to go in during #129.

The other big chunk of changes is to utils/watermark where I ran into incorrect params to rand.Int that would cause us to seek to a negative position. I fixed that and added some documentation and renamed some variables for clarity. Also tweaked the tests a little and added a new test case.

mmlb commented 5 months ago

depends on #137