Commit Graph

67097 Commits

Author SHA1 Message Date
Zhang Shaowen
0781e00389 rgw: modify error code in lifecycle to be compatible with S3.
Signed-off-by: Zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
2017-01-17 10:44:31 +08:00
Zhang Shaowen
a142de3a9b rgw: remove useless length comparison in lifecycle validate.
Signed-off-by: Zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
2017-01-12 09:28:00 +08:00
Zhang Shaowen
7f0cf8e862 rgw: add lifecycle validation according to S3.
Fixes: http://tracker.ceph.com/issues/18394

Signed-off-by: Zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
2017-01-03 11:43:02 +08:00
Haomai Wang
32378addb2 Merge pull request #12648 from Adirl/fix_RoCEv2_deafult_value
msg/async/rdma: fix RoCE v2 deafult value

Reviewed-by: Haomai Wang <haomai@xsky.com>
2016-12-26 16:25:30 +08:00
Brad Hubbard
2488e29f2b Merge pull request #12657 from badone/wip-c_read_operations-valgrind-fixes
test/librados/c_read_operations.cc: Fix valgrind errors

Reviewed-by: liuchang0812 <liuchang0812@gmail.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-12-26 16:28:44 +10:00
Haomai Wang
b19bddf031 Merge pull request #12660 from liupan1111/wip-fix-dpdk-compile
async: Fixed compilation error when enable -DWITH_DPDK

Reviewed-by: Haomai Wang <haomai@xsky.com>
2016-12-26 14:02:34 +08:00
Pan Liu
0d4ded580d async: Fixed compilation error when enable -DWITH_DPDK
Signed-off-by: Pan Liu <pan.liu@istuary.com>
2016-12-26 10:29:21 +08:00
Brad Hubbard
8c90a2d207 test/librados/c_read_operations.cc: Fix valgrind errors
Fixes: http://tracker.ceph.com/issues/18354

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2016-12-26 09:27:25 +10:00
Orit Wasserman
aedd4a571c Merge pull request #12474 from cbodley/wip-rgw-test-versioned
test/rgw: add test for versioned object sync
Reviewed-by: Orit wasserman <owasserm@redhat.com>
2016-12-25 12:47:27 +02:00
Brad Hubbard
4afdefefb1 Merge pull request #12597 from badone/wip-osdmap-nocopy
osd/OSDMap: Uncomment code to enable private default constructors

Reviewed-by: Sage Weil <sage@redhat.com>
2016-12-25 08:21:39 +10:00
Sage Weil
b41fe6b44d Merge pull request #12642 from theanalyst/doc/release-notes/11.1.1
doc: release notes for v11.1.1
2016-12-23 23:22:56 -06:00
Sage Weil
e096f07f81 Merge pull request #12582 from Liuchang0812/fix-store-version-bug
os/filestore: version will be uninitialized varible if store_version doesn't exist

Reviewed-by: Sage Weil <sage@redhat.com>
2016-12-23 23:19:37 -06:00
Sage Weil
03e3a225fd Merge pull request #12581 from Liuchang0812/fix-clang-warn-filestore
os/filestore: fix clang static check warn "use-after-free“

Reviewed-by: Sage Weil <sage@redhat.com>
2016-12-23 23:19:15 -06:00
Sage Weil
2377a1d3cb Merge pull request #12517 from hjwsm1989/wip-18266
messages/MOSDPGTrim: add the missed HEAD_VERSION AND COMPAT_VERSION

Reviewed-by: Sage Weil <sage@redhat.com>
2016-12-23 23:17:42 -06:00
Sage Weil
8343d21359 Merge pull request #12518 from kylinstorage/wip-safe-read-cmd
common/admin-socket: fix potential buffer overflow

Reviewed-by: Sage Weil <sage@redhat.com>
2016-12-23 23:17:15 -06:00
Sage Weil
78736d5410 Merge pull request #12653 from wjwithagen/wjw-wip-denc-raw
src/test/test_denc.cc: Fix errors in buffer overflow

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2016-12-23 23:16:21 -06:00
Sage Weil
7bbb79adcb Merge pull request #12469 from bassam/pr-jemalloc-mallinfo
cmake: disable mallinfo for jemalloc

Reviewed-by: Sage Weil <sage@redhat.com>
2016-12-23 23:10:44 -06:00
Sage Weil
408c24dcb3 Merge pull request #12468 from bassam/pr-simplify-jemalloc
cmake: simplify find_package jemalloc

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-12-23 23:10:30 -06:00
Sage Weil
91707c6bb6 Merge pull request #12519 from hjwsm1989/pgbackfill
osd/PG: simplify the logic of backfill_targets checking

Reviewed-by: Sage Weil <sage@redhat.com>
2016-12-23 23:10:14 -06:00
Sage Weil
e6f496ceca Merge pull request #12585 from liewegas/wip-notify-ack
osd/osd_types: print notify-ack op properly
2016-12-23 22:54:23 -06:00
Sage Weil
42c33edf30 Merge pull request #12563 from xiexingguo/xxg-wip-osd-1217
common: make attempts of auth rotating configurable 

Reviewed-by: Sage Weil <sage@redhat.com>
2016-12-23 22:54:14 -06:00
Sage Weil
20a1f3d698 Merge pull request #11065 from LiumxNL/wip-fix-osdmap-update
mon/OSDMonitor: should propose osdmap update when cluster addr changed

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-12-23 22:53:58 -06:00
Sage Weil
cf8161f78c Merge pull request #12634 from liewegas/wip-bluestore-shard-keys
os/bluestore: do not cache shard keys

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Reviewed-by: Allen Samuels <allen.samuels@sandisk.com>
2016-12-23 22:53:08 -06:00
Sage Weil
29b7226a4b Merge pull request #12635 from liewegas/wip-bluestore-cache
os/bluestore: set cache meta ratio to .9

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2016-12-23 22:52:43 -06:00
Sage Weil
0ddbdf8628 Merge pull request #12644 from xiexingguo/xxg-wip-bluestore-keyreserve
os/bluestore: preallocate object[extent_shard] key to avoid reallocate

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-12-23 22:52:29 -06:00
Willem Jan Withagen
cb4950b3ae src/test/test_denc.cc: Fix errors in buffer overflow
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2016-12-24 00:46:54 +01:00
Sage Weil
f5f16ce8f9 os/bluestore: do not precalculate/cache shard keys
Note that we are generating it on demand now.  We can
probably do better, especially when in a loop.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-23 15:48:50 -05:00
Sage Weil
a03c5be452 Merge pull request #12149 from adamemerson/wip-g_ceph_context-exterminate
global: start removing g_ceph_context

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-12-23 08:40:48 -06:00
Sage Weil
6251ff6a3e Merge remote-tracking branch 'gh/kraken' 2016-12-23 09:37:23 -05:00
Sage Weil
2861a2188a Merge pull request #12630 from liewegas/wip-workunit-retry
qa/tasks/workunit: clear clone dir before retrying checkout

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-12-23 08:12:35 -06:00
Sage Weil
8bbdcae9b1 Merge pull request #12614 from liewegas/wip-task-peer
qa/tasks/peer: update task based on current peering behavior

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-12-23 08:11:36 -06:00
Haomai Wang
9dc43d3b32 Merge pull request #12559 from Adirl/verify_transport_type
msg/async: assert if compiled code doesn't support the configured ms_…

Reviewed-by: Haomai Wang <haomai@xsky.com>
2016-12-23 21:38:15 +08:00
Avner BenHanoch
e3b744a19d msg/async: assert if compiled code doesn't support the configured ms_async_transport_type
for example, currently there is a crash when using the async stack (access of null pointer)
in case the user configured rdma for a code that was not compiled with RDMA

issue: 913397

Change-Id: I4e3d88006312a713b8d3aaefbdcd0596039270e1
Signed-off-by: Avner BenHanoch <avnerb@mellanox.com>
2016-12-23 13:59:00 +02:00
Igor Fedotov
66deb1f7da Merge pull request #12643 from xiexingguo/xxg-wip-bluestore-1123
os/bluestore: remove intermediate key var to avoid string copy

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Reviewed-by: whu liuchang <liuchang0812@gmail.com>
2016-12-23 14:52:48 +03:00
Oren Duer
a7f177d1eb msg/async/rdma: fix RoCE v2 deafult value
For backward compatibility, if no GID given or given GID is malformed,
use GID index 0.

Change-Id: I8c8ecbcfc0261e58c5a226ef6bc91297ec756182
Signed-off-by: Oren Duer <oren@mellanox.com> Adir Lev <adirl@mellanox.com>
Signed-off-by: Adir Lev <adirl@mellanox.com>
2016-12-23 11:36:10 +00:00
xie xingguo
61bf533bc8 os/bluestore: preallocate object[extent_shard] key to avoid reallocate
which is less efficient.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-12-23 18:25:47 +08:00
xie xingguo
1e156feb9a os/bluestore: remove intermediate key var to avoid string copy
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-12-23 16:56:33 +08:00
Abhishek Lekshmanan
4753720f29 doc: release notes for v11.1.1
Signed-off-by: Abhishek Lekshmanan <alekshmanan@suse.com>
2016-12-23 12:29:51 +05:30
Xie Xingguo
69d57b77bd Merge pull request #12636 from badone/wip-doc-pg-states
doc: Remove "splitting" state

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-12-23 10:33:53 +08:00
Xie Xingguo
8eb2241240 Merge pull request #12543 from hjwsm1989/cleanup2
osd/ECBackend: remove unused variable "ReadCB"

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-12-23 08:57:03 +08:00
Brad Hubbard
c51a3afe03 doc: Remove "splitting" state
There is no splitting state so remove it from pg-states.rst

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2016-12-23 09:23:19 +10:00
Yuri Weinstein
779ce4c8c4 Merge pull request #12632 from liewegas/wip-centos-73
qa/suites: switch from centos 7.2 to 7.x

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
2016-12-22 15:19:07 -08:00
Sage Weil
926d27fc24 Merge remote-tracking branch 'gh/kraken'
# Conflicts:
#	src/os/bluestore/BlueStore.cc
2016-12-22 18:16:49 -05:00
Sage Weil
04dea97100 os/bluestore: set cache meta ratio to .9
More metadata, less data.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-22 17:47:18 -05:00
Sage Weil
004ef2c648 qa/distros: centos_7.yaml -> centos.yaml
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-22 17:19:42 -05:00
Sage Weil
e9f119bda7 qa/suites: centos_7.2.yaml -> centos_7.yaml
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-22 15:41:25 -05:00
Sage Weil
c168ce92aa qa/distros: add centos 7.3
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-22 15:39:41 -05:00
Sage Weil
6e7db2329b qa/distros: add centos 7 yaml; use that instead
No need to be picky about the point release here.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-22 15:39:35 -05:00
Adam C. Emerson
4e95986f20 msg: Remove mention of g_ceph_context
Since it won't exist any more there's no point in saying it can't be
relied on, now is there?

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2016-12-22 14:24:39 -05:00
Adam C. Emerson
f971d6489d objclass: Utterly destroy g_ceph_context
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2016-12-22 14:24:39 -05:00