From: Philipp Reisner <philipp.reisner@linbit.com>
To: linux-kernel@vger.kernel.org
Cc: Jens Axboe <jens.axboe@oracle.com>, Greg KH <gregkh@suse.de>,
Neil Brown <neilb@suse.de>,
James Bottomley <James.Bottomley@HansenPartnership.com>,
Andi Kleen <andi@firstfloor.org>, Sam Ravnborg <sam@ravnborg.org>,
Dave Jones <davej@redhat.com>,
Nikanth Karthikesan <knikanth@suse.de>,
"Lars Marowsky-Bree" <lmb@suse.de>,
"Nicholas A. Bellinger" <nab@linux-iscsi.org>,
Lars Ellenberg <lars.ellenberg@linbit.com>,
Philipp Reisner <philipp.reisner@linbit.com>
Subject: [PATCH 14/14] DRBD: final
Date: Fri, 10 Apr 2009 14:12:25 +0200 [thread overview]
Message-ID: <1239365545-10356-15-git-send-email-philipp.reisner@linbit.com> (raw)
In-Reply-To: <1239365545-10356-14-git-send-email-philipp.reisner@linbit.com>
Kconfig integration and Makefile
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
---
diff -uNrp linux-2.6.30-rc1/drivers/block/Kconfig linux-2.6.30-rc1-drbd/drivers/block/Kconfig
--- linux-2.6.30-rc1/drivers/block/Kconfig 2009-04-07 23:25:01.000000000 +0200
+++ linux-2.6.30-rc1-drbd/drivers/block/Kconfig 2009-04-10 13:13:43.178491859 +0200
@@ -271,6 +271,8 @@ config BLK_DEV_CRYPTOLOOP
instead, which can be configured to be on-disk compatible with the
cryptoloop device.
+source "drivers/block/drbd/Kconfig"
+
config BLK_DEV_NBD
tristate "Network block device support"
depends on NET
diff -uNrp linux-2.6.30-rc1/drivers/block/Makefile linux-2.6.30-rc1-drbd/drivers/block/Makefile
--- linux-2.6.30-rc1/drivers/block/Makefile 2009-04-07 23:25:01.000000000 +0200
+++ linux-2.6.30-rc1-drbd/drivers/block/Makefile 2009-04-10 13:13:43.166492009 +0200
@@ -37,3 +37,4 @@ obj-$(CONFIG_BLK_DEV_HD) += hd.o
obj-$(CONFIG_XEN_BLKDEV_FRONTEND) += xen-blkfront.o
swim_mod-objs := swim.o swim_asm.o
+obj-$(CONFIG_BLK_DEV_DRBD) += drbd/
diff -uNrp linux-2.6.30-rc1/drivers/block/drbd/Kconfig linux-2.6.30-rc1-drbd/drivers/block/drbd/Kconfig
--- linux-2.6.30-rc1/drivers/block/drbd/Kconfig 1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.30-rc1-drbd/drivers/block/drbd/Kconfig 2009-04-01 12:07:38.936194000 +0200
@@ -0,0 +1,37 @@
+#
+# DRBD device driver configuration
+#
+
+comment "DRBD disabled because PROC_FS, INET or CONNECTOR not selected"
+ depends on !PROC_FS || !INET || !CONNECTOR
+
+config BLK_DEV_DRBD
+ tristate "DRBD Distributed Replicated Block Device support"
+ depends on PROC_FS && INET && CONNECTOR
+ help
+
+ NOTE: In order to authenticate connections you have to select
+ CRYPTO_HMAC and a hash function as well.
+
+ DRBD is a shared-nothing, synchronously replicated block device. It
+ is designed to serve as a building block for high availability
+ clusters and in this context, is a "drop-in" replacement for shared
+ storage. Simplistically, you could see it as a network RAID 1.
+
+ Each minor device has a role, which can be 'primary' or 'secondary'.
+ On the node with the primary device the application is supposed to
+ run and to access the device (/dev/drbdX). Every write is sent to
+ the local 'lower level block device' and, across the network, to the
+ node with the device in 'secondary' state. The secondary device
+ simply writes the data to its lower level block device.
+
+ DRBD can also be used in dual-Primary mode (device writable on both
+ nodes), which means it can exhibit shared disk semantics in a
+ shared-nothing cluster. Needless to say, on top of dual-Primary
+ DRBD utilizing a cluster file system is necessary to maintain for
+ cache coherency.
+
+ For automatic failover you need a cluster manager (e.g. heartbeat).
+ See also: http://www.drbd.org/, http://www.linux-ha.org
+
+ If unsure, say N.
diff -uNrp linux-2.6.30-rc1/drivers/block/drbd/Makefile linux-2.6.30-rc1-drbd/drivers/block/drbd/Makefile
--- linux-2.6.30-rc1/drivers/block/drbd/Makefile 1970-01-01 01:00:00.000000000 +0100
+++ linux-2.6.30-rc1-drbd/drivers/block/drbd/Makefile 2009-04-10 13:13:43.058491920 +0200
@@ -0,0 +1,5 @@
+drbd-y := drbd_buildtag.o drbd_bitmap.o drbd_proc.o
+drbd-y += drbd_worker.o drbd_receiver.o drbd_req.o drbd_actlog.o
+drbd-y += lru_cache.o drbd_main.o drbd_strings.o drbd_nl.o
+
+obj-$(CONFIG_BLK_DEV_DRBD) += drbd.o
next prev parent reply other threads:[~2009-04-10 12:19 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-10 12:12 [PATCH 00/14] DRBD: a block device for HA clusters Philipp Reisner
2009-04-10 12:12 ` [PATCH 01/14] DRBD: major.h Philipp Reisner
2009-04-10 12:12 ` [PATCH 02/14] DRBD: lru_cache Philipp Reisner
2009-04-10 12:12 ` [PATCH 03/14] DRBD: activity_log Philipp Reisner
2009-04-10 12:12 ` [PATCH 04/14] DRBD: bitmap Philipp Reisner
2009-04-10 12:12 ` [PATCH 05/14] DRBD: request Philipp Reisner
2009-04-10 12:12 ` [PATCH 06/14] DRBD: userspace_interface Philipp Reisner
2009-04-10 12:12 ` [PATCH 07/14] DRBD: internal_data_structures Philipp Reisner
2009-04-10 12:12 ` [PATCH 08/14] DRBD: main Philipp Reisner
2009-04-10 12:12 ` [PATCH 09/14] DRBD: receiver Philipp Reisner
2009-04-10 12:12 ` [PATCH 10/14] DRBD: proc Philipp Reisner
2009-04-10 12:12 ` [PATCH 11/14] DRBD: worker Philipp Reisner
2009-04-10 12:12 ` [PATCH 12/14] DRBD: variable_length_integer_encoding Philipp Reisner
2009-04-10 12:12 ` [PATCH 13/14] DRBD: misc Philipp Reisner
2009-04-10 12:12 ` Philipp Reisner [this message]
2009-04-11 7:18 ` [PATCH 07/14] DRBD: internal_data_structures Bart Van Assche
2009-04-14 13:53 ` Philipp Reisner
2009-04-12 16:44 ` Bart Van Assche
2009-04-16 13:35 ` Philipp Reisner
2009-04-12 16:23 ` [PATCH 06/14] DRBD: userspace_interface Bart Van Assche
2009-04-17 13:24 ` Philipp Reisner
2009-04-14 2:33 ` Kyle Moffett
2009-04-22 10:31 ` Philipp Reisner
2009-04-16 7:06 ` [PATCH 05/14] DRBD: request Bart Van Assche
2009-04-16 15:32 ` Philipp Reisner
2009-04-10 12:24 ` [PATCH 02/14] DRBD: lru_cache Bart Van Assche
2009-04-14 11:54 ` Nikanth Karthikesan
2009-04-15 15:29 ` Philipp Reisner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1239365545-10356-15-git-send-email-philipp.reisner@linbit.com \
--to=philipp.reisner@linbit.com \
--cc=James.Bottomley@HansenPartnership.com \
--cc=andi@firstfloor.org \
--cc=davej@redhat.com \
--cc=gregkh@suse.de \
--cc=jens.axboe@oracle.com \
--cc=knikanth@suse.de \
--cc=lars.ellenberg@linbit.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lmb@suse.de \
--cc=nab@linux-iscsi.org \
--cc=neilb@suse.de \
--cc=sam@ravnborg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®