Distributed STorage.
Subsystems (4)
Hi.
I am pleased to announce new Distributed STorage (DST) project release.
Distributed storage was completely rewritten from scratch recenly. I dropped essentially mirrored features of the device mapper in favour of the more robust block io processing and effective protocol.
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). Not used currently though.
* Ability to use any supported cryptographically strong checksums. Ability to encrypt data channel.
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/
drivers/block/Kconfig +2 -0
@@ -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
@@ -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 +18 -0
@@ -0,0 +1,18 @@ +menuconfig DST + tristate "Distributed storage" + depends on NET + select CONNECTOR + select LIBCRC32C + ---help--- + This driver allows to create a distributed storage block device. + +if DST + +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. + +endif # DST
drivers/block/dst/Makefile new file +3 -0
@@ -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 +767 -0
767 lines not on this page · raw message
drivers/block/dst/dcore.c new file +793 -0
793 lines not on this page · raw message
drivers/block/dst/export.c new file +543 -0
543 lines not on this page · raw message
drivers/block/dst/state.c new file +738 -0
738 lines not on this page · raw message
drivers/block/dst/thread_pool.c new file +302 -0
127 lines not on this page · raw message
drivers/block/dst/trans.c new file +288 -0
288 lines not on this page · raw message
include/linux/dst.h new file +431 -0
431 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
Evgeniy Polyakov
Part of the diff is not shown here. View the raw message.