Commit Graph

261 Commits

Author SHA1 Message Date
Gary Lowell
e48859474c v0.52 2012-09-27 16:26:11 +00:00
Sage Weil
c03ca95d23 v0.51 2012-08-25 15:58:39 -07:00
Sage Weil
a4428bd0e1 v0.50 2012-08-13 09:49:24 -07:00
Sage Weil
ca6265d0f4 v0.49 2012-07-23 11:28:08 -07:00
Sage Weil
c2b20ca742 v0.48argonaut 2012-07-02 16:06:01 -07:00
Sage Weil
a85a15fef4 Merge remote-tracking branch 'gh/stable' into next 2012-06-21 08:20:17 -07:00
Sage Weil
c467d9d1b2 v0.47.3 2012-06-20 10:57:41 -07:00
Sage Weil
dde85a207c CrushTester: allow build without boost stuff for chi^2 testing
With limited functionality.

Signed-off-by: Sage Weil <sage@inktank.com>
2012-06-03 16:12:20 -07:00
Sage Weil
fbae60315d Merge branch 'stable' 2012-05-23 16:41:14 -07:00
Sage Weil
8bf9fde89b v0.47.2 2012-05-23 10:55:49 -07:00
Josh Durgin
0ae59eae3d Merge branch 'stable' 2012-05-22 12:54:09 -07:00
Sage Weil
f5a9404445 v0.47.1 2012-05-21 14:28:45 -07:00
Sage Weil
d8f4c6d208 Merge branch 'stable'
Conflicts:
	src/os/FileStore.cc
2012-05-20 21:18:36 -07:00
Sage Weil
ad663d58c8 v0.47 2012-05-20 15:33:49 -07:00
Sage Weil
89316566b5 remove gceph
Signed-off-by: Sage Weil <sage@inktank.com>
2012-05-17 20:23:33 -07:00
Yehuda Sadeh
53f642e29a rest-bench: build conditionally
added configure --with-rest-bench, and configure --with-system-libs3

Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
2012-05-04 15:55:25 -07:00
Sage Weil
cb7f1c9c75 v0.46 2012-04-30 10:55:45 -07:00
Sage Weil
0aea1cb1df v0.45 2012-04-10 10:42:11 -07:00
Sage Weil
d348e1abf8 configure: --with-system-leveldb
Default to bundled leveldb.  Optionally check.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2012-04-09 21:20:18 -07:00
Sage Weil
7951d7e442 Merge remote branch 'gh/stable' into next 2012-04-08 20:59:33 -07:00
Sage Weil
dd8fd1688a configure: HAVE_FALLOCATE -> CEPH_HAVE_FALLOCATE
/usr/include/linux/fs.h defines this on CentOS 5, even though it does not
in fact compile.  This stupid workaround avoids the problem.

Reported-by: Nick Couchman <Nick.Couchman@seakr.com>
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2012-04-08 20:58:59 -07:00
Sage Weil
689ac5d701 v0.44.2 2012-04-05 14:55:04 -07:00
Sage Weil
94e3abf88a Merge branch 'stable' 2012-03-27 19:58:54 -07:00
Sage Weil
c89b7f22c8 v0.44.1 2012-03-27 13:02:09 -07:00
Sage Weil
a608a8fef6 Merge branch 'stable' 2012-03-21 06:28:15 -07:00
Sage Weil
cdd5298d27 v0.44 2012-03-20 11:41:08 -07:00
Sage Weil
0904c7b73d configure: fix warnings
Finally!

Signed-off-by: Sage Weil <sage@newdream.net>
2012-03-16 10:39:39 -07:00
Yehuda Sadeh
d90298de18 ceph-dencoder: don't use rgw types if configured without rgw
Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
2012-03-13 17:04:01 -07:00
Sage Weil
ed6cc47b18 filestore: use FL_ALLOC_PUNCH_HOLE to zero, when available
First try the FL_ALLOC_PUNCH_HOLE fallocate() flag.  If we get EOPNOTSUPP,
fall back to writing zeros.

Check for fallocate(2) with configure.  Also, avoid this if we are not
Linux, since I'm not sure about the hard-coded FL_ALLOC_PUNCH_HOLE being
correct on other platforms.

Signed-off-by: Sage Weil <sage@newdream.net>
Reviewed-by: Samuel Just <samuel.just@dreamhost.com>
2012-03-08 14:30:06 -08:00
Florian Haas
c31b86963a OCF resource agents: add rbd
Add a resource agent for mapping, unmapping and monitoring RBD devices.

Maps an RBD on start, unmaps it on stop. Checks "rbd showmapped"
output for monitoring whether the device is mapped, thus does not
rely on the ceph-rbdnamer udev magic to be enabled.

This RA is cloneable and essentially allows people to use RBD devices
as a drop-in replacement for
- iSCSI devices,
- host-based mirrored devices using md RAID-1,
- DRBD devices
in Pacemaker clusters.
2012-03-05 21:30:30 +01:00
Sage Weil
38537ba74a Merge branch 'stable' 2012-03-02 13:45:03 -08:00
Sage Weil
9fa8781c01 v0.43 2012-03-02 08:53:30 -08:00
Samuel Just
d9b130faf0 Added LevelDBStore
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
2012-03-01 10:11:42 -08:00
Sage Weil
732f3ec94e v0.42.2 2012-02-24 13:00:39 -08:00
Sage Weil
c3e1291da9 v0.42.1 2012-02-23 18:48:57 -08:00
Sage Weil
b205c64c68 v0.42 2012-02-19 15:30:37 -08:00
Sage Weil
fb0e2a3ece configure: add --without-libaio option
Use it by default; fail if it's not there.  Unless --without-libaio is
specified.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2012-02-04 17:44:24 -08:00
Sage Weil
30a77acb07 filejournal: implement aio for writes
Implement aio for the journal writes.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2012-02-04 17:44:24 -08:00
Sage Weil
c1345f7136 v0.41 2012-01-27 12:35:42 -08:00
Sage Weil
7eea40ea37 v0.40 2012-01-13 08:36:13 -08:00
Kacper Kowalik (Xarthisius)
c9e028f4e5 Makefile: Handle corner case of crypto++ correctly
i.e. use c++ while compiling, append to CRYPTO_LIBS instead of LIBS

Signed-off-by: Kacper Kowalik (Xarthisius) <xarthisius@gentoo.org>
2012-01-12 09:17:42 -08:00
Kacper Kowalik (Xarthisius)
c5144eed4e Makefile: Use ACX_PTHREAD in configure.ac and resulting flags in src/Makefile.am
instead of hardcoded flags

Signed-off-by: Kacper Kowalik (Xarthisius) <xarthisius@gentoo.org>
2012-01-12 09:17:24 -08:00
Florian Haas
92cfad4203 Add OCF-compliant resource agent for Ceph daemons
Add a wrapper around the ceph init script that makes
MDS, OSD and MON configurable as Open Cluster Framework
(OCF) compliant cluster resources. Allows Ceph
daemons to tie in with cluster resource managers that
support OCF, such as Pacemaker (http://www.clusterlabs.org).

Disabled by default, configure --with-ocf to enable.

Signed-off-by: Florian Haas <florian@hastexo.com>
2011-12-30 09:00:30 -08:00
Sage Weil
321ecdaba2 v0.39 2011-12-02 09:01:31 -08:00
Sage Weil
2253c0168d use libuuid for fsid
Signed-off-by: Sage Weil <sage@newdream.net>
2011-11-11 20:48:59 -08:00
Sage Weil
fa5047b377 Merge remote branch 'gh/stable' 2011-11-10 20:50:31 -08:00
Sage Weil
b600ec2ac7 v0.38 2011-11-10 15:07:05 -08:00
Sage Weil
20cf1e96fb automake: enable 'make V=0'
Enables silent mode for automake generated Makefiles,
and silent mode is _off_ by default. Using V=0 the output
is much easier to read when trying to find warnings:

nwatkins@piha:~/Projects/ceph/ceph$ make -j8 V=0
make[3]: Entering directory `/users/nwatkins/Projects/ceph/ceph/src'
  CC     locks.o
  CXX    journal.o
  CXX    Server.o
  CXX    Mutation.o
  CXX    MDCache.o
  CXX    Locker.o
  CXX    Migrator.o
  CXX    MDBalancer.o
  CXX    CDentry.o
  CXX    CDir.o
  CXX    CInode.o
  CXX    LogEvent.o
  CXX    MDSTable.o

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2011-11-08 21:13:07 -08:00
Sage Weil
46f330d01c Merge branch 'master' into wip-freebsd 2011-10-25 14:54:16 -07:00
Sage Weil
a6f3bbb744 v0.37 2011-10-17 08:35:57 -07:00
Sage Weil
468c7dce79 rgw: find fcgi headers in /usr/include or /usr/include/fastcgi
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-10-10 19:11:45 -07:00
Stanislav Sedov
d4340bacfa On FreeBSD, libedit should be linked in explicitly, because this library
is present in the system, but it is not in the pkg-config database.

Signed-off-by:	Stanislav Sedov <stas@FreeBSD.org>
2011-10-04 19:03:55 -07:00
Stanislav Sedov
9fde4d946f First cut of FreeBSD support. This patch allowes ceph to compile successfully
under FreeBSD.

Signed-off-by:	Stanislav Sedov <stas@FreeBSD.org>
2011-10-04 17:34:41 -07:00
Sage Weil
877cacbbdb v0.36 2011-09-30 15:48:28 -07:00
Sage Weil
0afda37812 v0.35 2011-09-21 09:47:36 -07:00
Sage Weil
2f039eeeb7 v0.34 2011-08-26 21:48:47 -07:00
Sage Weil
340b4348bf v0.33 2011-08-17 09:16:27 -07:00
Sage Weil
c08d08baa6 v0.32 2011-07-29 21:44:23 -07:00
Colin Patrick McCabe
143e2dd5fe Don't build build tests unless requested
Build tests (that check if there are unresolved symbols in libraries)
can slow down the build a lot. We should only enable them when
developers need them.

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-07-13 16:12:40 -07:00
Sage Weil
9019c6ce64 v0.31 2011-07-08 14:17:40 -07:00
Sage Weil
64b1b2c70f v0.30 2011-06-27 22:23:56 -07:00
Sage Weil
ca4e2877af Merge branch 'stable' 2011-06-16 19:44:19 -07:00
Sage Weil
77d38e420b v0.29.1
Signed-off-by: Sage Weil <sage@newdream.net>
2011-06-16 13:10:59 -07:00
Sage Weil
954e09661f qa: do not use automake for workunit makefiles
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-14 12:53:33 -07:00
Sage Weil
71543246d3 configure: check for boost statechart header
Partially fixes: #1124
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-13 21:56:47 -07:00
Sage Weil
d5bba79ebb qa: move compiled workunits into organized directory
No need for a separate qa/src/ dir; just put them where we want them.  We
need to ignore non-executable files when doing the bulk runs anyway.

Signed-off-by: Sage Weil <sage@newdream.net>
2011-06-13 13:29:30 -07:00
Sage Weil
953bb605e6 qa: move compiled items into qa/src/ 2011-06-13 13:22:06 -07:00
Sage Weil
83a55f4dc7 Merge remote branch 'origin/stable'
Conflicts:
	src/dumpjournal.cc
2011-06-10 17:37:29 -07:00
Josh Durgin
2b5e01117e mds, mon, osd: with coverage enabled, exit(0) when SIGTERM is received
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
2011-06-09 17:43:41 -07:00
Josh Durgin
dfa4aeb8ae Merge remote branch 'origin/wip_gcov' 2011-06-07 13:57:28 -07:00
Josh Durgin
b32f00ebe3 coverage: add ceph-coverage to run something with the right GCOV_PREFIX_STRIP
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
2011-06-07 13:29:21 -07:00
Josh Durgin
24195b9c87 configure: add option for building with gcov coverage support
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
2011-06-07 12:02:40 -07:00
Sage Weil
8e69c39f69 v0.29 2011-06-06 11:09:28 -07:00
Sage Weil
23242045db v0.28.2 2011-05-28 09:14:31 -07:00
Sage Weil
d66c6ca19b v0.28.1 2011-05-23 21:11:44 -07:00
Sage Weil
071881d7e5 v0.28 2011-05-18 10:17:49 -07:00
Sage Weil
58ea8358a9 Merge branch 'stable'
Conflicts:
	src/mds/Resetter.cc
2011-05-05 15:24:48 -07:00
Sage Weil
44900d4c13 v0.27.1 2011-05-05 13:42:20 -07:00
Jim Schutt
9854e27f7e configure.ac: check for supported compiler flags
Ancient versions of gcc, such as the gcc 4.1.2 in RHEL 5.5, don't
support some -W flags that newer versions do.  Fix up configure.ac
and Makefile.am to use them if you have them.

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-04-26 15:37:44 -07:00
Sage Weil
793034c62c v0.27
Signed-off-by: Sage Weil <sage@newdream.net>
2011-04-22 16:52:04 -07:00
Sage Weil
4428d1ec3b Revert "Revert "autoconf: Complain if tcmalloc is not found.""
This reverts commit 05c281bfa9.

This should be okay now.
2011-04-19 12:05:36 -07:00
Sage Weil
879adb6190 Merge remote branch 'origin/stable'
Conflicts:
	src/osdc/Journaler.cc
2011-04-18 09:58:15 -07:00
Colin Patrick McCabe
e341fe0b18 osd: Use syncfs when available
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-04-13 13:45:20 -07:00
Sage Weil
9981ff9096 v0.26 2011-04-04 10:06:35 -07:00
Sage Weil
32e422e411 configure: change gtk dep to 2.12 instead of 2.13 for lenny 2011-04-04 10:06:35 -07:00
Sage Weil
05c281bfa9 Revert "autoconf: Complain if tcmalloc is not found."
This reverts commit a9afdca18e.

This breaks debian build on lenny because tcmalloc isn't part of libgoogle-perftools-dev.
2011-04-02 22:18:59 -07:00
Tommi Virtanen
bee85518e2 mount.ceph: Use kernel key management API when possible.
Backwards compatible with older kenrnels, for now.

Fixes: #852
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-03-29 12:55:17 -07:00
Yehuda Sadeh
44cf282038 Merge branch 'master' into rgw
Conflicts:

	debian/control
2011-03-21 14:14:38 -07:00
Sage Weil
55bb9ef821 configure: no ~
This confuses fedora and isn't really necessary.

Signed-off-by: Sage Weil <sage@newdream.net>
2011-03-18 14:47:09 -07:00
Colin Patrick McCabe
4db8801bba Makefile: check for new enough version of gtkmm
Versions older than 2.13 don't build, so check for that with automake.

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-03-17 17:50:07 -07:00
Yehuda Sadeh
8f2392b88f Merge commit 'origin/master' into rgw
Conflicts:

	src/Makefile.am
	src/rados.cc
	src/rgw/rgw_admin.cc
	src/rgw/rgw_main.cc
	src/rgw/rgw_rest.cc
2011-03-16 10:45:43 -07:00
Tommi Virtanen
289318777c autoconf: Fix typo that made --without-gtk2 not work.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-03-11 14:46:22 -08:00
Tommi Virtanen
5d0fa63aba autoconf: Handle --without-debug, --with-debug=junk properly.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-03-11 14:11:54 -08:00
Tommi Virtanen
5613e36784 autoconf: Handle --without-profiler, --with-profiler=junk properly.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-03-11 14:08:56 -08:00
Tommi Virtanen
bccffecb4a autoconf: If given --with-gtk2, not finding it is fatal.
Use --with-gtk2=check (default) if you're ok with both cases.

Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-03-11 13:56:58 -08:00
Tommi Virtanen
3424e3ac50 auth: Allow using NSS as crypto library.
Added new configure flag --with-nss that enables this. NSS is also
automatically used if it is available and CryptoPP is not; use
--without-nss to explicitly forbid this.

No change on rgw crypto yet; rgw won't build without CryptoPP for now.

NSS initialization is in a static constructor for now. All it does is
set some values on in-memory data structures, so as long as no (other)
static constructor tries to use it, everything should just work. While
this could be moved to common_init, there are several other context
initialization steps with NSS, and a later refactoring to share the
results of these can just include NSS init as its first operation, at
practically no cost.

Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-03-11 13:13:39 -08:00
Tommi Virtanen
a2c02d1799 autoconf: Complain if libatomic-ops is not found.
Use --without-libatomic-ops if you don't want it.

Fixes part of #826.

Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-03-11 13:09:13 -08:00
Tommi Virtanen
a9afdca18e autoconf: Complain if tcmalloc is not found.
Use --without-tcmalloc if you don't want it.

Fixes part of #826.

Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-03-11 13:09:13 -08:00
Tommi Virtanen
5df13bb02a autoconf: Complain if FUSE is not found.
Use --without-fuse if you don't want it.

Fixes part of #826.

Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-03-11 13:09:13 -08:00
Yehuda Sadeh
8c3133e5d4 configure: fix profiler check 2011-03-03 11:56:43 -08:00