Skip to content

Commit

Permalink
config: select BLK_DEV_NBD as module
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
kelsey-steele authored and sileshn committed Apr 3, 2024
1 parent 09bc6d9 commit 4ca0ed4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/arm64/configs/config-wsl-arm64
Original file line number Diff line number Diff line change
Expand Up @@ -1710,7 +1710,7 @@ CONFIG_BLK_DEV=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_LOOP_MIN_COUNT=8
# CONFIG_BLK_DEV_DRBD is not set
# CONFIG_BLK_DEV_NBD is not set
CONFIG_BLK_DEV_NBD=m
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=16
CONFIG_BLK_DEV_RAM_SIZE=65536
Expand Down
2 changes: 1 addition & 1 deletion arch/x86/configs/config-wsl
Original file line number Diff line number Diff line change
Expand Up @@ -1751,7 +1751,7 @@ CONFIG_BLK_DEV=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_LOOP_MIN_COUNT=8
# CONFIG_BLK_DEV_DRBD is not set
# CONFIG_BLK_DEV_NBD is not set
CONFIG_BLK_DEV_NBD=m
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=16
CONFIG_BLK_DEV_RAM_SIZE=65536
Expand Down

0 comments on commit 4ca0ed4

Please sign in to comment.