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
John Spray
dfbc6757f8
Merge pull request #13089 from jcsp/wip-18600
...
#18600 : Clear out tasks that don't make sense from multimds suite
Reviewed-by: Yan, Zheng <zyan@redhat.com>
2017-02-14 22:28:06 +00:00
John Spray
2db739ae42
Merge pull request #13093 from batrick/client-deadcode
...
client: remove dead log code
Reviewed-by: Yan, Zheng <zyan@redhat.com>
2017-02-14 22:25:31 +00:00
John Spray
c0bd882bca
Merge pull request #13272 from jcsp/wip-18830
...
mds: fix bad iterator dereference reported by coverity
Reviewed by: Yan, Zheng <zyan@redhat.com>
2017-02-14 22:24:53 +00:00
John Spray
feec28db03
Merge pull request #13347 from david-z/wip-straymanager-reuse-deleted-inode
...
mds/StrayManager: avoid reusing deleted inode in StrayManager::_purge_stray_logged
Reviewed-by: John Spray <john.spray@redhat.com>
2017-02-14 22:23:33 +00:00
Josh Durgin
e6f99240cc
Merge pull request #13417 from liewegas/wip-find-dups
...
script/find_dups_in_pg_log: scrip to find dup requests due to short pg logs
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-02-14 14:01:16 -08:00
Josh Durgin
1d27e61d47
Merge pull request #13419 from dmick/wip-17826
...
ceph_common.sh: fix syntax error
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-02-14 13:03:03 -08:00
Jason Dillaman
63eae97afc
qa/workunits/rbd: resolve potential rbd-mirror race conditions
...
Fixes: http://tracker.ceph.com/issues/18935
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-02-14 15:58:31 -05:00
Sage Weil
0f2dee9aa4
osd/PG: restrict want_acting to up+acting on recovery completion
...
On recovery completion we recalculate want_acting to see if we
should add recently backfilled osds into acting. However, at
this point we may have gotten infos from others OSDs outside
of up/acting that could be used for want_acting. We currently
assert that only up/acting osds are used in
PG::RecoveryState::Active::react(const AdvMap&), so we must
restrict want_acting to up/acting here.
We could remove this restriction, but it would mean
1) checking on every map change that want_acting hasn't been
invalidated, and if so, recalculating want_acting and requesting
a new pg_temp. Also, presumably
2) on each new info, checking whether we can construct a better
want_acting, and if so, doing it.
That would be a good thing, but is a more complicated change. In
reality this case comes up very rarely, so simply make our
post-recovery want_acting calculation limit itself to up+acting.
See 1db67c443d
for the assertion.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-14 15:00:09 -05:00
Dan Mick
fc28dcaed5
ceph_common.sh: fix syntax error
...
Introduced by 299b7d06ac
Fixes: http://tracker.ceph.com/issues/17826
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-02-14 10:44:36 -08:00
Yuri Weinstein
477356f19a
Merge pull request #13311 from asheplyakov/master-18820
...
ceph-osd: --flush-journal: sporadic segfaults on exit
Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-14 09:59:53 -08:00
Yuri Weinstein
5de6a0a4c1
Merge pull request #13307 from songbaisen/s12
...
osd: add is_split check before _start_split
Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-14 09:57:52 -08:00
Yuri Weinstein
079616ae74
Merge pull request #13326 from xiexingguo/wip-firstn
...
crush: do is_out test only if we do not collide
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Loic Dachary <loic@dachary.org>
2017-02-14 09:56:02 -08:00
Yuri Weinstein
58a0c327c8
Merge pull request #13328 from wonzhq/fix-rec-stat
...
osd: fix stat sum update of recovery pushing
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-02-14 09:54:10 -08:00
Yuri Weinstein
a7df1b2831
Merge pull request #13353 from wonzhq/wip-failed-push
...
osd: fix the setting of soid in sub_op_push
Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-14 09:52:42 -08:00
Sage Weil
e2b817a1ef
script/find_dups_in_pg_log: scrip to find dup requests due to short pg logs
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-14 12:45:29 -05:00
Jason Dillaman
61ac1b41da
Merge pull request #13389 from trociny/wip-rbd-nbd-unused_old_format
...
rbd-nbd: no need to check image format any more
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-02-14 11:42:22 -05:00
Casey Bodley
a89b728f75
Merge pull request #13248 from rzarzynski/wip-rgw-18796
...
rgw: improve handling of illformed Swift's container ACLs.
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-02-14 11:37:04 -05:00
Casey Bodley
827bb32aa9
Merge pull request #12810 from zhangsw/fix-rgw-datasync-errorlog
...
rgw: error_code in error log is not right when data sync fails.
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-02-14 11:36:04 -05:00
John Spray
71938e3c6d
Merge pull request #13394 from tchaikov/wip-18838
...
cmake: link consumers of libclient with libcommon
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2017-02-14 11:09:26 +00:00
Josh Durgin
4961f2ebd4
Merge pull request #11128 from tchaikov/wip-16091
...
mon/MonClient: hunt monitors in parallel
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-02-14 00:00:36 -08:00
Haomai Wang
6016e1d3bc
msg/async/rdma: add log to show correct destruct queuepair
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2017-02-14 14:30:38 +08:00
Kefu Chai
c3cca96d93
mon/MonClient: remove unnecessary helper functions
...
refactor _reopen_session() by removing wrapper around it.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-14 12:58:22 +08:00
Kefu Chai
8e019f661c
mon/MonClient: remove unnecessary include
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-14 12:58:22 +08:00
Kefu Chai
a2eb6ae3fb
mon/monclient: hunt for multiple monitor in parallel
...
* add an option "mon_client_hunt_parallel" for the maxmimum number of parallel
hunting sessions.
Fixes: http://tracker.ceph.com/issues/16091
Signed-off-by: Steven Dieffenbach <sdieffen@redhat.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-14 12:58:22 +08:00
Kefu Chai
8729e1eb9c
mon/MonClient: mark monc_lock a mutable
...
so we can label the getters of MonClient with the `const` specifier.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-14 12:58:22 +08:00
Kefu Chai
96862f8f29
mon/MonClient: use __func__ for function names
...
Signed-off-by: Steven Dieffenbach <sdieffen@redhat.com>
2017-02-14 12:58:22 +08:00