Skip to content

Commit 59da53f

Browse files
driver: drop NBD implementation (moved to libwnbd)
Now that the nbd client implementation has been moved to libwnbd, we can drop it from the driver. We're keeping the WNBD_PROPERTIES structure mostly the same for backwards compatibility reasons, except for a small change: we're adding a separate flag to advertise the userspace nbd client in order to avoid incorrect behavior with older driver versions (e.g. having both libwnbd and the driver attempt to initiate NBD connections). The WNBD tests and CLI client are updated to use the libwnbd NBD client implementation. One thing to note here is that the "wnbd-client map" now becomes a blocking command, running the daemon in background. Signed-off-by: Lucian Petrut <[email protected]>
1 parent 40a9761 commit 59da53f

30 files changed

+155
-3432
lines changed

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ Folders
5252
* [Dockerfile](Dockerfile/) a Dockerfile providing the build prerequisites
5353
* [driver](driver/) the driver sources
5454
* [include](include/) public headers
55-
* [ksocket_wsk](ksocket_wsk/) a WSK wrapper used to communicate with the Network Block Device server
5655
* [wnbd-client](wnbd-client/) the WNBD CLI
5756
* [libwnbd](libwbd/) ``libwnbd.dll`` - the WNBD userspace library
5857
* [vstudio](vstudio/) the Visual Studio solution file and its projects

driver/nbd_dispatch.c

-316
This file was deleted.

driver/nbd_dispatch.h

-17
This file was deleted.

0 commit comments

Comments
 (0)