Skip to contentSkip to conversation

Distributed storage maintenance release.

PATCH Evgeniy Polyakov 1 participant 1 message Sep 12, 2008

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

Hi.

I am pleased to announce new Distributed Storage (DST) project release. This is a maintenance only release which fixes reported bugs.

DST is a block layer network device, which among others has following features:

* Kernel-side client and server. No need for any special tools for data processing (like special userspace applications) except for configuration.
* Bullet-proof memory allocations via memory pools for all temporary objects (transaction and so on).
* Zero-copy sending (except header) if supported by device using sendpage().
* Failover recovery in case of broken link
(reconnection if remote node is down).
* Full transaction support (resending of the failed transactions on timeout of after reconnect to failed node).
* Dynamically resizeable pool of threads used for data receiving and crypto processing.
* Initial autoconfiguration. Ability to extend it with additional attributes if needed.
* Support for any kind of network media (not limited to tcp or inet protocols) higher MAC layer (socket layer). Out of the box kernel-side IPv6 support (needs to extend configuration utility, check how it was done in POHMELFS [1]).
* Security attributes for local export nodes (list of allowed to connect addresses with permissions).
* Ability to use any supported cryptographically strong checksums. Ability to encrypt data channel.

This release brings following changes:
* memory leak in crypto thread initialization error path. Noticed by Sven Wegener <[email protected]>
* unprotected tree access (exceptionally stupid bug, I was made blind by the electronic equipment), and tricky bug_on catch in scsi code caused by incorrect bio flag initialization in the exporting node. 64bit alignment fix.
Bugs reported by Rémy Ritchen <[email protected]>
* couple of bogus compilation warnings about unintialized variables cought by different compiler.
* allow both hread and write permission, not only read or write in security config.

One can grab sources (various configuration examples can be found in 'userspace' dir) from archive, or via kernel and userspace GIT trees.

1. POHMELFS homepage.
http://tservice.net.ru/~s0mbre/old/?section=projects&item=pohmelfs

2. DST homepage.
http://tservice.net.ru/~s0mbre/old/?section=projects&item=dst

3. DST archive.
http://tservice.net.ru/~s0mbre/archive/dst/

4. DST git trees.
http://tservice.net.ru/~s0mbre/archive/dst/dst.git/
http://tservice.net.ru/~s0mbre/archive/dst/dst-userspace.git/

5. GIT web interface.
http://tservice.net.ru/~s0mbre/cgi-bin/gitweb.cgi

drivers/block/Kconfig +2 -0
index 0d1d213..56a64fe 100644
@@ -433,4 +433,6 @@ config VIRTIO_BLK
 	  This is the virtual block driver for virtio.  It can be used with
           lguest or QEMU based VMMs (like KVM or Xen).  Say Y or M.
 
+source "drivers/block/dst/Kconfig"
+
 endif # BLK_DEV
drivers/block/Makefile +2 -0
index 5e58430..26bcf8a 100644
@@ -31,3 +31,5 @@ obj-$(CONFIG_BLK_DEV_SX8)	+= sx8.o
 obj-$(CONFIG_BLK_DEV_UB)	+= ub.o
 
 obj-$(CONFIG_XEN_BLKDEV_FRONTEND)	+= xen-blkfront.o
+
+obj-$(CONFIG_DST)	+= dst/
drivers/block/dst/Kconfig new file +14 -0
new file mode 100644
index 0000000..2f42f98
@@ -0,0 +1,14 @@
+config DST
+	tristate "Distributed storage"
+	depends on NET
+	select CONNECTOR
+	select LIBCRC32C
+	---help---
+	This driver allows to create a distributed storage block device.
+
+config DST_DEBUG
+	bool "DST debug"
+	depends on DST
+	---help---
+	This option will turn HEAVY debugging of the DST.
+	Turn it on ONLY if you have to debug some really obscure problem.
drivers/block/dst/Makefile new file +3 -0
new file mode 100644
index 0000000..526fc62
@@ -0,0 +1,3 @@
+obj-$(CONFIG_DST) += dst.o
+
+dst-y := dcore.o state.o export.o thread_pool.o crypto.o trans.o
drivers/block/dst/crypto.c new file +680 -0

680 lines not on this page · raw message

drivers/block/dst/dcore.c new file +833 -0

833 lines not on this page · raw message

drivers/block/dst/export.c new file +591 -0

591 lines not on this page · raw message

drivers/block/dst/state.c new file +757 -0

757 lines not on this page · raw message

drivers/block/dst/thread_pool.c new file +306 -0

111 lines not on this page · raw message

drivers/block/dst/trans.c new file +298 -0

298 lines not on this page · raw message

include/linux/connector.h +3 -1
index 96a89d3..cfc5ce7 100644

Lines of this file are not shown. View the raw message.

include/linux/dst.h new file +432 -0

432 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 5 lines
	Evgeniy Polyakov
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Part of the diff is not shown here. View the raw message.