Skip to content
Ceph is a distributed object, block, and file storage platform
C++ Lua C Python Shell Assembly Other
Find file
Latest commit b3d766b Apr 28, 2016 @jdurgin jdurgin Merge pull request #8568 from ddiss/osd-librados-writesame
OSD and librados writesame support

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Haomai Wang <haomai@xsky.com>
Failed to load latest commit information.
admin pybind: move cephfs to Cython Feb 29, 2016
bin make_dist.sh: rename from bin/make_dist_tarball.sh May 31, 2015
ceph-erasure-code-corpus @ c332279 submodules: revert an accidental change Mar 4, 2016
ceph-object-corpus @ 47fbf8c Revert "common/*Formatters: Split Formatters" Jan 15, 2016
cmake/modules cmake: ceph_objectstore_tool.py test passing Apr 14, 2016
debian debian/control: dh_systemd_start is in the dh-systemd package Apr 28, 2016
doc Merge pull request #8721 from ibravo/patch-2 Apr 25, 2016
etc set 128MB tcmalloc cache size by bytes Apr 4, 2016
examples Fix Makefile in example/librados file. Oct 19, 2015
fusetrace remove superfluous second semicolons at end of lines May 8, 2014
keys new release key Sep 17, 2015
m4 crc32c: add aarch64 optimized crc32c implementation Mar 17, 2015
man cmake: conditionally install man pages Mar 26, 2016
mirroring mirrors: Change contact e-mail address for se.ceph.com Mar 9, 2016
qa Signed-off-by: Tamil Muthamizhan <tmuthami@redhat.com> Apr 26, 2016
rpm Move fedora patch file (used by ceph.spec.in) to rpm/ subdir Aug 27, 2014
selinux selinux: Allow to manage locks Mar 8, 2016
share CodingStyle: Fix coding-style on PG related Monitor files Dec 10, 2015
src Merge pull request #8568 from ddiss/osd-librados-writesame Apr 28, 2016
systemd systemd: enable all the ceph .target services by default Apr 27, 2016
udev udev: remove 60-ceph-partuuid-workaround-rules Apr 18, 2016
.gitignore gitignore: ignore backup files from editors etc. Jan 27, 2016
.gitmodule_mirrors remove libs3 submodule Jul 30, 2015
.gitmodules .gitmodules: use github.com/ceph/xxHash clone Mar 8, 2016
.mailmap mailmap: Abhishek Lekshmanan affiliation Apr 15, 2016
.organizationmap mailmap: Wei Qiaomiao affiliation Apr 15, 2016
.peoplemap mailmap: Abhishek Lekshmanan affiliation Feb 8, 2016
AUTHORS AUTHORS: update email Mar 1, 2016
CMakeLists.txt cmake: test-ceph-helpers working Apr 14, 2016
CONTRIBUTING.rst doc: rename SubmittingPatches to SubmittingPatches.rst Jan 20, 2016
COPYING SIGPIPE suppression for platforms without SO_NOSIGPIPE or MSG_NOSIGNAL Nov 13, 2015
COPYING-GPL2 Add GPLv2 text file Feb 27, 2015
COPYING-LGPL2.1 COPYING: note licenses for all files, not just the default Jan 12, 2012
ChangeLog first pass at autoconf and automake Jan 27, 2008
CodingStyle CodingStyle: fix broken URLs Nov 30, 2015
Doxyfile doc: do not doxygen src/tracing Feb 23, 2015
INSTALL doc: INSTALL redirect to online documentation Dec 1, 2015
Makefile.am udev: remove 60-ceph-partuuid-workaround-rules Apr 18, 2016
NEWS first pass at autoconf and automake Jan 28, 2008
PendingReleaseNotes doc/release-notes: v10.1.0 draft jewel notes Mar 18, 2016
README README: symlink from README.md Aug 6, 2014
README.aix aix shared library build Nov 25, 2015
README.cmake Combined CMake Build for Hammer Jan 14, 2015
README.md doc: rename SubmittingPatches to SubmittingPatches.rst Jan 20, 2016
README.solaris aix gcc librados port Nov 23, 2015
README.xio xio: Update README.xio with dependencies Mar 17, 2015
SubmittingPatches.rst doc: amend Fixes instructions in SubmittingPatches Mar 25, 2016
autogen.sh rocksdb: build rocksdb with its own Makefile Oct 17, 2015
ceph.spec.in rpm: Add rpm scripts for ceph-rbd-mirror Apr 27, 2016
configure.ac 10.2.0 Apr 20, 2016
do_autogen.sh tools: fix do_autogen.sh -R Sep 2, 2015
doc_deps.deb.txt doc: fix dependencies Apr 13, 2016
install-deps.sh install-deps: Adding gcc for debian based systems Apr 25, 2016
make-debs.sh remove rest-bench Jul 30, 2015
make_dist.sh make_dist.sh: bz2 only Jun 1, 2015
pom.xml update license for libcephfs Aug 26, 2014
run-cmake-check.sh cmake: no need to run configure from run-cmake-check.sh Dec 17, 2015
run-make-check.sh tests: configure with rocksdb by default Jan 4, 2016

README.md

Ceph - a scalable distributed storage system

Please see http://ceph.com/ for current info.

Contributing Code

Most of Ceph is licensed under the LGPL version 2.1. Some miscellaneous code is under BSD-style license or is public domain. The documentation is licensed under Creative Commons Attribution-ShareAlike (CC BY-SA). There are a handful of headers included here that are licensed under the GPL. Please see the file COPYING for a full inventory of licenses by file.

Code contributions must include a valid "Signed-off-by" acknowledging the license for the modified or contributed file. Please see the file SubmittingPatches.rst for details on what that means and on how to generate and submit patches.

We do not require assignment of copyright to contribute code; code is contributed under the terms of the applicable license.

Build Prerequisites

The list of Debian or RPM packages dependencies can be installed with:

./install-deps.sh

Note: libsnappy-dev and libleveldb-dev are not available upstream for Debian Squeeze. Backports for Ceph can be found at ceph.com/debian-leveldb.

Building Ceph

Autotools

Developers, please refer to the Developer Guide for more information, otherwise, you can build the server daemons, and FUSE client, by executing the following:

./autogen.sh
./configure
make

(Note that the FUSE client will only be built if libfuse is present.)

CMake

Prerequisite: CMake 2.8.11

Build instructions:

mkdir build
cd build
cmake [options] /path/to/ceph/src/dir
make

(Note that /path/to/ceph/src/dir can be in the tree and out of the tree)

Dependencies

The configure script will complain about any missing dependencies as it goes. You can also refer to debian/control or ceph.spec.in for the package build dependencies on those platforms. In many cases, dependencies can be avoided with --with-foo or --without-bar switches. For example,

./configure --with-nss         # use libnss instead of libcrypto++
./configure --without-radosgw  # do not build radosgw
./configure --without-tcmalloc # avoid google-perftools dependency

Building packages

You can build packages for Debian or Debian-derived (e.g., Ubuntu) systems with

sudo apt-get install dpkg-dev
dpkg-checkbuilddeps        # make sure we have all dependencies
dpkg-buildpackage

For RPM-based systems (Red Hat, SUSE, etc.),

rpmbuild

Building the Documentation

Prerequisites

The list of package dependencies for building the documentation can be found in doc_deps.deb.txt:

sudo apt-get install `cat doc_deps.deb.txt`

Building the Documentation

To build the documentation, ensure that you are in the top-level `/ceph directory, and execute the build script. For example:

admin/build-doc
Something went wrong with that request. Please try again.