Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0f0f1fa0 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "vservices: block: add the block protocol and drivers"

parents a46665bb b5232376
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
@@ -482,3 +482,23 @@ config BLK_DEV_RSXX
	  module will be called rsxx.

endif # BLK_DEV

config VSERVICES_BLOCK_SERVER
	tristate "Virtual Services block server"
	depends on BLOCK && VSERVICES_SUPPORT && VSERVICES_SERVER
	default y
	select VSERVICES_PROTOCOL_BLOCK_SERVER
	help
	  Select this option if you want support for server side Virtual
	  Services block. This allows any Linux block device to be
	  virtualized and exported as a virtual service.

config VSERVICES_BLOCK_CLIENT
	tristate "Virtual Services Block client device"
	depends on BLOCK && VSERVICES_SUPPORT && VSERVICES_CLIENT
	default y
	select VSERVICES_PROTOCOL_BLOCK_CLIENT
	help
	  Select this option if you want support for client side Virtual
	  Services block devices. The virtual block devices are typically
	  named /dev/vblock0, /dev/vblock1, etc.
+5 −0
Original line number Diff line number Diff line
@@ -44,3 +44,8 @@ null_blk-$(CONFIG_BLK_DEV_ZONED) += null_blk_zoned.o

skd-y		:= skd_main.o
swim_mod-y	:= swim.o swim_asm.o

obj-$(CONFIG_VSERVICES_BLOCK_SERVER)     += vs_block_server.o
CFLAGS_vs_block_server.o += -Werror
obj-$(CONFIG_VSERVICES_BLOCK_CLIENT)     += vs_block_client.o
CFLAGS_vs_block_client.o += -Werror
+956 −0

File added.

Preview size limit exceeded, changes collapsed.

+1180 −0

File added.

Preview size limit exceeded, changes collapsed.

+17 −0
Original line number Diff line number Diff line
@@ -5,6 +5,23 @@
if VSERVICES_SERVER || VSERVICES_CLIENT

menu "Protocol drivers"
config VSERVICES_PROTOCOL_BLOCK
	bool

config VSERVICES_PROTOCOL_BLOCK_SERVER
	tristate "Block server protocol"
	depends on VSERVICES_SUPPORT && VSERVICES_SERVER
	select VSERVICES_PROTOCOL_BLOCK
	help
	  This option adds support for Virtual Services block protocol server.

config VSERVICES_PROTOCOL_BLOCK_CLIENT
	tristate "Block client protocol"
	depends on VSERVICES_SUPPORT && VSERVICES_CLIENT
	select VSERVICES_PROTOCOL_BLOCK
	help
	  This option adds support for Virtual Services block protocol client.

config VSERVICES_PROTOCOL_SERIAL
	bool

Loading