cloudbase / wnbd

Windows Ceph RBD NBD driver
GNU Lesser General Public License v2.1
58 stars 26 forks source link

Update WNBD API #12

Closed petrutlucian94 closed 4 years ago

petrutlucian94 commented 4 years ago

Update WNBD API

We're updating the WNBD driver interface, adding an alternative to the NBD protocol, which doesn't perform well enough (mostly due to WSK, especially on Windows Server 2016).

The new interface is also meant to be more consistent, easier to extend and less NBD centric.

To make it easier to consume, we're adding a library (wnbd.dll). It provides a low level API (the Ioctl functions), along with a high level API that can handle request dispatching.

aserdean commented 4 years ago

Thank you for all the changes. The performance increase is substantial and overall stability looks good.

I managed to do a first round of tests on 2012, 2012 R2, 2016 and 2019.

There might be a few more things to iron out but let's address them in future changes and get the bulk in.