From: Sage Weil <sage@newdream.net>
To: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org,
greg@kroah.com
Cc: Sage Weil <sage@newdream.net>
Subject: [PATCH 21/21] ceph: Kconfig, Makefile
Date: Fri, 19 Jun 2009 15:31:42 -0700 [thread overview]
Message-ID: <1245450702-31343-22-git-send-email-sage@newdream.net> (raw)
In-Reply-To: <1245450702-31343-21-git-send-email-sage@newdream.net>
Kconfig options and Makefile.
Signed-off-by: Sage Weil <sage@newdream.net>
---
fs/staging/Kconfig | 2 ++
fs/staging/Makefile | 1 +
fs/staging/ceph/Kconfig | 14 ++++++++++++++
fs/staging/ceph/Makefile | 35 +++++++++++++++++++++++++++++++++++
4 files changed, 52 insertions(+), 0 deletions(-)
create mode 100644 fs/staging/ceph/Kconfig
create mode 100644 fs/staging/ceph/Makefile
diff --git a/fs/staging/Kconfig b/fs/staging/Kconfig
index 605d8ae..bed45e4 100644
--- a/fs/staging/Kconfig
+++ b/fs/staging/Kconfig
@@ -42,5 +42,7 @@ config FSSTAGING_EXCLUDE_BUILD
if !FSSTAGING_EXCLUDE_BUILD
+source "fs/staging/ceph/Kconfig"
+
endif # !FSSTAGING_EXCLUDE_BUILD
endif # FSSTAGING
diff --git a/fs/staging/Makefile b/fs/staging/Makefile
index 7ddeb16..38c9d39 100644
--- a/fs/staging/Makefile
+++ b/fs/staging/Makefile
@@ -3,3 +3,4 @@
# fix for build system bug...
obj-$(CONFIG_FSSTAGING) += fsstaging.o
+obj-$(CONFIG_CEPH_FS) += ceph/
\ No newline at end of file
diff --git a/fs/staging/ceph/Kconfig b/fs/staging/ceph/Kconfig
new file mode 100644
index 0000000..32090d3
--- /dev/null
+++ b/fs/staging/ceph/Kconfig
@@ -0,0 +1,14 @@
+config CEPH_FS
+ tristate "Ceph distributed file system (EXPERIMENTAL)"
+ depends on INET && EXPERIMENTAL
+ select LIBCRC32C
+ help
+ Choose Y or M here to include support for mounting the
+ experimental Ceph distributed file system. Ceph is an extremely
+ scalable file system designed to provide high performance,
+ reliable access to petabytes of storage.
+
+ More information at http://ceph.newdream.net/.
+
+ If unsure, say N.
+
diff --git a/fs/staging/ceph/Makefile b/fs/staging/ceph/Makefile
new file mode 100644
index 0000000..ba1e6a5
--- /dev/null
+++ b/fs/staging/ceph/Makefile
@@ -0,0 +1,35 @@
+#
+# Makefile for CEPH filesystem.
+#
+
+ifneq ($(KERNELRELEASE),)
+
+obj-$(CONFIG_CEPH_FS) += ceph.o
+
+ceph-objs := super.o inode.o dir.o file.o addr.o ioctl.o \
+ export.o caps.o snap.o \
+ messenger.o \
+ mds_client.o mdsmap.o \
+ mon_client.o \
+ osd_client.o osdmap.o crush/crush.o crush/mapper.o \
+ debugfs.o
+
+else
+#Otherwise we were called directly from the command
+# line; invoke the kernel build system.
+
+KERNELDIR ?= /lib/modules/$(shell uname -r)/build
+PWD := $(shell pwd)
+
+default: all
+
+all:
+ $(MAKE) -C $(KERNELDIR) M=$(PWD) CONFIG_CEPH_FS=m modules
+
+modules_install:
+ $(MAKE) -C $(KERNELDIR) M=$(PWD) CONFIG_CEPH_FS=m modules_install
+
+clean:
+ $(MAKE) -C $(KERNELDIR) M=$(PWD) clean
+
+endif
--
1.5.6.5
next prev parent reply other threads:[~2009-06-19 22:31 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-19 22:31 [PATCH 00/21] ceph: Ceph distributed file system client v0.9 Sage Weil
2009-06-19 22:31 ` [PATCH 01/21] fs: add fs/staging directory Sage Weil
2009-06-19 22:31 ` [PATCH 02/21] ceph: documentation Sage Weil
2009-06-19 22:31 ` [PATCH 03/21] ceph: on-wire types Sage Weil
2009-06-19 22:31 ` [PATCH 04/21] ceph: client types Sage Weil
2009-06-19 22:31 ` [PATCH 05/21] ceph: super.c Sage Weil
2009-06-19 22:31 ` [PATCH 06/21] ceph: inode operations Sage Weil
2009-06-19 22:31 ` [PATCH 07/21] ceph: directory operations Sage Weil
2009-06-19 22:31 ` [PATCH 08/21] ceph: file operations Sage Weil
2009-06-19 22:31 ` [PATCH 09/21] ceph: address space operations Sage Weil
2009-06-19 22:31 ` [PATCH 10/21] ceph: MDS client Sage Weil
2009-06-19 22:31 ` [PATCH 11/21] ceph: OSD client Sage Weil
2009-06-19 22:31 ` [PATCH 12/21] ceph: CRUSH mapping algorithm Sage Weil
2009-06-19 22:31 ` [PATCH 13/21] ceph: monitor client Sage Weil
2009-06-19 22:31 ` [PATCH 14/21] ceph: capability management Sage Weil
2009-06-19 22:31 ` [PATCH 15/21] ceph: snapshot management Sage Weil
2009-06-19 22:31 ` [PATCH 16/21] ceph: messenger library Sage Weil
2009-06-19 22:31 ` [PATCH 17/21] ceph: nfs re-export support Sage Weil
2009-06-19 22:31 ` [PATCH 18/21] ceph: ioctls Sage Weil
2009-06-19 22:31 ` [PATCH 19/21] ceph: debugging Sage Weil
2009-06-19 22:31 ` [PATCH 20/21] ceph: debugfs Sage Weil
2009-06-19 22:31 ` Sage Weil [this message]
2009-06-20 9:12 ` [PATCH 17/21] ceph: nfs re-export support Stefan Richter
2009-06-20 20:39 ` Sage Weil
2009-06-20 21:22 ` Stefan Richter
2009-06-19 22:44 ` [PATCH 00/21] ceph: Ceph distributed file system client v0.9 Greg KH
2009-06-19 23:15 ` Sage Weil
2009-06-19 23:20 ` Greg KH
2009-06-19 22:45 ` Greg KH
2009-06-19 22:54 ` Stephen Rothwell
2009-06-19 23:12 ` Sage Weil
2009-06-19 23:19 ` Greg KH
-- strict thread matches above, loose matches on Subject: below --
2009-09-22 17:38 [PATCH 00/21] ceph distributed file system client Sage Weil
2009-09-22 17:38 ` [PATCH 01/21] ceph: documentation Sage Weil
2009-09-22 17:38 ` [PATCH 02/21] ceph: on-wire types Sage Weil
2009-09-22 17:38 ` [PATCH 03/21] ceph: client types Sage Weil
2009-09-22 17:38 ` [PATCH 04/21] ceph: ref counted buffer Sage Weil
2009-09-22 17:38 ` [PATCH 05/21] ceph: super.c Sage Weil
2009-09-22 17:38 ` [PATCH 06/21] ceph: inode operations Sage Weil
2009-09-22 17:38 ` [PATCH 07/21] ceph: directory operations Sage Weil
2009-09-22 17:38 ` [PATCH 08/21] ceph: file operations Sage Weil
2009-09-22 17:38 ` [PATCH 09/21] ceph: address space operations Sage Weil
2009-09-22 17:38 ` [PATCH 10/21] ceph: MDS client Sage Weil
2009-09-22 17:38 ` [PATCH 11/21] ceph: OSD client Sage Weil
2009-09-22 17:38 ` [PATCH 12/21] ceph: CRUSH mapping algorithm Sage Weil
2009-09-22 17:38 ` [PATCH 13/21] ceph: monitor client Sage Weil
2009-09-22 17:38 ` [PATCH 14/21] ceph: capability management Sage Weil
2009-09-22 17:38 ` [PATCH 15/21] ceph: snapshot management Sage Weil
2009-09-22 17:38 ` [PATCH 16/21] ceph: messenger library Sage Weil
2009-09-22 17:38 ` [PATCH 17/21] ceph: message pools Sage Weil
2009-09-22 17:38 ` [PATCH 18/21] ceph: nfs re-export support Sage Weil
2009-09-22 17:38 ` [PATCH 19/21] ceph: ioctls Sage Weil
2009-09-22 17:38 ` [PATCH 20/21] ceph: debugfs Sage Weil
2009-09-22 17:38 ` [PATCH 21/21] ceph: Kconfig, Makefile Sage Weil
2009-10-05 22:50 [PATCH 00/21] ceph distributed file system client Sage Weil
2009-10-05 22:50 ` [PATCH 01/21] ceph: documentation Sage Weil
2009-10-05 22:50 ` [PATCH 02/21] ceph: on-wire types Sage Weil
2009-10-05 22:50 ` [PATCH 03/21] ceph: client types Sage Weil
2009-10-05 22:50 ` [PATCH 04/21] ceph: ref counted buffer Sage Weil
2009-10-05 22:50 ` [PATCH 05/21] ceph: super.c Sage Weil
2009-10-05 22:50 ` [PATCH 06/21] ceph: inode operations Sage Weil
2009-10-05 22:50 ` [PATCH 07/21] ceph: directory operations Sage Weil
2009-10-05 22:50 ` [PATCH 08/21] ceph: file operations Sage Weil
2009-10-05 22:50 ` [PATCH 09/21] ceph: address space operations Sage Weil
2009-10-05 22:50 ` [PATCH 10/21] ceph: MDS client Sage Weil
2009-10-05 22:50 ` [PATCH 11/21] ceph: OSD client Sage Weil
2009-10-05 22:50 ` [PATCH 12/21] ceph: CRUSH mapping algorithm Sage Weil
2009-10-05 22:50 ` [PATCH 13/21] ceph: monitor client Sage Weil
2009-10-05 22:50 ` [PATCH 14/21] ceph: capability management Sage Weil
2009-10-05 22:50 ` [PATCH 15/21] ceph: snapshot management Sage Weil
2009-10-05 22:50 ` [PATCH 16/21] ceph: messenger library Sage Weil
2009-10-05 22:50 ` [PATCH 17/21] ceph: message pools Sage Weil
2009-10-05 22:50 ` [PATCH 18/21] ceph: nfs re-export support Sage Weil
2009-10-05 22:50 ` [PATCH 19/21] ceph: ioctls Sage Weil
2009-10-05 22:50 ` [PATCH 20/21] ceph: debugfs Sage Weil
2009-10-05 22:50 ` [PATCH 21/21] ceph: Kconfig, Makefile Sage Weil
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=1245450702-31343-22-git-send-email-sage@newdream.net \
--to=sage@newdream.net \
--cc=greg@kroah.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).