Kefu Chai
8b8646f7ac
test/librados: silence -Woverloaded-virtual warning
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-05-01 22:19:55 +08:00
Kefu Chai
c83c62ea9b
test/librbd: silence warning from -Wsign-compare
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-05-01 22:13:40 +08:00
Kefu Chai
5126f55319
test/librbd: print uint64_t in a platform neutral way
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-05-01 15:45:42 +08:00
Kefu Chai
c8ca98ed02
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>
2017-05-01 15:45:42 +08:00
Kefu Chai
4e0f7b48b0
cls/rbd: print uint64_t in a platform neutral way
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-05-01 15:45:42 +08:00
Kefu Chai
6b34e18e34
Merge pull request #14872 from tchaikov/wip-19770
...
qa/erasure-code: override min_size to 2
Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-29 12:39:23 +08:00
Kefu Chai
7424345c77
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>
2017-04-29 10:43:17 +08:00
Kefu Chai
5f50298025
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>
2017-04-29 10:39:02 +08:00
Sage Weil
a9bd266df0
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>
2017-04-28 19:40:44 -05:00
Sage Weil
4c41537556
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>
2017-04-28 19:39:12 -05:00
Sage Weil
b81caa017e
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>
2017-04-28 19:38:30 -05:00
Sage Weil
92b6227fcf
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>
2017-04-28 16:43:41 -05:00
Sage Weil
22ef06db64
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>
2017-04-28 16:41:27 -05:00
Sage Weil
11247bda59
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>
2017-04-28 16:40:30 -05:00
Sage Weil
827ac097db
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>
2017-04-28 16:40:02 -05:00
Sage Weil
c394d6a080
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>
2017-04-28 16:39:09 -05:00
Sage Weil
aefd3373aa
Merge pull request #14862 from tchaikov/wip-templatize-intarith
...
include/intarith: templatize ctz/clz/cbits helpers
Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-28 16:38:51 -05:00
Sage Weil
eaacbdf6a6
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>
2017-04-28 16:38:33 -05:00
Sage Weil
6648142207
Merge pull request #14864 from renhwztetecs/renhw-wip-mgr-key
...
mgr: add mgr allow * to client.admin
Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-28 16:38:06 -05:00
Mykola Golub
6258e4ccea
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>
2017-04-28 21:01:17 +03:00
Yehuda Sadeh
a5afab1086
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>
2017-04-28 09:39:59 -07:00
Sage Weil
d0b2e606f7
Merge pull request #14826 from tchaikov/wip-prime-pg-temp
...
mon/OSDMonitor: skip prime_pg_temp if mapping is prior to osdmap
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-04-28 11:27:22 -05:00
Sage Weil
e1065fed07
Merge pull request #14818 from tchaikov/wip-rocksdb
...
rocksdb: sync with upstream
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-04-28 11:26:54 -05:00
Yuri Weinstein
ebdce966de
Merge pull request #14817 from TsaiJin/wip-set-boolean-variable-with-boolean-value
...
osd: ReplicatedBackend::prep_push() remove redundant variable assignments
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-28 08:38:06 -07:00
Yuri Weinstein
75c1818f1e
Merge pull request #14835 from tchaikov/wip-19743
...
mgr: do shutdown using finisher so we can do it in the right order
Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-28 08:34:19 -07:00
Yuri Weinstein
5f6db0e81a
Merge pull request #14838 from liewegas/wip-mgr-dirs
...
debian/ceph-base.dirs: create bootstrap-mgr dirs
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2017-04-28 08:32:52 -07:00
Kefu Chai
7b676f4f0f
Merge pull request #14384 from hrchu/radosgw-admin-key
...
doc: rgw: Rewrite the key management
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-04-28 23:32:16 +08:00
Mykola Golub
59a48daec3
Merge pull request #14848 from dillaman/wip-19798
...
test: remove hard-coded image name from RBD metadata test
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-04-28 17:26:39 +03:00
Sage Weil
a07cacb9e3
Merge pull request #13315 from dang/wip-build-no-nss
...
cmake: Allow tests to build without NSS
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-28 08:47:46 -05:00
Sage Weil
bce9c53144
Merge pull request #14367 from mslovy/wip-fix-infinitloops
...
os/filestore: fix infinit loops in fiemap()
Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-28 08:47:05 -05:00
Sage Weil
e9fb6a06e0
Merge pull request #14391 from LiumxNL/wip-170407
...
mon/PGMonitor: fix wrongly report "pg stuck in inactive"
Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-28 08:46:47 -05:00
Sage Weil
2944c48d3f
Merge pull request #14675 from ifed01/wip-bluestore-nolock
...
os/bluestore: eliminate some excessive stuff
Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-28 08:46:23 -05:00
Nathan Cutler
e69a9763a0
tests: rados: move cephtool.yaml to new singleton/bluestore subsuite
...
cephtool.yaml is bluestore-only, yet it was in singleton/ which runs against a
generalized objectstore matrix.
Fixes: http://tracker.ceph.com/issues/19797
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-04-28 15:36:50 +02:00
Sage Weil
0530a24bb6
Merge pull request #14475 from liewegas/wip-message-compat-cruft
...
messages: remove compat cruft
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-28 08:30:19 -05:00
Igor Fedotov
6b457d168b
os/bluestore: move TransContext finalization out of osr_lock to avoid potential contention.
...
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
2017-04-28 04:30:25 -07:00
Igor Fedotov
ad9d87c87a
os/bluestore: get rid off Onode::flush_txn set.
...
It looks like flushing_count counter is enough.
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
2017-04-28 04:29:52 -07:00
huanwen ren
1cca970889
mgr: add mgr allow * to client.admin
...
Signed-off-by: huanwen ren ren.huanwen@zte.com.cn
2017-04-28 15:40:33 +08:00
Kefu Chai
c6337b4138
common/hobject: use string::append() to avoid temp object
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-04-28 14:41:42 +08:00
Kefu Chai
8f2537ff30
osd/OSDMap: should update input param if osd dne
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-04-28 14:17:54 +08:00
Kefu Chai
cd514ba8ed
common/obj_bencher: silence divide by zero warning
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-04-28 14:17:54 +08:00
Kefu Chai
62797368eb
test/test_async_driver: silence clang static analyzer warning
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-04-28 14:17:54 +08:00
Kefu Chai
14fc705698
bluestore: use std::atomic<uint8_t> for min_alloc_size_order
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-04-28 14:15:54 +08:00
Kefu Chai
2623fec1cd
include/intarith: templatize ctz/clz/cbits helpers
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-04-28 14:15:31 +08:00
Pan Liu
1e47403bfb
os/filestore: use new sleep strategy when io_submit gets EAGAIN.
...
Signed-off-by: Pan Liu <wanjun.lp@alibaba-inc.com>
2017-04-28 11:36:46 +08:00
Sage Weil
a8ca3de522
libcephfs: handle path==null to ceph_get_osd_crush_location
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-27 23:06:45 -04:00
Sage Weil
97c5f7f658
librados: fix rados_pool_list when buf is null
...
This was the original intent, but buf==NULL wasn't documented
and only half-way implemented.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-27 23:02:25 -04:00
Kefu Chai
1d642f248b
Merge pull request #14840 from drunkard/master
...
doc: style fix for doc/cephfs/client-config-ref.rst
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-28 10:57:53 +08:00
Drunkard Zhang
ab0310883e
doc: typo fixes in doc/cephfs/client-config-ref.rst
...
fixed:
Reference symbol, i.e. s/`/``/
Hyperlink typo at ``client_trace``
Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
2017-04-28 09:53:17 +08:00
Sage Weil
ebabb5fe77
Merge pull request #14302 from liewegas/wip-19452
...
osdc/Objecter: handle command target that goes down
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-04-27 20:02:38 -05:00
Kefu Chai
e15fda3e84
Merge pull request #14850 from tchaikov/wip-cmake
...
cmake: add "container" to required boost components
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-04-28 08:57:58 +08:00