Commit Graph

68747 Commits

Author SHA1 Message Date
Kefu Chai
1f82b9b944 qa/tasks/workunit: use the suite repo for cloning workunit
as "workunits" reside in ceph/qa/workunits, it's more intuitive to
respect suite-repo option when cloning workunits.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-16 15:05:51 +08:00
liuchang0812
da109b3139 common: add override for common submodule and misc
Fixes: http://tracker.ceph.com/issues/18922

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-02-16 13:32:22 +08:00
Kefu Chai
f91fa5ae96 Merge pull request #13406 from vumrao/wip-vumrao-18486
osd/Pool: Disallow enabling 'hashpspool' option to a pool without  '--yes-i-really-mean-it'

Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-16 12:48:20 +08:00
Kefu Chai
42d4bf760a Merge pull request #13370 from dreamhost/wip-18887
msg/simple/Pipe: support IPv6 QoS.

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-02-16 12:47:06 +08:00
Kefu Chai
fd8ab865f7 Merge pull request #13260 from wjwithagen/wip-wjw-freebsd-getopt-2
tools/scripts:"FreeBSD getopt is not compatible, use the one from packages"

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-16 12:44:18 +08:00
Sage Weil
e53af89bf3 Merge pull request #12144 from ifed01/wip-bluestore-no-blobdepth
os/bluestore: add new garbage collector

Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-15 21:51:57 -06:00
Sage Weil
3cbe67f436 Merge pull request #13390 from Liuchang0812/remove-header
os/bluestore: some cleanup 

Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-15 21:51:37 -06:00
Sage Weil
fd39516023 Merge pull request #13398 from liewegas/wip-pgnls-snaps
osd: drop support for listing objects at a given snap

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-02-15 21:51:16 -06:00
Sage Weil
829a08ff56 Merge pull request #13407 from liewegas/wip-osd-msgs
osd: change a few messages at level 0 and 1; change default level to 1/5

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-15 21:50:55 -06:00
Xiaoxi Chen
9466f2ebb6 mds/MDLog.cc Fix perf counter type for jlat
jlat (journal latency) should be PERFCOUNTER_TIME | PERFCOUNTER_LONGRUNAVG
instead of PERFCOUNTER_U64

Current code with PERFCOUNTER_U64 make PerfCounters::tinc return
directly thus jlat will always be zero.

Signed-off-by: Xiaoxi Chen <xiaoxchen@ebay.com>
2017-02-15 20:28:03 -07:00
xie xingguo
650d9d0e54 os/bluestore: add flush_store_cache cmd
We want this cmd for bluestore testing, e.g., to exclude the impact of
the bluestore internal cache without rebooting host.

e.g.:
[root@tecs131 ~]# ceph --admin-daemon /run/ceph/ceph-osd.1.asok perf dump | grep "bluestore_buffers"
        "bluestore_buffers": 3166,
[root@tecs131 ~]# ceph --admin-daemon /run/ceph/ceph-osd.1.asok flush_store_cache
[root@tecs131 ~]# ceph --admin-daemon /run/ceph/ceph-osd.1.asok perf dump | grep "bluestore_buffers"
        "bluestore_buffers": 95,

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-02-16 08:45:44 +08:00
Sage Weil
eb491a13dc Merge pull request #13235 from liewegas/wip-pg-split-interval
osd: have clients resend ops on pg split

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2017-02-15 16:20:18 -06:00
Sage Weil
e5056df48d Merge pull request #13445 from liewegas/wip-rgw-thrash
qa/suites/rgw/thrash: add osd thrashing tests

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-02-15 15:03:48 -06:00
Casey Bodley
5c9573ac25 Merge pull request #13434 from mikulely/cleanup-rgw-auth
rgw: cleanup unused var in rgw/rgw_rest_s3.cc

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-02-15 14:25:43 -05:00
Sage Weil
4f94a6e682 Merge pull request #13412 from yuyuyu101/wip-rdma-log
msg/async/rdma: add log to show correct destruct queuepair

Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-15 12:09:03 -06:00
Sage Weil
f5cfba602b qa/suites/rgw/thrash: add rgw with osd trashing test
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-15 12:07:20 -05:00
Sage Weil
967b3cbcb7 qa/suites/rgw/multifs: drop redundant civetweb override
This probably breaks the frontend/apache.yaml case.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-15 12:00:13 -05:00
Matt Benjamin
89aaa6d1a4 Merge pull request #13441 from Liuchang0812/cleanup-rgw
rgw: add override in rgw subsystem
2017-02-15 10:53:05 -05:00
John Spray
6d95cb8a1c Merge pull request #13438 from Liuchang0812/cleanup-mds
mds: add override in mds subsystem

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2017-02-15 15:25:26 +00:00
Kefu Chai
833b00c5c7 Merge pull request #13431 from tchaikov/wip-cython-cephfs-without-librados
pybind: cephfs should be built without librados / python-rados

Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
2017-02-15 23:22:59 +08:00
Sage Weil
cf171986a4 Merge pull request #13439 from Liuchang0812/cleanup-osd
osd: add override in osd subsystem

Reviewed-by: Sage Weil <sage@redhat.com.
2017-02-15 09:03:13 -06:00
Sage Weil
70581335ec Merge pull request #13436 from Liuchang0812/cleanup-mgr
mgr: add override in mgr subsystem

Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-15 09:01:37 -06:00
Sage Weil
efbc836519 Merge pull request #13440 from Liuchang0812/cleanup-mon
mon: add override in mon subsystem

Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-15 09:01:02 -06:00
Sage Weil
19ce1081ae Merge pull request #13442 from Liuchang0812/cleanup-librados
librados: add override for librados

Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-15 08:58:35 -06:00
Mykola Golub
22c2614195 Merge pull request #13421 from dillaman/wip-18935
qa/workunits/rbd: resolve potential rbd-mirror race conditions

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-02-15 16:00:45 +02:00
liuchang0812
87c4aaef1c librados: add override for librados
Fixes: http://tracker.ceph.com/issues/18922

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-02-15 21:42:02 +08:00
liuchang0812
491d653632 mgr: add override in mgr subsystem
Fixes: http://tracker.ceph.com/issues/18922

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-02-15 21:39:38 +08:00
liuchang0812
6a640d997d mds: add override in mds subsystem
Fixes: http://tracker.ceph.com/issues/18922

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-02-15 21:26:08 +08:00
Jianpeng Ma
61c33c74e8 common/TracepointProvider: add assert if dlopen error.
Because some reasons, if dlopen error the ceph-osd still work. But we
don't see related tracepoint by 'lttng list -u'. So add this assert to
make easily find the problem.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2017-02-15 21:23:34 +08:00
liuchang0812
a9b1d53d35 osd: add override in osd subsystem
Fixes: http://tracker.ceph.com/issues/18922

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-02-15 21:22:01 +08:00
Haomai Wang
602d8e523c msg/async/rdm: fix leak when existing failure in ip network
Signed-off-by: Haomai Wang <haomai@xsky.com>
2017-02-15 21:21:49 +08:00
liuchang0812
1effdfe19b mon: add override in mon subsystem
Fixes: http://tracker.ceph.com/issues/18922

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-02-15 21:18:22 +08:00
liuchang0812
cdc88879e0 rgw: add override in rgw subsystem
Fixes: http://tracker.ceph.com/issues/18922

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-02-15 21:15:38 +08:00
Bartłomiej Święcki
186998277f common: Fix clang compilation
Signed-off-by: Bartłomiej Święcki <bartlomiej.swiecki@corp.ovh.com>
2017-02-15 11:45:03 +01:00
Kefu Chai
df98e8be44 Merge pull request #13317 from ktdreyer/wip-doc-ms-bind-ipv6-exclusive
doc: clarify that "ms bind ipv6" disables IPv4

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kefu@redhat.com>
2017-02-15 17:45:54 +08:00
Jiaying Ren
018ab6f8e3 rgw: cleanup unused var in rgw/rgw_rest_s3.cc
Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
2017-02-15 17:33:08 +08:00
Loic Dachary
15dc6c23b2 Merge pull request #13424 from dachary/wip-crush-dprintk
crush: fix dprintk compilation

Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-15 09:56:22 +01:00
Jing Wenjun
e94e267c4d rgw: fix error code of inexistence of versions location in swift api
when the versions location of container does not exist and uploading the same
object two more times to the container, it will return 412 rather than 404
in openstack swift. Meanwhile, if the dest bucket owner is not consistent with
src bucket owner, it will return 412.

http://tracker.ceph.com/issues/18880
Signed-off-by: Jing Wenjun <jingwenjun@cmss.chinamobile.com>
2017-02-15 14:55:05 +08:00
Kefu Chai
a7f8390705 pybind: cephfs: do not link against librados
otherwise python-cephfs might fail to build with followin error:

Scanning dependencies of target cython3_cephfs
/usr/bin/ld: cannot find -lrados
collect2: error: ld returned 1 exit status

Link Error: Ceph FS library not found

and apparently, cephfs *can* be built without librados. it's only
dependency is libcephfs.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-15 14:50:59 +08:00
Kefu Chai
4b19aa513f pybind: cephfs: add docstring for LibCephFS's __init__()
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-15 14:50:59 +08:00
Kefu Chai
72b57b8f25 pybind: fix the cstr(auth_id, ..) call
so cstr() prints the right error message if auth_id does not look right.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-15 14:50:59 +08:00
Kefu Chai
221e4bd94e ceph.spec: python-cephfs no longer depends on python-rados
instead, it "Recommends" python-rados. as "Recommends:" is not supported on
older distros, only enable this on SuSE.

because python-cephfs *can* be used without python-rados. the
constructor of LibCephFS accepts a ceph.conf *or* a rados.Rados
instance.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-15 14:50:59 +08:00
Loic Dachary
f29b840c64 crush: fix dprintk compilation
The syntax error was not noticed because dprintk is a macro
and the code is discarded by default.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2017-02-14 23:49:16 +01:00
Jason Dillaman
34016f7441 test: fix unused function warnings due to explicit template instantiation
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-02-14 17:47:45 -05:00
Jason Dillaman
7c45b13e2b rbd-mirror: async mirror image refresh state machine
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-02-14 17:47:44 -05:00
Jason Dillaman
4b97611123 cls/rbd: async versions for dir_list and mirror_image_list
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-02-14 17:46:46 -05:00
Jason Dillaman
77d7d8f99d librbd: improved state tracking within object watcher
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-02-14 17:46:44 -05:00
Jason Dillaman
7565acc14f rbd-mirror: preliminary support to track multiple remote peer image sources
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-02-14 17:43:18 -05:00
Jason Dillaman
ced7187567 rbd-mirror: utilize global image id as internal unique key
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-02-14 17:43:16 -05:00
Jason Dillaman
c35d307c62 test: added missing IoCtx copy/assignment methods in librados_test_stub
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-02-14 17:41:23 -05:00