Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753171AbYKYOsu (ORCPT ); Tue, 25 Nov 2008 09:48:50 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751799AbYKYOsc (ORCPT ); Tue, 25 Nov 2008 09:48:32 -0500 Received: from cavolo.yandex.ru ([87.250.244.45]:5226 "EHLO cavolo.yandex.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751480AbYKYOsa (ORCPT ); Tue, 25 Nov 2008 09:48:30 -0500 X-Greylist: delayed 867 seconds by postgrey-1.27 at vger.kernel.org; Tue, 25 Nov 2008 09:48:30 EST From: Evgeniy Polyakov To: Andrew Morton Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-fsdevel@vger.kernel.org, Evgeniy Polyakov Subject: [resend take 3 4/4] DST Makefile/Kconfig files. Date: Tue, 25 Nov 2008 17:37:50 +0300 Message-Id: <12276238751973-git-send-email-zbr@ioremap.net> X-Mailer: git-send-email 1.5.2.5 In-Reply-To: <12276238742680-git-send-email-zbr@ioremap.net> References: <12276238703113-git-send-email-zbr@ioremap.net> <1227623874638-git-send-email-zbr@ioremap.net> <12276238741618-git-send-email-zbr@ioremap.net> <12276238742680-git-send-email-zbr@ioremap.net> X-Antivirus: Dr.Web (R) for Mail Servers on cavolo.yandex.ru host X-Antivirus-Code: 100000 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1712 Lines: 57 Signed-off-by: Evgeniy Polyakov diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig index 61ad8d6..2a92cd8 100644 --- a/drivers/block/Kconfig +++ b/drivers/block/Kconfig @@ -445,4 +445,6 @@ config BLK_DEV_HD If unsure, say N. +source "drivers/block/dst/Kconfig" + endif # BLK_DEV diff --git a/drivers/block/Makefile b/drivers/block/Makefile index 204332b..6400de0 100644 --- a/drivers/block/Makefile +++ b/drivers/block/Makefile @@ -32,3 +32,5 @@ obj-$(CONFIG_BLK_DEV_UB) += ub.o obj-$(CONFIG_BLK_DEV_HD) += hd.o obj-$(CONFIG_XEN_BLKDEV_FRONTEND) += xen-blkfront.o + +obj-$(CONFIG_DST) += dst/ diff --git a/drivers/block/dst/Kconfig b/drivers/block/dst/Kconfig new file mode 100644 index 0000000..507dba8 --- /dev/null +++ b/drivers/block/dst/Kconfig @@ -0,0 +1,14 @@ +config DST + tristate "Distributed storage" + depends on NET && CRYPTO && SYSFS + 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. diff --git a/drivers/block/dst/Makefile b/drivers/block/dst/Makefile new file mode 100644 index 0000000..3a8b0cf --- /dev/null +++ b/drivers/block/dst/Makefile @@ -0,0 +1,3 @@ +obj-$(CONFIG_DST) += nst.o + +nst-y := dcore.o state.o export.o thread_pool.o crypto.o trans.o -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/