Commit Graph

43427 Commits

Author SHA1 Message Date
Kefu Chai
55b349043d Merge pull request #5457 from ceph/wip-cmake-vstart
Make vstart work with cmake out of tree builds

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-08-11 20:49:15 +08:00
Haomai Wang
a6ba518fc3 Merge pull request #5542 from l11625/master
The listen_sd of thread also can be zero when we call the processor::start function..

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
2015-08-11 16:57:08 +08:00
Kefu Chai
7ffcfdb6e7 Merge pull request #5533 from ceph/wip-fix-mon-join.joao
mon: Monitor: set MMonJoin's op type as service

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-08-11 16:26:41 +08:00
l11625
cabfd5c44b when the processor start ,listen_sd also can be zero. 2015-08-11 16:12:45 +08:00
Yan, Zheng
91337bdde3 Merge pull request #5480 from ceph/wip-12617
client: ignore permission check when fuse_default_permissions is on
2015-08-11 11:01:36 +08:00
Kefu Chai
f9368333a3 test/mon: add test for "mon add"
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-08-11 10:21:18 +08:00
Ken Dreyer
af336313fe Merge pull request #5344 from trhoden/update_debain_maintainer
debian: Update maintainers and uploaders

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2015-08-10 17:02:03 -06:00
John Wilkins
ff6e975850 Fixed mistaken reference to mon in osd section. Changed release name to hammer.
Fixes: #7807

Signed-off-by: John Wilkins <jowilkin@redhat.com>
2015-08-10 14:05:15 -07:00
Joao Eduardo Luis
c87130550b mon: Monitor: set MMonJoin's op type as service
Otherwise, when the MonmapMonitor's PaxosService::dispatch() handles the
message, it will assert (as it should) because the op is marked as being
a monitor op. And this function should never handle monitor ops.

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2015-08-10 18:21:31 +01:00
John Spray
ab31f14c4f Merge pull request #5353 from ceph/wip-pgls-filter-osd
Make PGLSFilter interface more flexible (for cephfs)

Reviewed-by: Sage Weil <sage@redhat.com>
2015-08-10 14:17:45 +01:00
John Spray
c747e29a66 vstart: detect CEPH_BIN in stop.sh too
...for the benefit of rbd.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-08-10 14:09:00 +01:00
John Spray
44ed436c79 ceph.in: detect paths in out of tree build
a la what we currently do for PYTHONPATH
and LD_LIBRARY_PATH, but for cmake out
of tree builds.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-08-10 14:09:00 +01:00
John Spray
0695d179ff vstart: detect and handle cmake environ
Signed-off-by: John Spray <john.spray@redhat.com>
2015-08-10 14:09:00 +01:00
John Spray
dac84a7aeb vstart: enable more path customization
...for working with out-of-tree builds.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-08-10 14:05:54 +01:00
John Spray
64255b965e Makefile: build ceph.in the cmake way
A little bit more of a tongue-twisting command line
to do string replacement, but saves us from having
separate ceph.in files for cmake vs autotools.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-08-10 14:05:53 +01:00
John Spray
6545981b21 ceph.in: use cmake-style substitution
Avoid need for separate ceph.in and ceph.in.cmake files.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-08-10 14:05:53 +01:00
John Spray
af31afa828 init-ceph.in: set executable bit
Scripts expect the generated init-ceph script
to be +x, and CMake does that if the file you
feed into it is +x.  This matches what we already
do with ceph.in.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-08-10 14:05:53 +01:00
John Spray
1f5ddbf7c9 CMake: build dencoder at src/ceph-dencoder
...instead of in src/test/dencoder.

While the source lives in test/, the dencoder tool is built
and distributed as a first class binary, so it's awkward for
paths in dev/test to have it in a unique location.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-08-10 14:05:53 +01:00
John Spray
9d17a65dbc Merge pull request #5522 from oritwas/wip-cmake-fix-mds
cmake: fix mds compilation and link

Reviewed-by: John Spray <john.spray@redhat.com>
2015-08-10 11:01:30 +01:00
Orit Wasserman
570887f16a cmake: fix mds compilation and link
Rename MDS.cc MDSDaemon.cc
Add missing files and match order to the Makefile

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2015-08-10 10:50:11 +02:00
Josh Durgin
b049c94903 Merge branch 'wip-vumrao-12111' of https://github.com/vumrao/ceph
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-08-09 23:01:01 -07:00
x11562
dcf20b356f rbd: creating refused, if feature is specified when the format is equal to 1
Signed-off-by: x11562 <xie.na@h3c.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-08-09 22:20:45 -07:00
Kefu Chai
281a3dde8f Merge pull request #5520 from badone/master
doc: remove duplicate word in Motivation section.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-08-10 11:26:38 +08:00
Yehuda Sadeh
8023f1db66 Merge pull request #4927 from wonzhq/snapset-obc
osd/ReplicatedPG: snapset is not persisted
2015-08-09 20:00:58 -07:00
Yan, Zheng
585b49f401 Merge pull request #5212 from ceph/wip-mds-refactor
mds: big refactor of MDS into MDSDaemon, MDSRank, MDSRank Dispatcher
2015-08-10 10:52:16 +08:00
Brad Hubbard
370e4a71a2 doc: remove duplicate word in Motivation section.
Remove to\nto typo in doc/dev/osd_internals/erasure_coding/pgbackend.rst

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2015-08-10 11:51:49 +10:00
Sage Weil
dc6d90cc08 Merge pull request #5517 from tchaikov/wip-cmake-remove-flat-index
cmake: remove Flat_index stuff

Reviewed-by: Sage Weil <sage@redhat.com>
2015-08-09 07:47:52 -04:00
Sage Weil
a85b921c39 Merge pull request #5515 from ceph/wip-make-check-fixes
several fixes for make check

Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
2015-08-09 07:45:15 -04:00
Sage Weil
6dd143d821 Merge pull request #4683 from ceph/wip-siddharth-security-fixes
Enable security hardening flags globally

Testedj-by: Kefu Chai <kchai@redhat.com>
2015-08-09 07:44:14 -04:00
Kefu Chai
140450209d cmake: remove Flat_index stuff
the Flat_index stuff was removed in 5df688a

Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-08-09 16:28:45 +08:00
Orit Wasserman
c74461e97e Merge pull request #5504 from tchaikov/wip-check-good-yasm
cmake: check for good yasm
2015-08-08 17:40:55 +02:00
Siddharth Sharma
2c6acfc9cb Removing unwanted -fPIC in cflags 2015-08-08 23:21:31 +08:00
Siddharth Sharma
e5569d4cd0 Removing unwanted -grecord-gcc-switches , relro in cflags and adding -fPIC 2015-08-08 23:21:31 +08:00
Siddharth Sharma
8f06d3eeb6 Enable security hardening flags globally 2015-08-08 23:21:31 +08:00
Kefu Chai
1b94f1c9bf Merge pull request #5293 from majianpeng/oprequest-markevent
osd: Oprequest markevent

Reviewed-by: Huang Jun <hjwsm1989@gmail.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2015-08-08 21:42:56 +08:00
Kefu Chai
67b001d8db Merge pull request #5267 from dachary/wip-12356-rados-osds-out-in
tests: test-erasure-code.sh/rados_osds_out_in must wait_for_clean

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-08-08 20:38:14 +08:00
Kefu Chai
e04f324b3c Merge pull request #4909 from zhouyuan/rgw_doc_bucket_index
doc: update rgw configuration doc on bucket index sharing feature

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-08-08 20:27:51 +08:00
Sage Weil
6b97addce7 test/encoding/check-generated: make error msg cut and pasteable
Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-08 07:45:52 -04:00
Sage Weil
34c048b3cb osd/HitSet: make subclasses dump deterministically
Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-08 07:45:52 -04:00
Sage Weil
d372718570 osd/HitSet: mark subclasses that encode nondeterministically
Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-08 07:45:52 -04:00
Sage Weil
3df6438cd2 mon/PGMap: dump osd_epochs in deterministic order
Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-08 07:36:20 -04:00
Sage Weil
62f94221c5 test/encoding/check-generated: skip some tests if non-determinstic encoding
Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-08 07:30:14 -04:00
Sage Weil
2bcab0319b ceph-dencoder: add 'is_deterministic' command
Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-08 07:30:12 -04:00
Sage Weil
9ea05223d1 ceph-dencoder: clean up macro name
Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-08 07:30:09 -04:00
Sage Weil
aaa5b75440 ceph-dencoder: mark PGMap with nondeterministic encoding
Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-08 07:30:03 -04:00
Sage Weil
82533aa4c4 test/encoding: c++11 STL appears to make fewer copies, yay
The failure was

test/encoding.cc:191: Failure
Value of: 10
Expected: my_key_t::get_copy_ctor()
Which is: 5
test/encoding.cc:196: Failure
Value of: 10
Expected: my_val_t::get_copy_ctor()
Which is: 5

Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-08 07:29:43 -04:00
Kefu Chai
e06046c3d9 cmake: check for good yasm
this enables faster crc32 calculation on x64 intel platforms,
see common/crc32c_intel_fast.c

Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-08-08 12:49:50 +08:00
Kefu Chai
281d45d2ad Merge pull request #5500 from oritwas/wip-cmake-isa
cmake: check for better yasm and fix isa

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-08-08 12:23:23 +08:00
Sage Weil
016a5d5db4 mon/PGMap: make PGMap dump osd_epochs too
Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-07 18:14:41 -04:00
Orit Wasserman
3092a18f6a cmake: check for better yasm and fix isa
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2015-08-07 22:02:43 +02:00