]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Kefu Chai [Wed, 3 May 2017 08:21:52 +0000 (16:21 +0800)]
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>
Casey Bodley [Tue, 2 May 2017 17:05:00 +0000 (13:05 -0400)]
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>
Yuri Weinstein [Tue, 2 May 2017 16:09:10 +0000 (09:09 -0700)]
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>
Yuri Weinstein [Tue, 2 May 2017 16:07:29 +0000 (09:07 -0700)]
Merge pull request #14497 from tchaikov/wip-pybind-better-error-msg
pybind: better error msg
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Yuri Weinstein [Tue, 2 May 2017 16:06:51 +0000 (09:06 -0700)]
Merge pull request #14687 from jcsp/wip-mgr-suite
qa/suites: move mgr tests into rados suite
Reviewed-by: Sage Weil <sage@redhat.com>
Yuri Weinstein [Tue, 2 May 2017 16:06:13 +0000 (09:06 -0700)]
Merge pull request #14810 from liewegas/wip-status
mon: show inactive % in ceph status
Reviewed-by: Kefu Chai <kchai@redhat.com>
Yuri Weinstein [Tue, 2 May 2017 16:05:32 +0000 (09:05 -0700)]
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>
Yuri Weinstein [Tue, 2 May 2017 16:04:09 +0000 (09:04 -0700)]
Merge pull request #14857 from joscollin/wip-arch-cpuid
arch: use __get_cpuid instead of do_cpuid
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Tue, 2 May 2017 15:54:19 +0000 (10:54 -0500)]
Merge pull request #12669 from hjwsm1989/unfound-objects
osd/PG: fix possible overflow on unfound objects
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Sage Weil [Tue, 2 May 2017 15:53:26 +0000 (10:53 -0500)]
Merge pull request #12882 from wonzhq/pglog-fixes
osd: pglog trimming fixes
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 2 May 2017 15:51:37 +0000 (10:51 -0500)]
Merge pull request #14444 from liewegas/wip-past-intervals
osd: simplify past_intervals representation
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Tue, 2 May 2017 15:51:12 +0000 (10:51 -0500)]
Merge pull request #14898 from tchaikov/wip-clean-pending_created_pgs
mon/OSDMonitor: cleanup pending_created_pgs after done with it
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 2 May 2017 15:50:52 +0000 (10:50 -0500)]
Merge pull request #14904 from tchaikov/wip-19638-followon
osd: stop mgrc earlier in shutdown()
Reviewed-by: Sage Weil <sage@redhat.com>
Yuri Weinstein [Tue, 2 May 2017 15:25:16 +0000 (08:25 -0700)]
Merge pull request #14858 from dmick/wip-config-dump
mon/ConfigKeyService: add 'config-key dump' to show keys and vals
Reviewed-by: Sage Weil <sage@redhat.com>
Yuri Weinstein [Tue, 2 May 2017 15:23:59 +0000 (08:23 -0700)]
Merge pull request #14870 from smithfarm/wip-gperftools
build/ops: rpm: gperftools-devel >= 2.4
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Kefu Chai [Tue, 2 May 2017 06:41:19 +0000 (14:41 +0800)]
Merge pull request #14869 from wjwithagen/wip-wjw-cmake-uuid
cmake: fix the linked lib reference of unittest_rgw_crypto
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 2 May 2017 06:28:41 +0000 (14:28 +0800)]
Merge pull request #14900 from jupiturliu/organization_map
mailmap: add Alibaba into organization map
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 2 May 2017 03:05:54 +0000 (11:05 +0800)]
Merge pull request #14895 from liewegas/wip-19778
kv: move 'bluestore-kv' hackery out of KeyValueDB into ceph-kvstore-tool
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 2 May 2017 02:33:38 +0000 (10:33 +0800)]
Merge pull request #14853 from liewegas/wip-aio
os/fs/aio: use small_vector for aio_t; clean up header location
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 2 May 2017 01:34:53 +0000 (09:34 +0800)]
OSD: stop mgrc earlier in shutdown()
it's better this way, as MgrClient is more like an internal consumer
of the services offered by OSD, instead of service privider. it could
prevent future problem if we can stop it earlier in the shutdown
process.
see also: http://tracker.ceph.com/issues/19638
Signed-off-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Tue, 2 May 2017 01:31:43 +0000 (20:31 -0500)]
Merge pull request #14897 from tchaikov/wip-19814
mon/OSDMonitor: update creating_pgs using pending_creatings
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 2 May 2017 01:30:49 +0000 (20:30 -0500)]
Merge pull request #14889 from joscollin/wip-test-write-operations-warning
test: c_write_operations.cc: silence warning from -Wsign-compare
Sage Weil [Tue, 2 May 2017 01:30:35 +0000 (20:30 -0500)]
Merge pull request #14888 from joscollin/wip-test-read-operations-warning
test: c_read_operations.cc: silence warning from -Wsign-compare
Sage Weil [Tue, 2 May 2017 01:30:23 +0000 (20:30 -0500)]
Merge pull request #14799 from xiaoxichen/optimiztic_pg_active
osd/PG.cc: Optimistic estimation on PG.last_active
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 2 May 2017 01:30:03 +0000 (20:30 -0500)]
Merge pull request #14790 from wjwithagen/wip-wjw-cleanup-unused-variable-v2
common: Fix unused variable references warnings
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Tue, 2 May 2017 01:29:43 +0000 (20:29 -0500)]
Merge pull request #14330 from ivancich/wip-bring-in-dmclock
dmclock: initial commit of dmclock QoS library
Sage Weil [Tue, 2 May 2017 01:25:29 +0000 (20:25 -0500)]
Merge pull request #14896 from liewegas/wip-19638
osd: stop MgrClient callbacks on shutdown
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Tue, 2 May 2017 01:24:48 +0000 (20:24 -0500)]
Merge pull request #14899 from liewegas/wip-19433
ceph_test_rados_api_watch_notify: make LibRadosWatchNotify.Watch3Timeout tolerate thrashing
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Tue, 2 May 2017 01:23:52 +0000 (20:23 -0500)]
Merge pull request #14901 from liewegas/wip-19552
osdc/Objecter: fix pool dne corner case
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Tue, 2 May 2017 01:19:51 +0000 (09:19 +0800)]
Merge pull request #14881 from tchaikov/wip-crosscompiling-armhf
cmake: enable cross-compilation of boost
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Sage Weil [Mon, 1 May 2017 22:12:39 +0000 (17:12 -0500)]
Merge pull request #14788 from liewegas/wip-jewel-x-rgw
qa/suites/jewel-x/point-to-point: don't scane for keys on second s3tests either
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Mon, 1 May 2017 20:10:44 +0000 (15:10 -0500)]
osdc/Objecter: fix pool dne corner case
We have a request that is queued before a pool exists, there is one
epoch where it exists, and then the pool disappears again. The two maps
are processed at the same time. For the first we set needs_resend, map to
an osd, and remove from the homeless sessin. For the second, the pool
dne, we set osd back to -1, and send a map check request. Finally,
handle_osd_maps scans need_resend, sees the pool dne, and removes from
need_resend. The difference from the "usual" case is that we are neither
on the need_resend list nor on the homeless session.
Fix this by concluding immediately that the pool existed (briefly) and
then no longer exists.
Fixes: http://tracker.ceph.com/issues/19552
Signed-off-by: Sage Weil <sage@redhat.com>
James Liu [Mon, 1 May 2017 20:00:11 +0000 (13:00 -0700)]
doc:Adding Alibaba into organization map
Signed-off-by: James Liu <james.liu@alibaba-inc.com>
Sage Weil [Mon, 1 May 2017 17:21:30 +0000 (13:21 -0400)]
ceph_test_rados_api_watch_notify: make LibRadosWatchNotify.Watch3Timeout tolerate thrashing
If the PG moves we will reconnect and fail to time out.
Wait for longer so that we mask the effects of osd thrashing.
Fixes: http://tracker.ceph.com/issues/19433
Signed-off-by: Sage Weil <sage@redhat.com>
Kefu Chai [Mon, 1 May 2017 17:10:54 +0000 (01:10 +0800)]
mon/OSDMonitor: cleanup pending_created_pgs after done with it
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 1 May 2017 15:48:51 +0000 (23:48 +0800)]
mon/OSDMonitor: update creating_pgs using pending_creatings
* without this change, in OSDMonitor::update_pending_pgs(), creating_pgs
is updated directly without lock, and the change will be overwritten
with pending changes eventually. so we should update it using
pending_creatings
* also, should acquire the lock in OSDMonitor::send_pg_creates() when
reading creating_pgs_by_osd_epoch and createing_pgs.
Fixes: http://tracker.ceph.com/issues/19814
Signed-off-by: Kefu Chai <kchai@redhat.com>
Radoslaw Zarzynski [Mon, 1 May 2017 15:44:36 +0000 (17:44 +0200)]
Merge pull request #14775 from Jing-Scott/wip-con-obj-bulkupload
rgw: add support container and object levels of swift bulkupload
Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Kefu Chai [Mon, 1 May 2017 15:43:51 +0000 (23:43 +0800)]
Merge pull request #14892 from tchaikov/wip-kill-warnings
test: kill warnings
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Radoslaw Zarzynski [Mon, 1 May 2017 15:17:45 +0000 (17:17 +0200)]
Merge pull request #14750 from theanalyst/rgw/fix/frontend_array
rgw: civetweb don't go past the array index while calling mg_start
Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Casey Bodley [Mon, 1 May 2017 14:54:41 +0000 (10:54 -0400)]
Merge pull request #14359 from Jing-Scott/remove-zg-dup-post
rgw multisite: remove the redundant post in OPT_ZONEGROUP_MODIFY
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 1 May 2017 14:54:01 +0000 (10:54 -0400)]
Merge pull request #14390 from shashalu/drop-unused-param
rgw: drop unused param "bucket" from select_bucket_placement
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 1 May 2017 14:53:00 +0000 (10:53 -0400)]
Merge pull request #14839 from chardan/jfw-wip-halflife_atomic_t-ebirah
rgw: migrate atomic_t to std::atomic<> (ebirah)
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 1 May 2017 14:49:12 +0000 (10:49 -0400)]
Merge pull request #14845 from cbodley/wip-rgw-qa-s3tests
qa/rgw: add cluster name to path when s3tests scans rgw log
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Sage Weil [Mon, 1 May 2017 14:33:36 +0000 (10:33 -0400)]
osd: stop MgrClient callbacks on shutdown
Stop the MgrClient callbacks to report PG stats at the
start of shutdown() so that we don't get a callback
during/after we are done shutting down.
Protect the cb update with the MgrClient's lock so that
we don't race with MgrClient::send_report() itself.
Fixes: http://tracker.ceph.com/issues/19638
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 1 May 2017 14:24:03 +0000 (10:24 -0400)]
kv: move 'bluestore-kv' hackery out of KeyValueDB into ceph-kvstore-tool
This avoids contaminating libkv with ObjectStore/BlueStore. It also makes
the blustore kv startup slightly less weird (no need to skip the open
step).
Fixes: http://tracker.ceph.com/issues/19778
Signed-off-by: Sage Weil <sage@redhat.com>
Kefu Chai [Mon, 1 May 2017 04:44:19 +0000 (12:44 +0800)]
test/librados: silence -Woverloaded-virtual warning
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 1 May 2017 04:28:31 +0000 (12:28 +0800)]
test/librbd: silence warning from -Wsign-compare
Signed-off-by: Kefu Chai <kchai@redhat.com>
Matt Benjamin [Mon, 1 May 2017 14:09:10 +0000 (10:09 -0400)]
Merge pull request #14770 from rzarzynski/wip-rgw-19754
rgw: fix RadosGW hang during multi-chunk upload of AWSv4.
Sage Weil [Mon, 1 May 2017 11:55:30 +0000 (06:55 -0500)]
Merge pull request #14887 from liewegas/wip-kraken-x
qa/suites/upgrade/kraken-x: misc fixes
Sage Weil [Mon, 1 May 2017 11:43:53 +0000 (06:43 -0500)]
Merge pull request #14890 from xiexingguo/wip-fix-bluestore-typo
os/bluestore: fix typo(s/trasnaction/transaction/)
Willem Jan Withagen [Tue, 25 Apr 2017 19:55:27 +0000 (21:55 +0200)]
os/filestore/FileJournal.cc: fix unused warning
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
Willem Jan Withagen [Tue, 25 Apr 2017 19:30:56 +0000 (21:30 +0200)]
msg/async/net_handler.cc: fix unused reference for option
- If no option value is to be supplied or returned,
optval may be NULL
- ignore priority options for FreeBSD
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
Kefu Chai [Sat, 29 Apr 2017 18:03:31 +0000 (02:03 +0800)]
cmake: pass compiler and linker down to zstd
so it can respect the setting specfied by user.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 1 May 2017 04:27:44 +0000 (12:27 +0800)]
test/librbd: print uint64_t in a platform neutral way
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 29 Apr 2017 18:04:51 +0000 (02:04 +0800)]
crush: pass by const reference to kill compiling error
i have following error when compiling with gcc-6 on armhf
ceph/src/crush/CrushCompiler.cc: In member function 'int
CrushCompiler::decompile(std::ostream&)':
ceph/src/crush/CrushCompiler.cc:462:45: error: invalid initialization of
non-const reference of type 'std::pair<const long unsigned int,
crush_choo
se_arg_map>&' from an rvalue of type 'std::pair<const long unsigned int,
crush_choose_arg_map>'
int ret = decompile_choose_args(i, out);
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 29 Apr 2017 18:02:55 +0000 (02:02 +0800)]
cls/rbd: print uint64_t in a platform neutral way
Signed-off-by: Kefu Chai <kchai@redhat.com>
xie xingguo [Mon, 1 May 2017 07:32:59 +0000 (15:32 +0800)]
os/bluestore: fix typo(s/trasnaction/transaction/)
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Jos Collin [Mon, 1 May 2017 06:25:08 +0000 (11:55 +0530)]
test: c_write_operations.cc: silence warning from -Wsign-compare
The following warning appears during make:
ceph/src/googletest/googletest/include/gtest/gtest.h: In instantiation of ‘testing::AssertionResult testing::internal::CmpHelperEQ(const char*, const char*, const T1&, const T2&) [with T1 = long unsigned int; T2 = int]’:
ceph/src/googletest/googletest/include/gtest/gtest.h:1421:23: required from ‘static testing::AssertionResult testing::internal::EqHelper<lhs_is_null_literal>::Compare(const char*, const char*, const T1&, const T2&) [with T1 = long unsigned int; T2 = int; bool lhs_is_null_literal = false]’
ceph/src/test/librados/c_write_operations.cc:246:3: required from here
ceph/src/googletest/googletest/include/gtest/gtest.h:1392:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (lhs == rhs) {
~~~~^~~~~~
Signed-off-by: Jos Collin <jcollin@redhat.com>
Jos Collin [Mon, 1 May 2017 03:37:43 +0000 (09:07 +0530)]
test: silence warning from -Wsign-compare
The following warning appears during make:
In file included from ceph/src/test/librados/TestCase.h:9:0,
from ceph/src/test/librados/c_read_operations.cc:10:
ceph/src/googletest/googletest/include/gtest/gtest.h: In instantiation of ‘testing::AssertionResult testing::internal::CmpHelperEQ(const char*, const char*, const T1&, const T2&) [with T1 = int; T2 = long unsigned int]’:
ceph/src/googletest/googletest/include/gtest/gtest.h:1421:23: required from ‘static testing::AssertionResult testing::internal::EqHelper<lhs_is_null_literal>::Compare(const char*, const char*, const T1&, const T2&) [with T1 = int; T2 = long unsigned int; bool lhs_is_null_literal = false]’
ceph/src/test/librados/c_read_operations.cc:685:3: required from here
ceph/src/googletest/googletest/include/gtest/gtest.h:1392:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (lhs == rhs) {
~~~~^~~~~~
Signed-off-by: Jos Collin <jcollin@redhat.com>
Kefu Chai [Mon, 1 May 2017 01:15:18 +0000 (09:15 +0800)]
Merge pull request #14883 from tchaikov/wip-mgr-misc
mgr: Misc. bug fixes
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 30 Apr 2017 16:37:41 +0000 (00:37 +0800)]
Merge pull request #14878 from tchaikov/wip-19801
msg/simple: use my addr when setting sock priority
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Haomai Wang <haomai@xsky.com>
Kefu Chai [Sun, 30 Apr 2017 16:13:38 +0000 (00:13 +0800)]
Merge pull request #14884 from tchaikov/wip-singleton-bluestore-tests
qa/suites/rados/singleton-bluestore: concat settings
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Kefu Chai [Sun, 30 Apr 2017 15:19:05 +0000 (23:19 +0800)]
qa/suites/rados/singleton-bluestore: concat settings
otherwise the bluestore tests will fail with failures like
qa/workunits/cephtool/test.sh:1343: test_mon_osd_pool: ceph osd pool set ec_test allow_ec_overwrites true
Error EINVAL: pool must only be stored on bluestore for scrubbing to work: osd.1 uses filestore
qa/workunits/cephtool/test.sh:1343: test_mon_osd_pool: return 1
Signed-off-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Sun, 30 Apr 2017 15:02:44 +0000 (10:02 -0500)]
Merge pull request #14876 from liewegas/wip-bluestore-alloc
os/bluestore: roundoff bluefs allocs to bluefs_alloc_size
Reviewed-by: Sage Weil <sage@redhat.com>
Mykola Golub [Sun, 30 Apr 2017 06:59:52 +0000 (09:59 +0300)]
Merge pull request #14846 from dillaman/wip-rbd-cli
qa/workunits/rbd: increased trash deferment period
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
John Spray [Thu, 20 Apr 2017 21:31:10 +0000 (17:31 -0400)]
mon: tweak mgr status text
Previously at startup we saw contradictory status
that had a "no active mgr" health message and then
a line that said "active: x".
Mitigate that a bit by indicating that a !available
active daemon is starting up.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 20 Apr 2017 21:15:51 +0000 (17:15 -0400)]
mgr: fix message refcounting
Let's be consistent and push the m->put down into
the handle_(M<class>* m) functions the way
we do in the rest of the codebase.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Mon, 3 Apr 2017 18:27:02 +0000 (14:27 -0400)]
mgr: fix deadlock in dispatch
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 5 Apr 2017 23:58:36 +0000 (19:58 -0400)]
mgr: get fresh maps on second load of Mgr
I think we got away with this when Client::init was
re-initialising the MonClient, but now that (bogus)
stuff isn't happening any more as Client doesn't
init/teardown monc/objecter itself.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 5 Apr 2017 23:58:02 +0000 (19:58 -0400)]
vstart: fix mgr caps for MDS daemons
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Sun, 5 Mar 2017 15:38:36 +0000 (10:38 -0500)]
mgr: improve handle_command
Run the python module calls in a finisher so that
they don't block the daemonserver lock and so that
they can call back into mgr stuff if they need to.
Fix passing through commands to python modules, this
was giving EINVAL because only things with a MgrCommand
were getting let in.
Also fix get_command_descriptions, which was not
including the output of the formatter in the response.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Sun, 5 Mar 2017 15:38:36 +0000 (10:38 -0500)]
mon: don't enqueue periodic digest if one is already waiting
This was causing mons to send far more digest messages than
should have been sent. Could have been responsible for
reports of very high CPU consumption on the mgr daemon.
Fixes: http://tracker.ceph.com/issues/18994
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Sun, 5 Mar 2017 15:27:46 +0000 (10:27 -0500)]
common/finisher: use distinct lock names
Two Finishers should not be considered equivalent
for lockdep purposes: for example in mgr we have
our in-mgr Finisher, and then any finishers that
might be in libraries called by modules.
Signed-off-by: John Spray <john.spray@redhat.com>
Kefu Chai [Sat, 29 Apr 2017 18:01:33 +0000 (02:01 +0800)]
cmake: enable crosscompile of boost
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 29 Apr 2017 12:28:23 +0000 (20:28 +0800)]
Merge pull request #14837 from wjwithagen/wip-wjw-freebsd-ceph-disk-mpath
ceph-disk: ceph-disk on FreeBSD should not use mpath-code
Reviewed-by: Kefu Chai <kchai@redhat.com>
Willem Jan Withagen [Thu, 27 Apr 2017 14:36:21 +0000 (16:36 +0200)]
ceph-disk: ceph-disk on FreeBSD should not use mpath-code
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
Kefu Chai [Sat, 29 Apr 2017 05:26:36 +0000 (13:26 +0800)]
msg/async: refactor NetHandler::set_priority() to sync with msg/simple
so it's sync'ed with Pipe::set_socket_options()
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 29 Apr 2017 05:27:49 +0000 (13:27 +0800)]
msg/simple: use my addr when setting sock priority
actually we always fails to set ToS of listening
socket.
6f1037e22c2a304795895498cdc955e0ef80f8e3 reveals this issue.
Fixes: http://tracker.ceph.com/issues/19801
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 29 Apr 2017 04:39:24 +0000 (12:39 +0800)]
Merge pull request #14872 from tchaikov/wip-19770
qa/erasure-code: override min_size to 2
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Fri, 28 Apr 2017 14:20:14 +0000 (22:20 +0800)]
qa/erasure-code: override min_size to 2
so isa(k=2,m=1) can survive with 1 down OSD.
Fixes: http://tracker.ceph.com/issues/19770
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 28 Apr 2017 14:18:26 +0000 (22:18 +0800)]
qa/tasks/rados: add optional setting of "min_size"
this setting only affects the newly created pool
Fixes: http://tracker.ceph.com/issues/19770
Signed-off-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Sat, 29 Apr 2017 00:40:44 +0000 (19:40 -0500)]
Merge pull request #14758 from xiexingguo/fix-can_mark_out-output
mon/OSDMonitor: fix output func name in can_mark_out
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Sat, 29 Apr 2017 00:39:12 +0000 (19:39 -0500)]
Merge pull request #14847 from smithfarm/wip-19797
tests: rados: move cephtool.yaml to new singleton/bluestore subsuite
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 29 Apr 2017 00:38:30 +0000 (19:38 -0500)]
Merge pull request #14849 from tchaikov/wip-19787
mon/OSDMonitor: do not alter the "created" epoch of a pg
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 28 Apr 2017 21:51:33 +0000 (17:51 -0400)]
qa/suites/upgrade/kraken-x: limit fs matrix
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 28 Apr 2017 21:43:41 +0000 (16:43 -0500)]
Merge pull request #14161 from jcsp/wip-mgr-legacy-mds
mgr: fix metadata handling from old MDS daemons
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 28 Apr 2017 21:41:27 +0000 (16:41 -0500)]
Merge pull request #14706 from SUSE/wip-fix-19629
mgr: fix crash on set_config from python module with insufficient caps
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Fri, 28 Apr 2017 21:40:30 +0000 (16:40 -0500)]
Merge pull request #14855 from tchaikov/wip-increase-lec
mon/OSDMonitor: increase last_epoch_clean's lower bound if possible
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 28 Apr 2017 21:40:02 +0000 (16:40 -0500)]
Merge pull request #14859 from liewegas/wip-nonnull
librados: fix rados_pool_list when buf is null
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Fri, 28 Apr 2017 21:39:09 +0000 (16:39 -0500)]
Merge pull request #14860 from liupan1111/wip-fix-journal-sleep-performance
os/filestore: use new sleep strategy when io_submit gets EAGAIN.
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 28 Apr 2017 21:38:51 +0000 (16:38 -0500)]
Merge pull request #14862 from tchaikov/wip-templatize-intarith
include/intarith: templatize ctz/clz/cbits helpers
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 28 Apr 2017 21:38:33 +0000 (16:38 -0500)]
Merge pull request #14863 from tchaikov/wip-kill-clang-warnings
osd/OSDMap: should update input param if osd dne
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Sage Weil [Fri, 28 Apr 2017 21:38:06 +0000 (16:38 -0500)]
Merge pull request #14864 from renhwztetecs/renhw-wip-mgr-key
mgr: add mgr allow * to client.admin
Reviewed-by: Sage Weil <sage@redhat.com>
J. Eric Ivancich [Thu, 6 Apr 2017 13:12:31 +0000 (09:12 -0400)]
Modify ceph cmake files to bring in dmclock library and tests. Include
dmclock tests in ceph-test for builds.
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
J. Eric Ivancich [Fri, 28 Apr 2017 21:13:42 +0000 (17:13 -0400)]
J. Eric Ivancich [Fri, 28 Apr 2017 21:13:42 +0000 (17:13 -0400)]
Squashed 'src/dmclock/' content from commit
d6586d7
git-subtree-dir: src/dmclock
git-subtree-split:
d6586d73679f4a1bdf335235d309e2352f0c76c6
Ramesh Chander [Tue, 7 Feb 2017 03:27:31 +0000 (19:27 -0800)]
os/bluestore: roundoff bluefs allocs to bluefs_alloc_size
Signed-off-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
Dan Mick [Fri, 28 Apr 2017 18:40:36 +0000 (11:40 -0700)]
qa/workunits/mon/test_mon_config_key.py: add test for list and dump
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Mykola Golub [Fri, 28 Apr 2017 18:01:17 +0000 (21:01 +0300)]
Merge pull request #14832 from dillaman/wip-rbd-mirror-deletion
rbd-mirror: image deletions should be handled by assigned instance
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Yehuda Sadeh [Fri, 28 Apr 2017 16:39:59 +0000 (09:39 -0700)]
Merge pull request #14842 from cbodley/wip-rgw-admin-suite
qa/rgw: fix assertions in radosgw_admin task
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>