Commit Graph

119 Commits

Author SHA1 Message Date
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
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
bb42a71b02 configure: fix profiler check 2011-03-03 11:44:41 -08:00
Sage Weil
863631319b add --with-profiler to link in google perftools libprofiler
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-03-01 06:44:37 -08:00
Sage Weil
827c950bda v0.26~rc
Modernize configure.ac macros, set bug report address to ML.
2011-02-24 07:41:23 -08:00
Colin Patrick McCabe
cde53e9575 Merge branch 'pybind' 2011-02-11 07:50:13 -08:00
Sage Weil
1c320ebe65 Merge branch 'stable'
Conflicts:
	configure.ac
2011-02-11 13:41:56 -08:00
Sage Weil
2cd2c56dd0 v0.24.3 2011-02-10 09:49:28 -08:00
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