Skip to content

Commit 50ddd59

Browse files
kelsey-steelechessturo
authored andcommitted
config: select BLK_DEV_NBD as module
Enable BLK_DEV_NBD as module to allow computer to be a client for network block devices, i.e. it will be able to use block devices exported by servers (mount file systems on them etc.). Communication between client and server works over TCP/IP networking, but to the client program this is hidden: it looks like a regular local file access to a block device special file such as /dev/nd0. Network block devices also allows you to run a block-device in userland (making server and client physically the same computer, communicating using the loopback network device). Module will be called nbd. Signed-off-by: Kelsey Steele <kelseysteele@microsoft.com>
1 parent 9fa71af commit 50ddd59

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

arch/arm64/configs/config-wsl-arm64

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1674,7 +1674,7 @@ CONFIG_BLK_DEV_LOOP=y
16741674
CONFIG_BLK_DEV_LOOP_MIN_COUNT=8
16751675
# CONFIG_BLK_DEV_CRYPTOLOOP is not set
16761676
# CONFIG_BLK_DEV_DRBD is not set
1677-
# CONFIG_BLK_DEV_NBD is not set
1677+
CONFIG_BLK_DEV_NBD=m
16781678
CONFIG_BLK_DEV_RAM=y
16791679
CONFIG_BLK_DEV_RAM_COUNT=16
16801680
CONFIG_BLK_DEV_RAM_SIZE=65536

arch/x86/configs/config-wsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1685,7 +1685,7 @@ CONFIG_BLK_DEV_LOOP=y
16851685
CONFIG_BLK_DEV_LOOP_MIN_COUNT=8
16861686
# CONFIG_BLK_DEV_CRYPTOLOOP is not set
16871687
# CONFIG_BLK_DEV_DRBD is not set
1688-
# CONFIG_BLK_DEV_NBD is not set
1688+
CONFIG_BLK_DEV_NBD=m
16891689
CONFIG_BLK_DEV_RAM=y
16901690
CONFIG_BLK_DEV_RAM_COUNT=16
16911691
CONFIG_BLK_DEV_RAM_SIZE=65536

0 commit comments

Comments
 (0)