Commit Graph

203 Commits

Author SHA1 Message Date
Hannu Valtonen
8284b6b08c Add python bindings for rados
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-02-09 09:40:28 -08:00
Sage Weil
dba7c1fd46 Merge branch 'testing' into unstable
Conflicts:
	configure.ac
	src/Makefile.am
	src/common/common_init.cc
	src/common/debug.h
	src/common/signal.cc
	src/config.cc
	src/mon/MDSMonitor.cc
	src/msg/SimpleMessenger.cc
	src/osd/OSD.cc
	src/osd/ReplicatedPG.cc
2011-01-25 08:50:58 -08:00
Sage Weil
f7572de5cb v0.24.2 2011-01-24 12:53:22 -08:00
Colin Patrick McCabe
ffb208e343 Makefile: use new Spirit headers where available
Use new boost::spirit header files where available, to eliminate the
annoying compiler warning on newer systems.

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-01-24 07:44:48 -08:00
Colin Patrick McCabe
76a1e09a68 Makefile: remove unecessary header check
We already check for libcrypto++ using PKG_CHECK_MODULES; we don't need
to fish for header files.

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-01-24 07:44:48 -08:00
Colin Patrick McCabe
f1d7af97f3 workunits: add direct_io_test
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-01-20 10:46:55 -08:00
Colin Patrick McCabe
9077fa5aea automake: check for libedit
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-01-18 02:51:59 -08:00
Sage Weil
6f946c869c Merge branch 'testing' into unstable
Conflicts:
	src/mds/journal.cc
2011-01-17 13:38:06 -08:00
Greg Farnum
a93b970ab1 C_Gather: Set debug #ifdefs to remove set.
This way when we're confident it works right, we can
remove the set<Context*> and just rely on ref counting.

Further optimizations would include using a spinlock
rather than a mutex, or possibly even just switching
sub_[created|existing]_count to be atomics.

Signed-off-by: Greg Farnum <gregf@hq.newdream.net>
2011-01-14 16:12:32 -08:00
Sage Weil
f650e3dac1 Merge branch 'testing' into unstable
Conflicts:
	configure.ac
2011-01-13 13:24:52 -08:00
Tommi Virtanen
9b0d577696 Use Google Test framework for unit tests.
Use ``make check`` to run the tests.

The src/gtest directory comes from ``svn export
http://googletest.googlecode.com/svn/tags/release-1.5.0 src/gtest``
and running "git add -f src/gtest".

gtest is licensed under the New BSD license, see src/gtest/COPYING.
For more on Google Test, see http://code.google.com/p/googletest/

Changed autogen.sh regenerate gtest automake files too. Make sure to
run ``./autogen.sh && ./configure`` after merging this commit, or
incremental builds may fail. The automake integration is inspired
heavily by the protobuf project, and may still be problematic.

Make git ignore files generated by gtest compilation.

Currently putting in just one new-style unit test, refactoring old
tests to fit will come in separate commits.

Note: if you are starting daemons, listening on TCP ports, using
multiple machines, mounting filesystems, etc, it's not a unit test
and does not belong in this setup. A framework for system/integration
tests will be provided later.
2011-01-10 15:19:45 -08:00
Sage Weil
630565f3ac v0.24.1 2011-01-07 16:50:15 -08:00
Sage Weil
7e83b570e4 Merge branch 'testing' into unstable
Conflicts:
	configure.ac
2011-01-03 10:24:47 -08:00
Sage Weil
180a417603 v0.24 2010-12-20 15:58:09 -08:00
Sage Weil
46242586ed Merge branch 'gceph' into unstable 2010-12-11 08:04:09 -08:00
Yehuda Sadeh
87545d0620 configure: detect crypto++ library 2010-12-06 15:25:34 -08:00
Yehuda Sadeh
f2424dfbd5 rgw: get rid of openssl altogether 2010-12-03 19:34:37 -08:00
Yehuda Sadeh
a28b449439 configure: check for the presence of libcrypto++ header files 2010-12-03 19:34:37 -08:00
Sage Weil
fe9fad7bea v0.25~rc 2010-11-30 16:25:50 -08:00
Jim Schutt
b54880e0f9 Detect broken system linux/fiemap.h
RedHat 5.5 has a /usr/include/linux/fiemap.h, but it is
broken because it does not itself include linux/types.h.
As a result, __u64 and friends are not defined.

We have a Ceph-local copy of fiemap.h, so use it
if the system version is broken.

While we're at it, fix up the configure message to
note we're using a local copy.

Signed-off-by: Jim Schutt <jaschut@sandia.gov>
Signed-off-by: Sage Weil <sage@newdream.net>
2010-11-17 12:48:00 -08:00
Sage Weil
f8b3271f45 Merge branch 'rc' into unstable
Conflicts:
	configure.ac
	src/Makefile.am
2010-11-11 14:28:18 -08:00
Sage Weil
5d1d8d0c46 v0.23 2010-11-10 21:18:37 -08:00
Sage Weil
53b076d5fb Merge remote branch 'origin/rbd-fiemap' into unstable 2010-11-09 14:23:12 -08:00
Kacper Kowalik
1c7d8f1ac2 Makefile: use openssl module check
This allows ceph to build with --as-needed.

Signed-off-by: Kacper Kowalik <xarthisius@gentoo.org>
2010-11-09 13:30:15 -08:00
Sage Weil
deb9ef760e v0.24~rc 2010-11-07 09:44:04 -08:00
Colin Patrick McCabe
9f86a79d71 configure.ac: default to --enable-gtk
Default to enabling gtk rather than disabling it. Gracefully handle
cases where the user tries to enable it but it cannot be enabled.

Makefile.am: Add missing headers to noinst_HEADERS.

Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
2010-10-29 12:40:15 -07:00
Michael McThrow
65fbd2ec93 Add the Ceph monitoring GUI
This adds a graphical monitoring mode to the ceph cluster monitoring tool.  Its
functionality is similar to ./ceph -w. With ./ceph -g, you can watch over the
whole cluster graphically. It uses GTK2.

Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
2010-10-28 15:51:19 -07:00
Colin Patrick McCabe
a14dd819a4 configure.ac: add ./configure option for gtk2
Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
2010-10-26 20:59:01 -07:00
Sage Weil
2ed57d2a6d Merge remote branch 'origin/testing' into unstable
Conflicts:
	configure.ac
	src/rados.cc
2010-10-26 12:04:17 -07:00
Sage Weil
e912e686de v0.22.1 2010-10-23 10:49:50 -07:00
Sage Weil
8a7c95f60a v0.22 2010-10-15 15:34:44 -07:00
Sage Weil
430377be32 v0.23~rc (new unstable branch) 2010-10-06 14:33:21 -07:00
Greg Farnum
fc37591522 tcmalloc: add support for tcmalloc.
Right now it's only used on the MDS and OSD, but it can be added to mons too.
2010-08-06 15:02:26 -07:00
Yehuda Sadeh
823c36c290 autoconf: detect existence of linux/fiemap.h 2010-08-05 17:19:16 -07:00
Sage Weil
f3ac22ab17 bump unstable version to v0.22~rc 2010-07-29 09:38:50 -07:00
Sage Weil
090436f56a v0.21 2010-07-29 09:37:16 -07:00
Christian Brunner
f5c4fc61b6 fix FCGI detection and specfile
configure is building radosgw as soon as libfcgi is installed, even
if --without-radosgw is given. Here is a fix for configure.in and the
specfile.

Regards,
Christian

Signed-off-by: Sage Weil <sage@newdream.net>
2010-07-09 13:51:14 -07:00
Sage Weil
33bf1a2bc2 version: use next version ~rc for unstable branch
This makes unstable always sort after stable, testing releases:
  0.21~rc-unstable... > 0.20.1-testing...
2010-05-14 09:14:00 -07:00
Sage Weil
a846236ba5 configure: remove second AM_INIT_AUTOMAKE line 2010-04-28 15:55:22 -07:00
Greg Farnum
282b242828 atomic: reverse if test so we don't break things on separately-compiled librados 2010-04-23 15:13:35 -07:00
Sage Weil
5b6cfff36d Merge branch 'atomic' into unstable 2010-04-23 14:22:41 -07:00
Sage Weil
756b251bac v0.20 2010-04-23 12:10:24 -07:00
Jim Schutt
65ec0241ab autoconf: Fix detection of sync_file_range.
Without this patch, on CentOS 5.4 ./configure reports that
sync_file_range is missing, but HAVE_SYNC_FILE_RANGE ends
up being defined in src/acconfig.h anyway.

Compile tested on CentOS 5.4 (which does not have sync_file_range(2)
in distro glibc) and Fedora 11 (which does).

Signed-off-by: Jim Schutt <jaschut@sandia.gov>
2010-04-16 15:55:43 -07:00
Greg Farnum
ca74b4bb3d atomic_t: Add a new version based on libatomic_ops.
Hopefully this version will take less CPU since it isn't running Spinlocks, but
we'll need to test for that.
Includes appropriate Makefile and configure changes.
2010-04-14 16:54:48 -07:00
Greg Farnum
d1d6da3b4b atomic_t: Remove (never used) unstable commonc++-based version 2010-04-14 16:54:48 -07:00
Sage Weil
3a76b63f8d autoconf: detect sync_file_range(2) 2010-03-04 09:45:44 -08:00
Sage Weil
5e36574c6e 0.19.1 2010-03-02 10:47:00 -08:00
Sage Weil
98f5be53f8 v0.19 2010-02-17 13:53:06 -08:00
Sage Weil
2f10137986 v0.18 2009-12-04 10:10:32 -08:00
Sage Weil
44bab24dc1 makefile: don't link libm and libpthread with crush 2009-10-28 14:47:08 -07:00
Sage Weil
dac3a8c35f v0.17 2009-10-19 15:19:51 -07:00
Sage Weil
53ca2a8511 v0.16.1 2009-10-06 10:44:36 -07:00
Sage Weil
38dbaa5175 v0.16 2009-10-05 14:53:35 -07:00
Sage Weil
8848973ed6 configure: kill more commas
CentOS sucks!
2009-09-25 09:07:58 -07:00
Sage Weil
2f50017097 configure: no commas? 2009-09-25 09:06:30 -07:00
Sage Weil
1d9f1615ac configure: whitespace 2009-09-25 08:45:32 -07:00
Sage Weil
dfa34dbffa configure: fix libexpat1, libfcgi checks (again) 2009-09-25 08:43:03 -07:00
Sage Weil
ab3c421eb9 v0.15 2009-09-22 10:13:11 -07:00
Sage Weil
71c1f4f41c configure: don't link expat, fcgi to everything
The default AC_CHECK_LIB action is to add -lfoo to the linker args,
which we don't want!
2009-09-16 10:34:04 -07:00
Sage Weil
3b0a6c9a37 configure: fix radosgw conditional compilation 2009-09-10 13:48:12 -07:00
Sage Weil
1ec1e8d6fb v0.14 2009-09-08 14:47:25 -07:00
Sage Weil
2b32297267 v0.13 2009-08-24 10:45:14 -07:00
Sage Weil
a23e25f1d0 configure: check for expat for radosgw 2009-08-20 16:02:46 -07:00
Sage Weil
6a78671cd3 configure: fix --with-radosgw 2009-08-13 11:23:54 -07:00
Yehuda Sadeh
a7995b79d2 radosgw: rename files to use the generic name 2009-08-07 10:26:07 -07:00
Sage Weil
f524150822 v0.12 2009-08-05 14:12:00 -07:00
Sage Weil
5f7581d223 Makefile: skip hadoop client if jni.h not present 2009-07-23 16:17:41 -07:00
Sage Weil
9fa6f5e7d0 v0.11 2009-07-22 12:40:52 -07:00
Sage Weil
f324172bed configure.ac: cleanup 2009-07-17 21:19:31 -07:00
Sage Weil
007313fe84 v0.10 2009-07-15 14:07:37 -07:00
Sage Weil
67822ef05a s3gw: make compilation optional (./configure --with-s3gw) 2009-07-09 16:28:18 -07:00
Sage Weil
c9b39bbade mark v0.9 2009-06-18 13:31:04 -07:00
Sage Weil
79b06b2a15 autoconf: check for openssl dev files 2009-05-29 14:39:12 -07:00
Sage Weil
6fd390d3af rados: build librados, libcrush using libtool
Finally?
2009-05-11 21:06:14 -07:00
Sage Weil
7c344e689c start v0.8 2009-05-01 07:27:32 -07:00
Sage Weil
5d466719ec start v0.7.3 2009-04-02 15:07:36 -07:00
Sage Weil
d67a4638d9 configure: check for histedit.h (libedit-dev) 2009-03-17 11:30:41 -07:00
Sage Weil
dbe3d7b4e9 bump version to v0.7.2 2009-03-16 11:04:13 -07:00
Sage Weil
160e00f0f6 man: mkcephfs, cosd man pages 2009-03-10 14:39:54 -07:00
Sage Weil
c353d14554 bump version to v0.7.1 for unstable branch 2009-03-09 15:39:16 -07:00
Sage Weil
4e04c53568 configure: remove some silly checks 2009-03-03 16:45:58 -08:00
Sage Weil
8667c264f2 config: prefix default paths with install prefix 2009-02-26 17:13:43 -08:00
Sage Weil
bc39a2d693 make unstable v0.7 2009-02-24 13:15:53 -08:00
Sage Weil
a4c752df71 v0.6 2009-01-20 11:52:50 -08:00
Sage Weil
1f1eeff5b8 makefile: make --with-debug work, fix build errors 2008-10-31 12:49:46 -07:00
Sage Weil
2909ef79ce v0.4, todos 2008-10-01 11:53:38 -07:00
Erwin, Brock A
2e986fe9dd include ceph.spec in configure.ac 2008-07-11 15:56:28 -07:00
Sage Weil
2cdc7b1659 autoconf fixup 2008-07-11 13:30:03 -07:00
Sage Weil
8c96daf08d autotools crap 2008-07-10 17:25:50 -07:00
Sage Weil
c27e27a8d3 Makefile.am, configure.ac updates for v0.3 2008-06-18 07:25:17 -07:00
Sage Weil
1b9a6a096a remove libattr1-dev dependency; check for sys/xattr.h in configure.ac 2008-05-20 14:27:49 -07:00
Sage Weil
eaf4610dd7 disable ccgnu2 (for atomic_t) by default, as it seems to be buggy! 2008-05-02 11:47:52 -07:00
Sage Weil
c6be01c108 kclient: moved ceph_fs.h for easier out-of-tree build as module 2008-04-21 13:09:45 -07:00
sage
ace25a776f configure.ac: check for boost/spirit.hpp 2008-04-09 14:39:25 -07:00
Sage Weil
1278a1bdd1 hadoop client builds, makefile cleanup 2008-03-22 11:38:08 -07:00
Sage Weil
57db9eba54 libcrushwrapper.so now builds, yay 2008-03-12 19:36:54 -07:00
Sage Weil
3c38bb6bdd getting closer to building swig stuff 2008-03-12 17:26:38 -07:00
Sage Weil
75bb647f34 configure.ac hack 2008-03-05 12:28:22 -08:00
Sage Weil
c7292dbca3 lower autoconf version req to 2.59 (works, with warnings) 2008-02-25 10:04:01 -08:00
Sage Weil
1a6924367d autoconf changes to build on a debian/testing machine 2008-02-01 09:59:44 -08:00
Sage Weil
307723dea8 more automake fun 2008-01-28 11:39:51 -08:00
Sage Weil
0e8e2731b6 more autoconf- and automake-fu 2008-01-28 11:05:29 -08:00
Sage Weil
7469f26a33 first pass at autoconf and automake 2008-01-27 20:45:29 -08:00