Commit Graph

71816 Commits

Author SHA1 Message Date
Kefu Chai
f23e4e79f8 Merge pull request #14953 from tchaikov/wip-librbd-silence-Wunused-var
librbd: silence -Wunused-variable warning

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-05-04 20:53:26 +08:00
Orit Wasserman
94d6eedd62 Merge pull request #14407 from cbodley/wip-rgw-admin-remote
rgw: fix handling of --remote in radosgw-admin period commands
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2017-05-04 15:31:40 +03:00
Kefu Chai
a7162c81e7 librbd: silence -Wunused-variable warning
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-05-04 19:49:42 +08:00
Orit Wasserman
144dc78f4a Merge pull request #11179 from rzarzynski/wip-rgw-swift-formpost
rgw: add support for FormPost of Swift API
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2017-05-04 14:22:58 +03:00
Kefu Chai
b6da0d3f8f Merge pull request #14949 from zhsj/fix-cryptopp-build
common: fix building against libcryptopp

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-04 19:18:43 +08:00
Shengjing Zhu
f031800760 common: fix building against libcryptopp
libnspr is only needed for libnss, move it to if defined(USE_NSS)
section.

ceph::crypto::shutdown's params should be same with declaration.

Signed-off-by: Shengjing Zhu <zhsj@umcloud.com>
2017-05-04 19:13:55 +08:00
Kefu Chai
3a659b8e3f Merge pull request #14923 from joscollin/wip-dmclocktest-function-error
dmclock: include missing <functional> header.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-04 19:11:24 +08:00
Kefu Chai
85c471caa2 Merge pull request #14948 from Liuchang0812/wip-kill-duplicated-cmake-commands
cmake: kill duplicated cmake commands

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-04 18:44:37 +08:00
Kefu Chai
54ba0b4c56 Merge pull request #14951 from smithfarm/wip-19853
cmake: align cmake names of library packages

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-04 18:20:00 +08:00
Orit Wasserman
c074d52198 Update rgw_rest.cc
fix indentation.
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2017-05-04 12:29:22 +03:00
Nathan Cutler
4acd2cef35 cmake: align cmake names of library packages
The cmake package names of libraries are case-sensitive. The name used in
FIND_PACKAGE_HANDLE_STANDARD_ARGS - e.g. "cryptopp" - must match the name used
in the module name - "Findcryptopp.cmake" - as well as the name used in
find_package() call - "find_package(cryptopp REQUIRED)"

Note that the term "package" here refers to a cmake abstraction, *not* an
actual RPM or Debian package.

Fixes: http://tracker.ceph.com/issues/19853
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-05-04 11:14:43 +02:00
liuchang0812
e2bb57b53b cmake: kill duplicated cmake commands
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-05-04 15:49:08 +08:00
Kefu Chai
e52f94463c Merge pull request #14947 from dmick/wip-arm-compressor
compressor/zlib: fix plugin for non-Intel arches

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-04 13:45:46 +08:00
Dan Mick
84e47f3e82 compressor/zlib: fix plugin for non-Intel arches
unittest_compressor was failing on arm64 because the zlib
compressor was never initialized, even though it works fine in
non-isal mode

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-05-03 20:17:32 -07:00
Sage Weil
813df820f3 Merge pull request #14363 from majianpeng/finisher-optimize
common/Finisher: batch handle perfcounter && only send signal when waiter existed.

Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-03 21:38:04 -05:00
Sage Weil
7e79a4eadc Merge pull request #14627 from badone/wip-peering-state-timing
osd: Implement peering state timing

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-05-03 21:37:39 -05:00
Sage Weil
1de3820063 Merge pull request #14709 from majianpeng/luestore-txc-finalize-kv
os/blueStore: In osd_tp_thread, call _txc_finalize_kv.

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2017-05-03 21:37:07 -05:00
Sage Weil
4a4f019418 Merge pull request #14932 from markhpc/wip-rocksdb-compaction-readahead
common/config_opts.h: compaction readahead for bluestore/rocksdb

Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-03 21:36:20 -05:00
Casey Bodley
c124b05e91 Merge pull request #14879 from wjwithagen/wip-wjw-reduce-noise-3
cls/log/cls_log.cc: reduce logging noise

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-05-03 13:19:29 -04:00
Kefu Chai
bd41cc3746 Merge pull request #14928 from drunkard/master
doc: remove deprecated subcommand in man/8/ceph.rst

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-04 00:31:21 +08:00
Yuri Weinstein
1cce4c7f68 Merge pull request #14723 from neha-ojha/objclass-sdk
osd: objclass sdk

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-03 09:28:59 -07:00
Yuri Weinstein
45d13a477a Merge pull request #14917 from yuriw/wip-add-overrite-cls
qa/added overrides

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-05-03 09:27:30 -07:00
Willem Jan Withagen
d76010900b cls/log/cls_log.cc: reduce logging noise
- The other reference in the source as already at 20.
      ./src/cls/timeindex/cls_timeindex.cc:85:
	CLS_LOG(20, "storing entry at %s", index.c_str());

   And we need not always know where in the log items are stored.
   So it looks like a leftover debug feature.

Fixes: http://tracker.ceph.com/issues/19835
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-05-03 18:07:23 +02:00
Kefu Chai
33cdc2aa0f Merge pull request #14913 from liewegas/wip-19826
mon: do not prime_pg_temp creating pgs; clean up pg create conditions

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-03 23:56:07 +08:00
Jianpeng Ma
fcc7799e0a common/Finisher: No waite_for_empty no signal.
Avoid every time to send a signal because wait_for_empty is rare event.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2017-05-03 23:37:52 +08:00
Casey Bodley
c61cdeeb99 radosgw-admin: 'period pull' reads endpoints from current period
by finding remote endpoints from the current period, 'period pull' no
longer needs to initialize RGWRados for zone[group]_conn_map

Fixes: http://tracker.ceph.com/issues/19554

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-05-03 10:52:33 -04:00
Casey Bodley
ec2a866cf7 radosgw-admin: commit_period gets remote connection from new period
Fixes: http://tracker.ceph.com/issues/19554

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-05-03 10:52:33 -04:00
Casey Bodley
416b41acea radosgw-admin: send_to_remote_gateway takes RGWRESTConn*
callers are responsible for providing their own remote connection

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-05-03 10:52:33 -04:00
Casey Bodley
f527342a8d radosgw-admin: get remote connections from given period/zonegroup
helper functions to create connections to arbitrary remotes, rather
than depending on RGWRados to construct them in zone[group]_conn_map

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-05-03 10:52:33 -04:00
Casey Bodley
d53c0591d4 rgw: enable move on RGWRESTConn
added custom move construct/assign because std::atomic is not movable

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-05-03 10:52:23 -04:00
Jianpeng Ma
ca9335c52f common/Finisher: batch handle perfcounter.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2017-05-03 22:13:34 +08:00
Jianpeng Ma
671fc9144c common/perf_counter: make tinc() handle batch-processing
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2017-05-03 22:13:31 +08:00
Mark Nelson
b110a353f0 common/config_opts.h: compaction readahead for bluestore/rocksdb
Signed-off-by: Mark Nelson <mnelson@redhat.com>
2017-05-03 07:34:55 -05:00
Mykola Golub
dd75531298 Merge pull request #14903 from dillaman/wip-19413
cls_rbd: default initialize snapshot namespace for legacy clients

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-05-03 15:25:12 +03:00
Mykola Golub
1698b8f13b Merge pull request #14875 from dillaman/wip-rbd-trash-parent
rbd: info command should indicate if parent is in trash

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-05-03 15:24:30 +03:00
Sage Weil
7d392de48b Merge pull request #14929 from tchaikov/wip-disable-isal-on-arm
test/compressor: disable isal tests if not available

Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-03 07:23:10 -05:00
Kefu Chai
b71ca04489 test/compressor: disable isal tests if not available
the isal-zlib compressor plugin is not supported on non-intel archs, and
if the user does not have a capable yasm compiler, neither will he/she
get this plugin.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-05-03 16:24:28 +08:00
Drunkard Zhang
2df20b2b4b doc: cleanup in doc/man/8/ceph.rst
Subcommand doc has been removed in 904913b37f,
this is cleanup.

Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
2017-05-03 15:45:35 +08:00
Jos Collin
e348713003 dmclock: ‘std::function’ has not been declared
The following error appears during make:

ceph/src/dmclock/test/test_test_client.cc:14:0:
ceph/src/dmclock/test/../sim/src/sim_recs.h:40:12: error: ‘std::function’ has not been declared
       std::function<void()> code) {

Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-05-03 10:18:54 +05:30
Yan, Zheng
d0b3d4aee0 Merge pull request #14822 from jan--f/fuse-normalize-wire-o_flags
fs/ceph-fuse: normalize file open flags on the wire
2017-05-03 11:11:57 +08:00
Kefu Chai
a9fdc4aad4 Merge pull request #14909 from joscollin/wip-dmclock-error
dmclock: error: ‘function’ in namespace ‘std’ does not name a template type

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-03 11:07:29 +08:00
Kefu Chai
c26d30de9e Merge pull request #14748 from smithfarm/wip-teuthology-worker
doc: mention teuthology-worker security group

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2017-05-03 11:01:20 +08:00
Sage Weil
d7cd4ad2e3 mon/OSDMonitor: skip new pgs for prime_pg_temp
If the pg didn't previously exist we don't need to (and can't) prime
pg_temp for it.  This avoids crashing on mapping.get().

Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-02 20:42:34 -05:00
Yuri Weinstein
9cb79d2fe3 qa/added overrides
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2017-05-02 15:06:49 -07:00
Casey Bodley
b4655405d5 Merge pull request #14412 from mikulely/cleanup-civetweb-port
rgw: drop unused port var

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-05-02 13:05:00 -04:00
Yuri Weinstein
279050e4eb Merge pull request #13451 from xiexingguo/wip-add-up-primary-sum
mon/PGMap: add up_primary pg number field for pg-dump cmd

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-02 09:09:10 -07:00
Yuri Weinstein
0fd1689cf8 Merge pull request #14497 from tchaikov/wip-pybind-better-error-msg
pybind: better error msg

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-05-02 09:07:29 -07:00
Yuri Weinstein
35171b97a3 Merge pull request #14687 from jcsp/wip-mgr-suite
qa/suites: move mgr tests into rados suite

Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-02 09:06:51 -07:00
Yuri Weinstein
3dbc29ba75 Merge pull request #14810 from liewegas/wip-status
mon: show inactive % in ceph status

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-02 09:06:13 -07:00
Yuri Weinstein
76e94a0a11 Merge pull request #14821 from badone/wip-no-death-coredumps
tests: Don't dump core when using EXPECT_DEATH

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-05-02 09:05:32 -07:00