Skip to contentSkip to conversation

Distributed storage. Core files.

PATCH In review Evgeniy Polyakov 1 participant 1 message Oct 18, 2007

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/3 Distributed storage. Core files.

drivers/block/Makefile +1 -0
index dd88e33..fcf042d 100644
@@ -29,3 +29,4 @@ obj-$(CONFIG_VIODASD)		+= viodasd.o
 obj-$(CONFIG_BLK_DEV_SX8)	+= sx8.o
 obj-$(CONFIG_BLK_DEV_UB)	+= ub.o
 
+obj-$(CONFIG_DST)		+= dst/
drivers/block/dst/Kconfig new file +20 -0
new file mode 100644
index 0000000..5bb9de8
@@ -0,0 +1,20 @@
+config DST
+	tristate "Distributed storage"
+	depends on NET
+	select CONNECTOR
+	---help---
+	This driver allows to create a distributed storage.
+
+config DST_ALG_LINEAR
+	tristate "Linear distribution algorithm"
+	depends on DST
+	---help---
+	This module allows to create linear mapping of the nodes
+	in the distributed storage.
+
+config DST_ALG_MIRROR
+	tristate "Mirror distribution algorithm"
+	depends on DST
+	---help---
+	This module allows to create a mirror of the noes in the
+	distributed storage.
drivers/block/dst/Makefile new file +6 -0
new file mode 100644
index 0000000..1400e94
@@ -0,0 +1,6 @@
+obj-$(CONFIG_DST) += dst.o
+
+dst-y := dcore.o kst.o
+
+obj-$(CONFIG_DST_ALG_LINEAR) += alg_linear.o
+obj-$(CONFIG_DST_ALG_MIRROR) += alg_mirror.o
drivers/block/dst/dcore.c new file +1533 -0

1,533 lines not on this page · raw message

Signature · 1 line
	Evgeniy Polyakov