Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wip xio #1

Open
wants to merge 6,008 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
6008 commits
Select commit Hold shift + click to select a range
37370c7
mds: fix standby handling in map
Jul 27, 2015
61643c1
mds: reinstate conditional destruction
Jul 28, 2015
ef824a3
Merge pull request #5349 from yuyuyu101/wip-async-fix-21
yuyuyu101 Jul 28, 2015
91ecba1
osd/ReplicatedPG: claim the read buffer instead of copying it
tchaikov Jul 28, 2015
11e313e
Merge pull request #5254 from vuhuong/wip-xio
tchaikov Jul 28, 2015
d8395cf
modified librados-intro.rst
xdonghai Jul 28, 2015
14542e7
Merge pull request #5116 from yuyuyu101/wip-compressor
liewegas Jul 28, 2015
9d80d44
Merge pull request #5355 from ceph/wip-anotate-s-files
liewegas Jul 28, 2015
e957872
Merge pull request #5350 from ceph/wip-pgls-filter-enc
liewegas Jul 28, 2015
4e42414
mds: configurable uid/gid on new root inos
Jul 28, 2015
34cb85e
tools/cephfs: respect mds_root_ino_[gid|uid]
Jul 28, 2015
72d1859
Merge pull request #5338 from hjwsm1989/wip-12459
tchaikov Jul 28, 2015
72e5895
Merge pull request #5130 from tchaikov/wip-12167
tchaikov Jul 28, 2015
552b570
Merge pull request #5191 from theanalyst/v9.0.2/mailmap
Jul 28, 2015
d744055
Merge pull request #5364 from xdonghai/master
jdurgin Jul 28, 2015
9fa0112
crypto: use NSS_InitContext/NSS_ShutdownContex to avoid memory leak
Jul 28, 2015
5afcabd
Merge pull request #5313 from guce/rgw_access_invalid_argument
yehudasa Jul 28, 2015
1113eb6
Merge pull request #5139 from jmunhoz/wip-7817-ms
yehudasa Jul 28, 2015
fa78739
rbd: remove dependency on non-ABI controlled CephContext
Jul 28, 2015
08210d6
common/syncfs: fall back to sync(2) if syncfs(2) not available
tchaikov Jul 29, 2015
b97988d
tools/rados: update the help message
tchaikov Jul 29, 2015
ee25b42
tools/rados: change the default max_ops to 16
tchaikov Jul 29, 2015
0559fd3
tools/rados: change the first op id to 0
tchaikov Jul 29, 2015
338ead0
Merge pull request #5348 from athanatos/wip-12465
liewegas Jul 29, 2015
c4872dd
Log::reopen_log_file: take m_flush_mutex
athanatos Jul 24, 2015
f217865
test_librbd_fsx: invalidate before discard in krbd mode
idryomov Jul 29, 2015
1320e29
OSDMonitor::preprocess_get_osdmap: send the last map as well
athanatos Jul 29, 2015
6ab9efe
osd: copy the RecoveryCtx::handle when creating a new RecoveryCtx ins…
Jul 29, 2015
5c395ff
doc: add bucket object version description.
Jul 30, 2015
7fbf013
Merge pull request #5401 from ceph/wip-12450
tchaikov Jul 30, 2015
258cb34
rbd: add "--keyring" option to help message
tchaikov Jul 29, 2015
cb51b17
mon: reject over-large values of max_mds
Jul 29, 2015
4d03c66
librados_test_stub: implement conf get/set API methods
Jul 30, 2015
2c51aad
tests: librbd API test cannot use private md_config_t struct
Jul 28, 2015
af0cade
lockdep: allow lockdep to be dynamically enabled/disabled
Jul 29, 2015
8d4932e
osd/OSDMap: handle incrementals that modify+del pool
Jul 30, 2015
77cdb50
No CRUSH involvement in deciding PG target
Jul 30, 2015
744a71a
Merge pull request #5419 from ceph/wip-kfsx-invalidate
jdurgin Jul 30, 2015
bbe8457
remove rest-bench
liewegas Jul 30, 2015
a634ab3
remove libs3 submodule
liewegas Jul 30, 2015
d621d98
Merge pull request #5414 from cxwshawn/master
yehudasa Jul 30, 2015
115f370
Merge pull request #5399 from tchaikov/wip-12458
jdurgin Jul 30, 2015
04d8766
Merge pull request #5426 from ceph/wip-12383-next
jdurgin Jul 30, 2015
ca40bf0
Merge pull request #5423 from oddomatik/patch-1
liewegas Jul 30, 2015
ad5507f
rgw: url encode exposed bucket
yehudasa Jul 30, 2015
27fa210
Merge pull request #5425 from ceph/wip-12479-next
jdurgin Jul 30, 2015
03491ae
Merge remote-tracking branch 'origin/next'
jdurgin Jul 30, 2015
9574555
rgw: skip prefetch first chunk if range get falls to shadow objects
zhouyuan Jul 16, 2015
b7e5d2a
Merge pull request #5428 from ceph/wip-kill-rest-bench
liewegas Jul 31, 2015
f705d8c
Merge pull request #5402 from ceph/wip-claim-sparse-read-buffer
tchaikov Jul 31, 2015
d5142ba
Merge pull request #5395 from tchaikov/wip-12512
tchaikov Jul 31, 2015
8a7a52d
rbd:'rbd purge image' will return failure without removing any snaps …
mingyuez Jul 31, 2015
b255b4c
make: fix the build of "rbd"
tchaikov Jul 31, 2015
1a2f290
Merge pull request #5398 from mingyuez/master
yuyuyu101 Jul 31, 2015
f8554f9
Remove execute mode of source files
tobegit3hub Jul 31, 2015
2d90da8
Merge pull request #5434 from tobegit3hub/remove_execute_mode
Jul 31, 2015
79c7d2e
fix: qa/workunits/rados/test_cache_pool.sh
Jul 31, 2015
f008440
Merge pull request #5432 from ceph/wip-fix-rbd-build
tchaikov Jul 31, 2015
81afcc2
doc: fix the build of placement-groups.rst
tchaikov Jul 31, 2015
5760655
KeyValueStore: Fix incorrect rm_keys behaviors
yuyuyu101 Jul 31, 2015
1fb9bac
os/FileStore: getattr() should return 0 if success
tchaikov Jul 30, 2015
a9cb1b8
Merge pull request #5438 from ceph/fix-doc-build
Jul 31, 2015
3fbcf5e
doc: krbd supports clones since 3.10
idryomov Jul 31, 2015
c8653b1
Merge pull request #5258 from zhouyuan/rgw_skip_first_chunk
yehudasa Jul 31, 2015
0451f19
civetweb: update submodule to support setting of http status
yehudasa Jul 31, 2015
b8e28ab
rgw: set http status in civetweb
yehudasa Jul 22, 2015
ef86e29
Merge pull request #5445 from ceph/wip-12432
oritwas Jul 31, 2015
95db160
ceph.spec.in:Update rpm hooks and file content
oms4suse May 18, 2015
6124019
Added tmpfiles.d for rgw: templated user and group.
oms4suse Jun 3, 2015
ef961be
ceph.spec.in: Change redhat defaults for rgw
oms4suse Jun 9, 2015
fbc85e3
radosgw systemd support
oms4suse Mar 18, 2015
be4f878
radosgw systemd prestart moved to systemd
oms4suse Jun 25, 2015
d6213b6
Add unit files to the spec file.
oms4suse Jun 10, 2015
1ba4694
Autotools to install systemd unit files.
oms4suse May 26, 2015
43d6b12
system: include all unit files
liewegas Jul 27, 2015
e283222
ceph.spec: include systemd units files
liewegas Jul 27, 2015
6842a20
systemd: add ceph-create-keys@ service
liewegas Jul 29, 2015
d1ce178
ceph.spec: no rcceph[-radosgw] with systemd
liewegas Jul 29, 2015
6cfb4b3
ceph-disk: add --log-stdout parameter
ddiss May 12, 2015
4fd9cf2
ceph-disk: split get_dmcrypt_key_path from key creation
ddiss May 13, 2015
2943194
ceph-disk: map dmcrypt devices prior to activation
ddiss May 12, 2015
ac16d83
ceph.spec: use sysvinit rbdmap script for now
liewegas Jul 30, 2015
85a8946
systemd: activate disks via systemd service instead of udev
ddiss May 11, 2015
e034c2a
ceph.spec: ship ceph-disk-* units
liewegas Jul 30, 2015
69cdfcb
remove ceph-disk-{activate,prepare} wrappers
liewegas Jul 30, 2015
e3e9548
ceph.spec.in:fixup bad merge of systemd logic
oms4suse Jul 31, 2015
3d6100e
ceph.spec.in:Fixup renamed ceph-rgw.conf
oms4suse Jul 31, 2015
8a67561
ceph.spec: install the new systemd-based udev rules from ddiss
liewegas Jul 31, 2015
4d10dc1
systemd: fix ceph-radosgw@ service
liewegas Jul 31, 2015
ad9c22a
client: hold reference for returned inode
ukernel May 23, 2015
07f5809
client: convert Dentry::inode to smart pointer
ukernel Jun 24, 2015
fd02f0f
client: use smart pointers in MetaRequest
ukernel Jun 24, 2015
dac11e6
client: convert Fh::inode to smart pointer
ukernel Jun 24, 2015
e7920c9
client: convert CapSnap::in to smart pointer
ukernel Jun 24, 2015
89648e7
client: convert Inode::snapdir_parent to smart pointer
ukernel Jun 24, 2015
8c45ae1
client: use smart pointer to track 'cwd' and 'root_parents'
ukernel Jun 24, 2015
217837b
client: use smart pointer to track temporary inode reference
ukernel Jun 24, 2015
e28b3d1
Allow do_autogen.sh to pass configure parameters
Aug 3, 2015
e4c6922
add help to do_autogen.sh
Aug 3, 2015
02590c1
Merge pull request #5375 from ceph/wip-config-root-ino
ukernel Aug 3, 2015
fdf0e03
Merge pull request #5422 from ceph/wip-fix-filestore-getattr
tchaikov Aug 3, 2015
ec8433d
Makefile: include systemd udev rules in tarball
liewegas Aug 3, 2015
b2e484d
cmake: build as c++11
cbodley Jul 30, 2015
51a218c
autoconf: build as c++11
cbodley Jul 30, 2015
2d18941
c++11: remove references to the std::tr1 namespace
cbodley Jul 30, 2015
5b15ea2
c++11: replace auto_ptr with unique_ptr
cbodley Jul 30, 2015
3f52583
c++11: stream output operators for stream types
cbodley Jul 30, 2015
5416b1f
c++11: fixes for std::pair type conversions
cbodley Jul 30, 2015
2761b29
CMake: add cephfs tools
Jul 31, 2015
cc35d9b
CMake: fix cephfs test targets
Aug 3, 2015
a4a81c3
CMake: fix cephfs cls build
Aug 3, 2015
1f541b2
CMake: set WITH_CEPHFS by default
Aug 3, 2015
57cd851
CMake: smalliobenchrbd should dep on rbd
Aug 3, 2015
22e8a29
CMake: libblkid not only needed with rbd
Aug 3, 2015
2355c45
CMake: fix rbd build
Aug 3, 2015
fe970bc
CMake: fix librados build
Aug 3, 2015
bc0d942
CMake: add crushtool
Aug 3, 2015
1ca6bf6
common/hobject_t: correctly decode pre-infernalis hobject_t min
liewegas Aug 3, 2015
b93b672
Merge pull request #5456 from kylinstorage/wip-do_autogen.sh
liewegas Aug 3, 2015
12c4e7d
Merge pull request #5455 from ceph/wip-cephfs-cmake
tchaikov Aug 3, 2015
85cb86d
doc: change "--keyfile" description in man page of rbd help
vumrao Jul 31, 2015
fb4e332
Merge pull request #5440 from vumrao/wip-vumrao-12458-doc
jdurgin Aug 3, 2015
145364b
logrotate: fix log rotation with systemd
liewegas Aug 3, 2015
06d1546
Merge pull request #5400 from tchaikov/wip-12451
liewegas Aug 3, 2015
3cbec35
Merge pull request #5397 from ceph/wip-12222
liewegas Aug 3, 2015
75d80aa
Merge pull request #5430 from ceph/wip-12537
liewegas Aug 4, 2015
89c99db
Merge pull request #5431 from kylinstorage/test_cache_pool_script_fix
liewegas Aug 4, 2015
111ecf8
radosgw-admin: use cout not cerr to print help message.
Aug 4, 2015
8f0028a
Merge pull request #5420 from ceph/wip-12429
tchaikov Aug 4, 2015
1638525
Merge pull request #5312 from xinxinsh/wip-sparse-copy
tchaikov Aug 4, 2015
eeb660d
Merge pull request #5000 from ceph/wip-da-SCA-20150601
tchaikov Aug 4, 2015
a400b48
Merge pull request #5337 from branch-predictor/bp-reduce-mallocs
tchaikov Aug 4, 2015
963c524
doc: add changes to "pg ls*" commands to pending release notes
tchaikov Jul 3, 2015
68e4d62
Merge pull request #5140 from tchaikov/wip-pg-ls-update-pending-rel-n…
tchaikov Aug 4, 2015
0e69527
mds: open base inode's snaprealm after decoding snapblob
ukernel Aug 4, 2015
694990f
Merge pull request #5466 from ceph/wip-12578
jcsp Aug 4, 2015
653dbec
Merge pull request #4753 from ceph/wip-client-inode-refs
jcsp Aug 4, 2015
de40c40
client/Makefile: ship InodeRef
liewegas Aug 4, 2015
793fe52
doc: release notes for v0.94.3
theanalyst Aug 4, 2015
cdd5f77
Merge pull request #5469 from theanalyst/doc/v0.94.3-release
Aug 4, 2015
13ccfb4
Merge pull request #5446 from ceph/wip-systemd
liewegas Aug 4, 2015
add3014
Revert "rbd: remove dependency on non-ABI controlled CephContext"
Jul 31, 2015
7d11b6b
Merge remote-tracking branch 'origin/next'
jdurgin Aug 5, 2015
0cdd77d
rgw_user.h: modify interface comments.
Aug 5, 2015
28bc30c
osd/ReplicatedPG: sparse read should return (extent_map, data_bufferl…
Aug 5, 2015
21581a4
Merge pull request #5474 from kylinstorage/wip-sparse_read_bugfix
tchaikov Aug 5, 2015
b04bafc
tests: rados striper tests use 7116 instead of 7113
ldachary Aug 5, 2015
c40df50
librados: fix empty NObjectIterator crash on comparisons
Apr 28, 2015
01b3873
Merge pull request #4860 from ceph/wip-nobjectiterator-crash
jcsp Aug 5, 2015
c52eb99
Add initial SELinux support
b-ranto May 15, 2015
9db80da
Fix selinux context after intitial OSD mount.
Jun 12, 2015
d0fd8ff
Update selinux policy (after local test).
Jun 17, 2015
bed5703
selinux: Allow setuid and setgid to ceph-mon and ceph-osd
b-ranto Jul 15, 2015
c014f2b
ceph-disk: set selinux context
Jul 24, 2015
03d7a65
SELinux Makefile can't work in parallel
b-ranto Jul 25, 2015
73bf34d
selinux: Update the SELinux policy rules
b-ranto Jul 28, 2015
c6d6c78
ceph.spec.in: stop/start service on policy upgrade/removal
b-ranto Jul 28, 2015
736fe06
selinux: Add .gitignore file
b-ranto Jul 28, 2015
60e903f
osd: enable PGLS filters to see hobject_t
Jul 17, 2015
4866d89
osd: make PGLSFilter xattr read optional
Jul 27, 2015
1092ed9
Merge pull request #5459 from cxwshawn/master
liewegas Aug 5, 2015
f4853d8
Merge pull request #5478 from dachary/wip-test-rados-striper
Aug 5, 2015
8c53a58
ceph.spec.in: Make SELinux opt-out, not opt-in
b-ranto Aug 5, 2015
e67539e
Fix location of --access=full in SWIFT user creation
Aug 5, 2015
5d7cb4c
ceph-dencoder: add RGWRegion, RGWZoneParams, RGWOLHInfo support.
Aug 6, 2015
6b29233
mds: initialize InodeStoreBase::damage_flags
ukernel Aug 6, 2015
1559d5e
cmake: add global lib to rbd
oritwas Aug 6, 2015
0de2ea6
Merge pull request #5487 from ceph/wip-12619
jcsp Aug 6, 2015
b436a35
Merge pull request #5421 from ceph/wip-selinux-policy-no-user
liewegas Aug 6, 2015
0ab7926
Merge pull request #5484 from cxwshawn/de-fix
liewegas Aug 6, 2015
e61976b
Merge pull request #5483 from oddomatik/patch-1
liewegas Aug 6, 2015
b63f2af
Merge pull request #5475 from cxwshawn/com-fix
liewegas Aug 6, 2015
cd4ac1c
rbd: support size suffixes for size-based options
vumrao Aug 5, 2015
b3f1b3a
Merge pull request #5488 from oritwas/wip-cmake-fix-rbd
jcsp Aug 6, 2015
8e0a444
Merge pull request #5413 from guangyy/wip-12523
Aug 7, 2015
ddc83b6
Merge pull request #5508 from athanatos/wip-12410
tchaikov Aug 7, 2015
d171537
os/Memstore:Refactor collection_list_range and collection_list_partial
xiaoxichen819 Apr 24, 2015
921c458
os/Filestore:Refactor collection_list_range and collection_list_partial
xiaoxichen819 Apr 24, 2015
80b6961
Merge pull request #5509 from ceph/wip-12536
Aug 7, 2015
26668d6
os/CollectionIndex: use const ref for end
liewegas Jul 10, 2015
7bf999c
os/KeyValuestore:Refactor collection_list_range and collection_list_p…
xiaoxichen819 Apr 24, 2015
7165510
Kill collection_list_range
xiaoxichen819 Apr 24, 2015
2d5ed30
Kill collection_list_partial
xiaoxichen819 Apr 25, 2015
c5dc404
Kill collection_list
xiaoxichen819 Apr 25, 2015
5df688a
Kill Flat_index.
xiaoxichen819 Apr 29, 2015
7ee3eef
Kill collection_list in CollectionIndex
xiaoxichen819 Apr 29, 2015
e46a855
s/collection_list_impl/collection_list/
liewegas Apr 29, 2015
cdb1fc0
os: drop snapid_t arg to collection_list
liewegas Apr 29, 2015
654c16e
os/ObjectStore: drop get_ideal_list_min()
liewegas Jun 14, 2015
01d3aa7
Merge pull request #5506 from athanatos/wip-12338
liewegas Aug 7, 2015
2a76053
Merge pull request #5507 from athanatos/wip-12436
liewegas Aug 7, 2015
1beab53
Merge pull request #5271 from wonzhq/cache-rate
liewegas Aug 7, 2015
7811c77
Merge pull request #5331 from liewegas/wip-collection-list
liewegas Aug 7, 2015
9cdc327
AsyncConnection: Fix wrong order of local message delivering
yuyuyu101 Aug 7, 2015
ec619c7
Merge pull request #4832 from ceph/wip-11511
Aug 7, 2015
f7c478c
c++11: replace boost::assign with initializer list
cbodley Aug 7, 2015
11a5d29
c++11: fixes for preprocessor string concatenation
cbodley Jul 30, 2015
f4d2032
c++11: disambiguate std::isnan
cbodley Jul 31, 2015
3a68080
c++11: remove hash_namespace.h and default to std
cbodley Jul 31, 2015
511106e
c++11: fix shared_ptr conversions to bool
cbodley Jul 31, 2015
3260adf
c++11: xlist needs a value_type for back_inserter
cbodley Jul 31, 2015
180a500
Merge pull request #5511 from ceph/wip-cxx11
Aug 7, 2015
144792e
Merge pull request #5310 from ceph/wip-pipefd-leak
liewegas Aug 7, 2015
b98b104
rbdnamer: drop unneccessary tr usage
ddiss Aug 7, 2015
49aec61
Merge pull request #5512 from ddiss/rbd_initrd_no_tr
liewegas Aug 7, 2015
22e367b
Merge pull request #5510 from yuyuyu101/fix-async-fix-22
liewegas Aug 7, 2015
dcd6e96
ceph-object-corpus: do not try to decode pre-hammer ObjectStore::Tran…
liewegas Aug 7, 2015
3092a18
cmake: check for better yasm and fix isa
oritwas Jul 24, 2015
016a5d5
mon/PGMap: make PGMap dump osd_epochs too
liewegas Aug 7, 2015
281d45d
Merge pull request #5500 from oritwas/wip-cmake-isa
tchaikov Aug 8, 2015
e06046c
cmake: check for good yasm
tchaikov Aug 7, 2015
82533aa
test/encoding: c++11 STL appears to make fewer copies, yay
liewegas Aug 7, 2015
aaa5b75
ceph-dencoder: mark PGMap with nondeterministic encoding
liewegas Aug 8, 2015
9ea0522
ceph-dencoder: clean up macro name
liewegas Aug 8, 2015
2bcab03
ceph-dencoder: add 'is_deterministic' command
liewegas Aug 8, 2015
62f9422
test/encoding/check-generated: skip some tests if non-determinstic en…
liewegas Aug 8, 2015
3df6438
mon/PGMap: dump osd_epochs in deterministic order
liewegas Aug 8, 2015
d372718
osd/HitSet: mark subclasses that encode nondeterministically
liewegas Aug 8, 2015
34c048b
osd/HitSet: make subclasses dump deterministically
liewegas Aug 8, 2015
6b97add
test/encoding/check-generated: make error msg cut and pasteable
liewegas Aug 8, 2015
e04f324
Merge pull request #4909 from zhouyuan/rgw_doc_bucket_index
tchaikov Aug 8, 2015
67b001d
Merge pull request #5267 from dachary/wip-12356-rados-osds-out-in
tchaikov Aug 8, 2015
1b94f1c
Merge pull request #5293 from majianpeng/oprequest-markevent
tchaikov Aug 8, 2015
8f06d3e
Enable security hardening flags globally
sidhax May 14, 2015
e5569d4
Removing unwanted -grecord-gcc-switches , relro in cflags and adding …
sidhax May 14, 2015
2c6acfc
Removing unwanted -fPIC in cflags
sidhax May 14, 2015
c74461e
Merge pull request #5504 from tchaikov/wip-check-good-yasm
oritwas Aug 8, 2015
1404502
cmake: remove Flat_index stuff
tchaikov Aug 9, 2015
6dd143d
Merge pull request #4683 from ceph/wip-siddharth-security-fixes
liewegas Aug 9, 2015
a85b921
Merge pull request #5515 from ceph/wip-make-check-fixes
liewegas Aug 9, 2015
dc6d90c
Merge pull request #5517 from tchaikov/wip-cmake-remove-flat-index
liewegas Aug 9, 2015
370e4a7
doc: remove duplicate word in Motivation section.
badone Aug 10, 2015
585b49f
Merge pull request #5212 from ceph/wip-mds-refactor
ukernel Aug 10, 2015
8023f1d
Merge pull request #4927 from wonzhq/snapset-obc
yehudasa Aug 10, 2015
281a3dd
Merge pull request #5520 from badone/master
tchaikov Aug 10, 2015
dcf20b3
rbd: creating refused, if feature is specified when the format is equ…
Jan 3, 2001
b049c94
Merge branch 'wip-vumrao-12111' of https://github.com/vumrao/ceph
jdurgin Aug 10, 2015
570887f
cmake: fix mds compilation and link
oritwas Aug 10, 2015
9d17a65
Merge pull request #5522 from oritwas/wip-cmake-fix-mds
jcsp Aug 10, 2015
ab31f14
Merge pull request #5353 from ceph/wip-pgls-filter-osd
jcsp Aug 10, 2015
fb944f7
Add Vyukov MPMC Bounded Queue and Related.
mattbenjamin Aug 6, 2015
50b719a
xio: use c++11 atomics
mattbenjamin Aug 10, 2015
2043d45
xio: update XioPortal to use mpmc bounded queue
mattbenjamin Aug 10, 2015
b1be7bb
xio: defer header encoding to remove serialization
mattbenjamin Aug 11, 2015
a3c2fc7
test_queues: fix index in object queue producer
mattbenjamin Aug 17, 2015
fcb8d84
xio: parameterize XioPortal::SubmitQueue
mattbenjamin Aug 24, 2015
ad1eb40
XioPortal: make xio_context_run_loop() max delay configurable
mattbenjamin Aug 24, 2015
cc0cd0b
xio: fix problem of receiving messages with empty header
Sep 3, 2015
6f6b6fc
XioMessenger: move header init to send epilogue
mattbenjamin Sep 8, 2015
4bcdc01
xio: fix signedness, narrowing, and typos
mattbenjamin Sep 11, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ missing
py-compile
release
stamp-h1
systemd/[email protected]
systemd/ceph-rgw.tmpfiles.d
systemd/Makefile
vgcore.*

# specific local dir files
Expand All @@ -64,7 +67,7 @@ vgcore.*
/ceph-[0-9]*/

# M4 Macro directory
m4/
/m4/

# where is this from?
web/*.html
Expand Down
2 changes: 1 addition & 1 deletion .gitmodule_mirrors
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
# Only used by autobuild-ceph.
ceph-object-corpus git://apt-mirror.front.sepia.ceph.com/ceph-object-corpus.git
src/civetweb git://apt-mirror.front.sepia.ceph.com/civetweb.git
src/libs3 git://apt-mirror.front.sepia.ceph.com/libs3.git
src/mongoose git://apt-mirror.front.sepia.ceph.com/mongoose.git
src/leveldb git://apt-mirror.front.sepia.ceph.com/leveldb.git
src/erasure-code/jerasure/jerasure git://apt-mirror.front.sepia.ceph.com/jerasure.git
src/erasure-code/jerasure/gf-complete git://apt-mirror.front.sepia.ceph.com/gf-complete.git
src/rocksdb git://apt-mirror.front.sepia.ceph.com/rocksdb.git
ceph-erasure-code-corpus git://apt-mirror.front.sepia.ceph.com/ceph-erasure-code-corpus.git
src/gmock git://apt-mirror.front.sepia.ceph.com/gmock.git
14 changes: 7 additions & 7 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
[submodule "ceph-object-corpus"]
path = ceph-object-corpus
url = git://ceph.com/git/ceph-object-corpus.git
[submodule "src/libs3"]
path = src/libs3
url = git://github.com/ceph/libs3.git
url = https://github.com/ceph/ceph-object-corpus.git
[submodule "src/civetweb"]
path = src/civetweb
url = git://github.com/ceph/civetweb
url = https://github.com/ceph/civetweb
[submodule "src/erasure-code/jerasure/jerasure"]
path = src/erasure-code/jerasure/jerasure
url = https://github.com/ceph/jerasure.git
Expand All @@ -17,9 +14,12 @@
branch = v2-ceph
[submodule "src/rocksdb"]
path = src/rocksdb
url = git://github.com/ceph/rocksdb
url = https://github.com/ceph/rocksdb
ignore = dirty
[submodule "ceph-erasure-code-corpus"]
path = ceph-erasure-code-corpus
url = https://github.com/ceph/ceph-erasure-code-corpus.git

[submodule "src/gmock"]
path = src/gmock
url = https://github.com/ceph/gmock.git
branch = ceph-release-1.7.0
98 changes: 75 additions & 23 deletions .mailmap

Large diffs are not rendered by default.

140 changes: 124 additions & 16 deletions .organizationmap

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions .peoplemap
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@
# git log --pretty='%aN <%aE>' $range | git -c mailmap.file=.peoplemap check-mailmap --stdin | sort | uniq | sed -e 's/\(.*\) \(<.*\)/\2 \1/' | uniq --skip-field=1 --all-repeated | sed -e 's/\(.*>\) \(.*\)/\2 \1/'
#
Alexandre Marangone <[email protected]> Alexandre Marangone <[email protected]>
Alfredo Deza <[email protected]> Alfreda Deza <[email protected]>
Alfredo Deza <[email protected]> Alfredo Deza <[email protected]>
Dan Mick <[email protected]> Dan Mick <[email protected]>
David Zafman <[email protected]> David Zafman <[email protected]>
Greg Farnum <[email protected]> Greg Farnum <[email protected]>
Ilya Dryomov <[email protected]> Ilya Dryomov <[email protected]>
João Eduardo Luís <[email protected]> João Eduardo Luís <[email protected]>
Joao Eduardo Luis <[email protected]> João Eduardo Luís <[email protected]>
Joao Eduardo Luis <[email protected]> João Eduardo Luís <[email protected]>
John Spray <[email protected]> John Spray <[email protected]>
John Wilkins <[email protected]> John Wilkins <[email protected]>
Josh Durgin <[email protected]> Josh Durgin <[email protected]>
Expand All @@ -34,14 +35,12 @@ Noah Watkins <[email protected]> Noah Watkins <[email protected]>
Patrick McGarry <[email protected]> Patrick McGarry <[email protected]>
Ross Turk <[email protected]> Ross Turk <[email protected]>
Sage Weil <[email protected]> Sage Weil <[email protected]>
Sahid Orentino Ferdjaoui <[email protected]> Sahid Orentino Ferdjaoui <[email protected]>
Samuel Just <[email protected]> Samuel Just <[email protected]>
Sandon Van Ness <[email protected]> Sandon Van Ness <[email protected]>
Tamil Muthamizhan <[email protected]> Tamil Muthamizhan <[email protected]>
Tyler Brekke <[email protected]> Tyler Brekke <[email protected]>
Warren Usui <[email protected]> Warren Usui <[email protected]>
Yehuda Sadeh <[email protected]> Yehuda Sadeh <[email protected]>
John Wilkins <[email protected]> John Wilkins <[email protected]>
Yan, Zheng <[email protected]> Yan, Zheng <[email protected]>
Sahid Orentino Ferdjaoui <[email protected]> Sahid Orentino Ferdjaoui <[email protected]>
João Eduardo Luís <[email protected]> João Eduardo Luís <[email protected]>
Ilya Dryomov <[email protected]> Ilya Dryomov <[email protected]>
Yehuda Sadeh <[email protected]> Yehuda Sadeh <[email protected]>
Yuri Weinstein <[email protected]> Yuri Weinstein <[email protected]>
248 changes: 248 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,248 @@
cmake_minimum_required(VERSION 2.8.11)

project(Ceph)
set(VERSION "0.90")

if (NOT (CMAKE_MAJOR_VERSION LESS 3))
# Tweak policies (this one disables "missing" dependency warning)
cmake_policy(SET CMP0046 OLD)
endif(NOT (CMAKE_MAJOR_VERSION LESS 3))

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules/")

include_directories(
${PROJECT_BINARY_DIR}/src/include
${OFED_PREFIX}/include
${LEVELDB_PREFIX}/include
${PROJECT_SOURCE_DIR}/src
)

link_directories(
${OFED_PREFIX}/lib
${LEVELDB_PREFIX}/lib
)

#Check Includes
include(CheckIncludeFiles)
include(CheckIncludeFileCXX)
include(CheckFunctionExists)

CHECK_FUNCTION_EXISTS(fallocate CEPH_HAVE_FALLOCATE)
CHECK_FUNCTION_EXISTS(posix_fadvise HAVE_POSIX_FADVISE)
CHECK_FUNCTION_EXISTS(posix_fallocate HAVE_POSIX_FALLOCATE)
CHECK_FUNCTION_EXISTS(syncfs HAVE_SYS_SYNCFS)
CHECK_FUNCTION_EXISTS(sync_file_range HAVE_SYNC_FILE_RANGE)
CHECK_INCLUDE_FILES("arpa/inet.h" HAVE_ARPA_INET_H)
CHECK_INCLUDE_FILES("boost/random/discrete_distribution.hpp" HAVE_BOOST_RANDOM_DISCRETE_DISTRIBUTION)
CHECK_INCLUDE_FILES("dirent.h" HAVE_DIRENT_H)
CHECK_INCLUDE_FILES("dlfcn.h" HAVE_DLFCN_H)
CHECK_INCLUDE_FILES("inttypes.h" HAVE_INTTYPES_H)
CHECK_INCLUDE_FILES("linux/types.h" HAVE_LINUX_TYPES_H)
CHECK_INCLUDE_FILES("leveldb/filter_policy.h" HAVE_LEVELDB_FILTER_POLICY)
CHECK_INCLUDE_FILES("memory.h" HAVE_MEMORY_H)
CHECK_INCLUDE_FILES("ndir.h" HAVE_NDIR_H)
CHECK_INCLUDE_FILES("netdb.h" HAVE_NETDB_H)
CHECK_INCLUDE_FILES("netinet/in.h" HAVE_NETINET_IN_H)
CHECK_INCLUDE_FILES("stdint.h" HAVE_STDINT_H)
CHECK_INCLUDE_FILES("stdlib.h" HAVE_STDLIB_H)
CHECK_INCLUDE_FILES("arpa/inet.h" HAVE_ARPA_INET_H)
CHECK_INCLUDE_FILES("strings.h" HAVE_STRINGS_H)
CHECK_INCLUDE_FILES("string.h" HAVE_STRING_H)
CHECK_INCLUDE_FILES("syslog.h" HAVE_SYSLOG_H)
CHECK_INCLUDE_FILES("sys/dir.h" HAVE_SYS_DIR_H)
CHECK_INCLUDE_FILES("sys/file.h" HAVE_SYS_FILE_H)
CHECK_INCLUDE_FILES("sys/ioctl.h" HAVE_SYS_IOCTL_H)
CHECK_INCLUDE_FILES("sys/mount.h" HAVE_SYS_MOUNT_H)
CHECK_INCLUDE_FILES("sys/ndir.h" HAVE_SYS_NDIR_H)
CHECK_INCLUDE_FILES("sys/param.h" HAVE_SYS_PARAM_H)
CHECK_INCLUDE_FILES("sys/socket.h" HAVE_SYS_SOCKET_H)
CHECK_INCLUDE_FILES("sys/statvfs.h" HAVE_SYS_STATVFS_H)
CHECK_INCLUDE_FILES("sys/stat.h" HAVE_SYS_STAT_H)
CHECK_INCLUDE_FILES("sys/time.h" HAVE_SYS_TIME_H)
CHECK_INCLUDE_FILES("sys/types.h" HAVE_SYS_TYPES_H)
CHECK_INCLUDE_FILES("sys/vfs.h" HAVE_SYS_VFS_H)
CHECK_INCLUDE_FILES("sys/wait.h" HAVE_SYS_WAIT_H)
CHECK_INCLUDE_FILES("sys/xattr.h" HAVE_SYS_XATTR_H)
CHECK_INCLUDE_FILES("unistd.h" HAVE_UNISTD_H)
CHECK_INCLUDE_FILES("utime.h" HAVE_UTIME_H)
CHECK_INCLUDE_FILES("${CMAKE_SOURCE_DIR}/src/include/fiemap.h" HAVE_FIEMAP_H)
CHECK_INCLUDE_FILES("expat.h" HAVE_EXPAT_H)
CHECK_INCLUDE_FILES("fuse/fuse_lowlevel.h" HAVE_FUSE_LOWLEVEL_H)
CHECK_INCLUDE_FILES("curl/curl.h" HAVE_FUSE_LOWLEVEL_H)
CHECK_INCLUDE_FILES("fuse/fuse.h" HAVE_FUSE_H)
CHECK_INCLUDE_FILES("google/profiler.h" HAVE_PROFILER_H)
CHECK_INCLUDE_FILES("libedit/vis.h" HAVE_LIBEDIT_VIS_H)
CHECK_INCLUDE_FILES("fcgi_config.h" HAVE_FASTCGI_CONFIG_H)
CHECK_INCLUDE_FILES("fastcgi.h" HAVE_FASTCGI_H)
CHECK_INCLUDE_FILES("fcgiapp.h" FASTCGI_FASTCGI_APP_DIR)
CHECK_INCLUDE_FILES("fcgimisc.h" HAVE_FASTCGI_MISC_H)
CHECK_INCLUDE_FILES("fcgio.h" HAVE_FASTCGIO_H)
CHECK_INCLUDE_FILES("fcgios.h" FASTCGI_FASTCGIOS_DIR)
CHECK_INCLUDE_FILES("fcgi_stdio.h" HAVE_FASTCGI_STDIO_H)
CHECK_INCLUDE_FILES("openssl/ssl.h" HAVE_SSL_H)
CHECK_INCLUDE_FILES("snappy.h" HAVE_SNAPPY_H)
CHECK_INCLUDE_FILES("uuid/uuid.h" HAVE_UUID_H)
CHECK_INCLUDE_FILES("atomic_ops.h" HAVE_ATOMIC_OPS)
CHECK_INCLUDE_FILES("keyutils.h" HAVE_KEYUTILS_H)

include(CheckSymbolExists)
CHECK_SYMBOL_EXISTS(__u8 "sys/types.h;linux/types.h" HAVE___U8)
CHECK_SYMBOL_EXISTS(__u64 "sys/types.h;linux/types.h" HAVE___U64)
CHECK_SYMBOL_EXISTS(__s64 "sys/types.h;linux/types.h" HAVE___S64)

set(CEPH_MAN_DIR "share/man" CACHE STRING "Install location for man pages (relative to prefix).")

option(ENABLE_SHARED "build shared libraries" ON)
if(${ENABLE_SHARED})
set(CEPH_SHARED SHARED)
else(${ENABLE_SHARED})
set(CEPH_SHARED STATIC)
endif(${ENABLE_SHARED})

find_package(udev REQUIRED)
set(HAVE_UDEV ${UDEV_FOUND})
message(STATUS "${UDEV_LIBS}")

option(WITH_AIO "AIO is here ON" ON)
if(${WITH_AIO})
find_package(aio REQUIRED)
set(HAVE_LIBAIO ${AIO_FOUND})
message(STATUS "${AIO_LIBS}")
endif(${WITH_AIO})

option(WITH_FUSE "Fuse is here" ON)
if(${WITH_FUSE})
find_package(fuse REQUIRED)
set(HAVE_LIBFUSE ${FUSE_FOUND})
CHECK_FUNCTION_EXISTS(fuse_getgroups HAVE_FUSE_GETGROUPS)
endif(${WITH_FUSE})

find_package(blkid REQUIRED)
set(HAVE_LIBBLKID ${BLKID_FOUND})

# probably fuse etc need this -- how to check? XXX
option(WITH_MDS "MDS is here" ON)

# needs mds and? XXX
option(WITH_CLIENT "Client is here" ON)
option(WITH_LIBCEPHFS "libcephfs client library" ON)

# key-value store
option(WITH_KVS "Key value store is here" ON)

# remote block storage
option(WITH_RBD "Remote block storage is here" ON)

option(WITH_LEVELDB "LevelDB is here" ON)
if(${WITH_LEVELDB})
find_package(leveldb REQUIRED)
set(HAVE_LIBLEVELDB ${LEVELDB_FOUND})
CHECK_INCLUDE_FILES("leveldb/filter_policy.h" HAVE_LEVELDB_FILTER_POLICY)
endif(${WITH_LEVELDB})

option(WITH_EXPAT "EXPAT is here" ON)
if(${WITH_EXPAT})
find_package(expat REQUIRED)
set(HAVE_EXPAT ${EXPAT_FOUND})
endif(${WITH_EXPAT})

option(WITH_FCGI "FCGI is here" ON)
if(${WITH_FCGI})
find_package(fcgi REQUIRED)
set(HAVE_FCGI ${FCGI_FOUND})
endif(${WITH_FCGI})

option(WITH_ATOMICS_OPS "Atomic Ops is here" ON)
if(${WITH_ATOMIC_OPS})
find_package(atomic_ops REQUIRED)
set(HAVE_ATOMIC_OPS ${ATOMIC_OPS_FOUND})
endif(${WITH_ATOMIC_OPS})

option(WITH_PROFILER "The Profiler is here" ON)
if(${WITH_PROFILER})
find_package(profiler REQUIRED)
set(HAVE_PROFILER ${PROFILER_FOUND})
endif(${WITH_PROFILER})

option(WITH_SNAPPY "Snappy is here" ON)
if(${WITH_SNAPPY})
find_package(snappy REQUIRED)
set(HAVE_LIBSNAPPY ${SNAPPY_FOUND})
endif(${WITH_SNAPPY})

option(WITH_TCMALLOC "Use TCMalloc as Allocator" ON)
if(${WITH_TCMALLOC})
find_package(tcmalloc REQUIRED)
set(HAVE_LIBTCMALLOC ${Tcmalloc_FOUND})
endif(${WITH_TCMALLOC})

option(USE_CRYPTOPP "Cryptopp is ON" ON)
find_package(cryptopp)
if(CRYPTOPP_FOUND)
MESSAGE(STATUS "${CRYPTOPP_LIBRARIES}")
set(CRYPTO_LIBS ${CRYPTOPP_LIBRARIES})
set(USE_NSS 0)
else()
MESSAGE(STATUS "Cryptopp not found using NSS instead")
find_package(NSS)
if(NSS_FOUND)
set(USE_NSS 1)
set(USE_CRYPTOPP 0)
find_package(NSPR)
if(NSPR_FOUND)
set(CRYPTO_LIBS ${NSS_LIBRARIES} ${NSPR_LIBRARIES})
#MESSAGE(STATUS "${CRYPTO_LIBS}")
#MESSAGE(STATUS "${NSS_INCLUDE_DIR} ${NSPR_INCLUDE_DIR}")
endif(NSPR_FOUND)
endif(NSS_FOUND)
endif(CRYPTOPP_FOUND)

option(WITH_XIO "Enable XIO messaging" ON)
if(WITH_XIO)
find_package(xio)
set(HAVE_XIO ${Xio_FOUND})
endif(WITH_XIO)

#option for RGW
option(WITH_RADOSGW "Rados Gateway is enabled" ON)

#option for CephFS
option(WITH_CEPHFS "CephFS is enabled" ON)

# Now create a useable config.h
configure_file(
${PROJECT_SOURCE_DIR}/src/include/config-h.in.cmake
${PROJECT_BINARY_DIR}/include/acconfig.h
)
include_directories(${PROJECT_BINARY_DIR}/include)

add_definitions(-D__linux__)

if(${ENABLE_SHARED})
set(Boost_USE_STATIC_LIBS OFF)
else(${ENABLE_SHARED})
set(Boost_USE_STATIC_LIBS ON)
endif(${ENABLE_SHARED})

set(Boost_USE_MULTITHREADED ON)
find_package(Boost COMPONENTS thread system regex REQUIRED)
include_directories(${Boost_INCLUDE_DIRS})

find_package(Threads REQUIRED)

# find out which platform we are building on
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
set(LINUX ON)
set(UNIX ON)
FIND_PACKAGE(Threads)
endif(${CMAKE_SYSTEM_NAME} MATCHES "Linux")

# find out which platform we are building on
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
set(OperatingSystem "Mac OS X")
endif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")

add_subdirectory(src)

# man pages must be preprocessed, not supported yet
#add_subdirectory(man)
8 changes: 8 additions & 0 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,13 @@ For documentation patches the the following guide will help you get started

`Documenting Ceph`_

Performance enhancements must come with test data and detailed
explanations.

Code cleanup is appreciated along with a patch that fixes a bug or
implements a feature. Except on rare occasions, code cleanup that only
involve coding style or whitespace modifications are discouraged,
primarily because they cause problems when rebasing and backporting.

.. _Submitting Patches: SubmittingPatches
.. _Documenting Ceph: doc/start/documenting-ceph.rst
5 changes: 4 additions & 1 deletion COPYING
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,16 @@ Files: doc/*
Copyright: (c) 2010-2012 New Dream Network and contributors
License: Creative Commons Attribution-ShareAlike (CC BY-SA)

Files: bin/git-archive-all.sh
License: GPL3

Files: src/mount/canonicalize.c
Copyright: Copyright (C) 1993 Rick Sladkey <[email protected]>
License: LGPL2 or later

Files: src/os/btrfs_ioctl.h
Copyright: Copyright (C) 2007 Oracle. All rights reserved.
License: GPL2
License: GPL2 (see COPYING-GPL2)

Files: src/include/ceph_hash.cc
Copyright: None
Expand Down
Loading