Commit Graph

44417 Commits

Author SHA1 Message Date
xiexingguo
ebfd750daf ReplicatedPG: remove unused local variables
remove some unused local variables.
Fixes: #13575
Signed-off-by: xie.xingguo@zte.com.cn
2015-10-23 15:54:27 +08:00
Kefu Chai
3868939fbd Merge pull request #5834 from ceph/wip-leveldb-hang
mon: MonitorDBStore: make get_next_key() work properly

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-09-09 12:46:03 +08:00
Kefu Chai
8e8d529fb3 Merge pull request #4955 from kylinstorage/librados-2read-segmentation-fault-v1
bug fix: librados segmentation fault, when two read ops share one Aio…

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-09-09 12:45:01 +08:00
Kefu Chai
915fd2c9a3 Merge pull request #4925 from XinzeChi/wip-hit-set-size
osd: fix hit_set_map size for tier pool

Reviewed-by: Sage Weil <sage@redhat.com>
2015-09-09 12:44:21 +08:00
Kefu Chai
61c7ac1c2b Merge pull request #5723 from H3C/wip-msg-bugfix1
msg: we should set the socket options before connect or listen in order to have it take effect.

Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-09-09 12:43:28 +08:00
Kefu Chai
120bd680c3 Merge pull request #5829 from dachary/wip-12731-jerasure-warnings
erasure-code: fix gf-complete warnings

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-09-09 12:41:58 +08:00
David Zafman
a05c4c00b4 Merge pull request #5781 from dzafman/wip-eccleanup
osd, test: Minor clean-up from fast-read and error handling ec changes

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-09-08 18:25:58 -07:00
Sage Weil
c2293104d2 Merge pull request #5838 from ceph/wip-12861
qa/workunits/rados/test_alloc_hint.sh: sudo to ls files

Reviewed-by: Sage Weil <sage@redhat.com>
2015-09-08 14:08:18 -04:00
Sage Weil
a7f1a3ac6c Merge pull request #5396 from XinzeChi/wip-scrub-promote
bug fix: osd: requeue_scrub when kick_object_context_blocked

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
2015-09-08 11:41:38 -04:00
Sage Weil
026012fd62 Merge pull request #5772 from yuyuyu101/wip-12912
AsyncConnection: Close connection when unregistered connection met WAIT
2015-09-08 11:41:06 -04:00
Yehuda Sadeh
ba0800354e Merge pull request #5733 from cxwshawn/rgw-fix
rgw: init_rados failed leads to repeated delete

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-09-08 08:39:43 -07:00
Yehuda Sadeh
02eefbf302 Merge pull request #5809 from rzarzynski/wip-rgw_putobj_debug_improvement
rgw: improve debugs in RGWPutObj and RGWPutObj_ObjStore_SWIFT.

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-09-08 08:35:46 -07:00
Orit Wasserman
16adf6c215 Merge pull request #5567 from guce/rgw_check_key_parameter_conflict
rgw: add key parameter conflict check for radosgw-admin command line.
2015-09-08 17:33:13 +02:00
Yehuda Sadeh
ce9fd79881 Merge pull request #5819 from rzarzynski/wip-12950
rgw: don't append empty ETag HTTP header.

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-09-08 08:17:24 -07:00
Sage Weil
c979130755 Merge remote-tracking branch 'gh/infernalis' 2015-09-08 11:02:54 -04:00
Kefu Chai
d32a3be1a6 qa/workunits/rados/test_alloc_hint.sh: sudo to ls files
The osd data dir is owned by ceph and not readable by other
non-root users.

Fixes: #12861
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-09-08 20:50:36 +08:00
Loic Dachary
49ee455b35 Merge pull request #5257 from t-miyamae/wip-mshec-fixlogic4
erasure code: shec performance optimization by decoding cache

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-09-08 13:52:05 +02:00
Xiaowei Chen
ab4232baa7 rgw: init_rados failed leads to repeated delete
Fixes: #12978

Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
2015-09-08 06:59:00 -04:00
Kefu Chai
ef9283ae90 Merge pull request #5463 from kylinstorage/wip-evict_ops
Allow evict operations to be throttled

Reviewed-by: Sage Weil <sage@redhat.com>
2015-09-08 17:29:29 +08:00
Kefu Chai
6cb448daf0 Merge pull request #5745 from ceph/wip-12904
osd: sparse reads returning invalid extent map

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-09-08 17:27:22 +08:00
Kefu Chai
fb2d4f2139 Merge pull request #5580 from xinxinsh/wip-merge-two-setattr
merge two continuous OP_SETATTR ops into one OP_SETATTRS

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-09-08 17:26:28 +08:00
Joao Eduardo Luis
02f4461cad test: mon: mon-scrub.sh: test 'mon scrub'
In its current state is used to catch regressions on 'ceph mon scrub'
hanging due to an infinite loop.

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2015-09-08 09:48:41 +01:00
Sage Weil
0200403bec Merge pull request #5785 from liewegas/wip-12861
qa/workunits/rados/test_alloc_hint.sh: sudo to list files
2015-09-07 10:40:37 -04:00
Joao Eduardo Luis
70d31082fd mon: MonitorDBStore: make get_next_key() work properly
We introduced a significant bug with 2cc7aee, when we fixed issue #11786.
Although that patch would fix the problem described in #11786, we
managed to not increment the iterator upon returning the current key.
This would have the iterator iterating over the same key, forever and
ever.

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2015-09-07 14:12:19 +01:00
Kefu Chai
5f2fca26e9 Merge pull request #5784 from dachary/wip-docker-helper
fix docker-test.sh for CentOS 7

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-09-07 19:45:51 +08:00
Loic Dachary
e8089049c3 tests: drop docker-tests.sh root and /dev support
Now that ceph-disk.sh activation tests switched to the ceph-disk suite
as found in https://github.com/ceph/ceph-qa-suite/tree/master/suites/ceph-disk,
it does not need for root and /dev support from docker-tests.sh. There
currently is no other use case and since it's generally not a good idea
to run anything as root in a container anyway.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-09-07 13:26:14 +02:00
Loic Dachary
bfde30db98 tests: CentOS 7 needs systemd-container
It is now needed by the Ceph dependencies and won't work unless the fake
version of it is replaced by the actual one.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-09-07 13:24:44 +02:00
Loic Dachary
f84be938c7 Merge pull request #5728 from trociny/wip-12706-infernalis
ceph-disk: use /sys/dev/block/maj:min/partition to see if partition

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-09-07 09:39:23 +02:00
Ruifeng Yang
438b4e43cb msg: we should set the socket options before connect or listen in order to have it take effect.
Signed-off-by: Ruifeng Yang <149233652@qq.com>
2015-09-07 09:05:49 +08:00
Loic Dachary
3aefd91a55 erasure-code: fix gf-complete warnings
Update to the latest gf-complete v2 branch which has the compilation
warning fixed. In addition the default compilation flag upstream has
been set to display such warnings.

git log --oneline --graph d384952c68a64d93ac7af6341d5519ea5d2958b9..9caeefbf2860e56a75502f4d3342deed5b5ba265
* 9caeefb add -Wsign-compare and address the warnings
* 5979f98 gf_w64.c: fix integer overflow
* 93a9845 gf_w64.c: fix integer overflow
* 513c87b gf_w64.c: fix integer overflow
* 4d6fa89 gf_w64.c: fix integer overflow

http://tracker.ceph.com/issues/12731 Fixes: #12731

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-09-07 00:40:29 +02:00
Sage Weil
4290d68959 Merge remote-tracking branch 'gh/infernalis' 2015-09-06 17:50:03 -04:00
Sage Weil
8962c041b2 Merge pull request #4895 from XinzeChi/wip-outdata-set
bug fix: osd: avoid multi set osd_op.outdata in tier pool

Reviewed-by: Sage Weil <sage@redhat.com>
2015-09-06 17:43:37 -04:00
Sage Weil
a51c133bff Merge pull request #5707 from athanatos/wip-12809
PG::handle_advance_map: on_pool_change after handling the map change

Reviewed-by: Sage Weil <sage@redhat.com>
2015-09-06 17:43:24 -04:00
Sage Weil
ef1e47572b Merge pull request #5751 from yuyuyu101/wip-12908
AsyncConnection: Don't use unsafe feature as message encode feature

Reviewed-by: Sage Weil <sage@redhat.com>
2015-09-06 17:42:48 -04:00
Sage Weil
52283b327c Merge remote-tracking branch 'gh/infernalis' 2015-09-06 14:19:39 -04:00
Sage Weil
82b0243ec3 qa/workunits/post-file.sh: sudo
Only root can read the key in /usr/share/...

Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-06 14:19:24 -04:00
Sage Weil
bfe359af0b osd: dump full map bl at 20 when crc doesn't match
This will help us debug cases where the encoding doesn't match due
to a bug.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-06 13:56:51 -04:00
Loic Dachary
b81cfa9067 Merge pull request #5827 from tchaikov/wip-doc-daemon
doc: fix the typo in command example

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-09-06 13:46:09 +02:00
Kefu Chai
351d957992 doc: fix the typo in command example
always indent using tab, the rendered html looks good, but it helps with
editor to highlight the codeblock properly.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-09-06 19:30:02 +08:00
Loic Dachary
8e86d1c45b Merge pull request #5817 from liewegas/wip-ceph-daemon
doc: 'ceph --admin-daemon ...' -> 'ceph daemon ...'

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-09-05 23:49:42 +02:00
Ken Dreyer
ed4cf3dcec Merge pull request #5193 from SUSE/wip-babeltrace-suse
ceph.spec.in: fix lttng/babeltrace conditionals

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2015-09-04 15:37:26 -06:00
Ken Dreyer
b08da2c622 Merge pull request #5796 from SUSE/wip-group-cond
ceph.spec.in: put distro conditionals around Group:

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2015-09-04 15:37:00 -06:00
Sage Weil
7d781f7a09 doc: 'ceph --admin-daemon ...' -> 'ceph daemon ...'
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-04 15:59:34 -04:00
Yehuda Sadeh
b3edcadcad Merge pull request #5624 from vumrao/wip-vumrao-12714
rgw : setting max number of buckets for users via ceph.conf option

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-09-04 11:11:03 -07:00
Nathan Cutler
1c522be109 ceph.spec.in: put distro conditional around Group:
Neither RHEL and Fedora require a Group: line, so retain
only for SLE/openSUSE (and set the right value for these distros)

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2015-09-04 20:07:13 +02:00
Ken Dreyer
8c17e01974 Merge pull request #5798 from SUSE/wip-fix-license
ceph.spec.in: fix License line

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2015-09-04 11:38:12 -06:00
Yehuda Sadeh
fdb6c74147 Merge pull request #5801 from dreamhost/wip-12939-header
Fix casing of Content-Type header

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-09-04 10:21:19 -07:00
Loic Dachary
669253c3a6 Merge pull request #5811 from vumrao/wip-vumrao-12944
doc: Add pgcalc tool link in placement-groups document

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-09-04 18:58:44 +02:00
Nathan Cutler
e267128ce2 ceph.spec.in: fix lttng/babeltrace conditionals
lttng and babeltrace are build dependencies for rbd-replay-prep. Make
sure the right package names are used. Enable for SLE12, as well as
for openSUSE 13.1 and higher.

Move the BuildRequires out of the ceph-test subpackage and into the
distro-conditional dependencies section.

Make ordering of BuildRequires a little more alphabetical.

http://tracker.ceph.com/issues/12360 Fixes: #12360

Signed-off-by: Nathan Cutler <ncutler@suse.com>

sqme
2015-09-04 17:57:02 +02:00
Ken Dreyer
74fc195abe Merge pull request #5791 from SUSE/wip-drop-lsb-release
ceph.spec.in: drop lsb-release dependency from ceph-common

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2015-09-04 09:48:17 -06:00