]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agoos/bluestore:fix bug in aio_read() 13511/head
tangwenjun3 [Sat, 18 Feb 2017 03:07:19 +0000 (11:07 +0800)]
os/bluestore:fix bug in aio_read()

fixed compilation issue  in aio_read() when enable spdk

Signed-off-by: tangwenjun <tang.wenjun3@zte.com.cn>
8 years agoMerge pull request #13467 from liewegas/wip-init-ceph
Dan Mick [Fri, 17 Feb 2017 20:52:09 +0000 (12:52 -0800)]
Merge pull request #13467 from liewegas/wip-init-ceph

init-ceph: fix ceph user args

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agoMerge pull request #13495 from ceph/revert-13452-wip-suite-repo-for-workunit
Jason Dillaman [Fri, 17 Feb 2017 18:49:11 +0000 (13:49 -0500)]
Merge pull request #13495 from ceph/revert-13452-wip-suite-repo-for-workunit

Revert "qa/tasks/workunit: use the suite repo for cloning workunit"

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoRevert "qa/tasks/workunit: use the suite repo for cloning workunit" 13495/head
Sage Weil [Fri, 17 Feb 2017 17:54:27 +0000 (11:54 -0600)]
Revert "qa/tasks/workunit: use the suite repo for cloning workunit"

8 years agoMerge pull request #12370 from wido/docs-cephfs-disaster
John Spray [Fri, 17 Feb 2017 16:59:35 +0000 (16:59 +0000)]
Merge pull request #12370 from wido/docs-cephfs-disaster

doc: Update CephFS disaster recovery documentation

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #13456 from tchaikov/wip-qa-objectstore
Kefu Chai [Fri, 17 Feb 2017 15:16:05 +0000 (23:16 +0800)]
Merge pull request #13456 from tchaikov/wip-qa-objectstore

qa/suites/rados/objectstore: enable experimental features for testing bluestore

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13437 from Liuchang0812/cleanup-rbd
Jason Dillaman [Fri, 17 Feb 2017 13:03:24 +0000 (08:03 -0500)]
Merge pull request #13437 from Liuchang0812/cleanup-rbd

librbd: use 'override' keyword instead of 'virtual'

8 years agorbd: add override in rbd subsystem 13437/head
liuchang0812 [Wed, 15 Feb 2017 13:37:31 +0000 (21:37 +0800)]
rbd: add override in rbd subsystem

Fixes: http://tracker.ceph.com/issues/18922
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agoMerge pull request #11786 from leseb/dmcrypt-cluster-name
Loic Dachary [Fri, 17 Feb 2017 08:55:19 +0000 (09:55 +0100)]
Merge pull request #11786 from leseb/dmcrypt-cluster-name

ceph-disk: ability to use a different cluster name with dmcrypt

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agoMerge pull request #12433 from liupan1111/wip-fix-rbd-nbd-log-sock
Mykola Golub [Fri, 17 Feb 2017 07:54:03 +0000 (09:54 +0200)]
Merge pull request #12433 from liupan1111/wip-fix-rbd-nbd-log-sock

rbd-nbd: create admin socket only for map command

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoqa/workunits/objectstore/test_fuse.sh: enable experimental features 13456/head
Kefu Chai [Thu, 16 Feb 2017 09:27:16 +0000 (17:27 +0800)]
qa/workunits/objectstore/test_fuse.sh: enable experimental features

so we can test bluestore

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoqa/workunits/objectstore/test_fuse.sh: use portable function decl
Dan Mick [Thu, 16 Feb 2017 01:21:01 +0000 (17:21 -0800)]
qa/workunits/objectstore/test_fuse.sh: use portable function decl

function f() is illegal in strict POSIX shells, like dash, which is
the default /bin/sh on Ubuntu

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agoqa/workunits/objectstore/test_fuse.sh: allow failure
Dan Mick [Thu, 16 Feb 2017 04:08:31 +0000 (20:08 -0800)]
qa/workunits/objectstore/test_fuse.sh: allow failure

This script currently has a syntax error, but still exits with
success, which is hiding that failure.  Expose it by allowing
the 'sudo' exit code to be the script's exit code.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agoMerge pull request #12797 from chendave/wip_error_message
Kefu Chai [Fri, 17 Feb 2017 02:16:54 +0000 (10:16 +0800)]
Merge pull request #12797 from chendave/wip_error_message

ceph.in: Fix couple of minor issues on the messages

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13449 from xiaoxichen/mdlog_jlat
Xiaoxi Chen [Fri, 17 Feb 2017 02:12:13 +0000 (10:12 +0800)]
Merge pull request #13449 from xiaoxichen/mdlog_jlat

mds/MDLog.cc Fix perf counter type for jlat

8 years agoinit-ceph: fix ceph user args 13467/head
Sage Weil [Thu, 16 Feb 2017 23:12:43 +0000 (18:12 -0500)]
init-ceph: fix ceph user args

Broken by 299b7d06ac18c5cd30b8b65c7d25df9fc00287db

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13350 from Jing-Scott/fix-swift-ver-error-code
Radoslaw Zarzynski [Thu, 16 Feb 2017 17:23:02 +0000 (18:23 +0100)]
Merge pull request #13350 from Jing-Scott/fix-swift-ver-error-code

rgw: fix error code of inexistence of versions location in swift api

Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agoMerge pull request #13301 from wjwithagen/wip-wjw-freebsd-manpage-location
Kefu Chai [Thu, 16 Feb 2017 16:35:45 +0000 (00:35 +0800)]
Merge pull request #13301 from wjwithagen/wip-wjw-freebsd-manpage-location

doc: Have install put manpages in the FreeBSD correct location

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13200 from smithfarm/wip-17193-reenable-test
Nathan Cutler [Thu, 16 Feb 2017 16:22:50 +0000 (17:22 +0100)]
Merge pull request #13200 from smithfarm/wip-17193-reenable-test

tests: re-enable cephfs python tests on kclient

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
8 years agodoc: Have install put manpages in the FreeBSD correct location 13301/head
Willem Jan Withagen [Tue, 7 Feb 2017 22:42:41 +0000 (23:42 +0100)]
doc: Have install put manpages in the FreeBSD correct location

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
8 years agoMerge pull request #13452 from tchaikov/wip-suite-repo-for-workunit
Kefu Chai [Thu, 16 Feb 2017 15:40:15 +0000 (23:40 +0800)]
Merge pull request #13452 from tchaikov/wip-suite-repo-for-workunit

qa/tasks/workunit: use the suite repo for cloning workunit

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agorbd-nbd: no need create asok file for unmap and list-mapped commands. 12433/head
Pan Liu [Thu, 16 Feb 2017 14:17:52 +0000 (22:17 +0800)]
rbd-nbd: no need create asok file for unmap and list-mapped commands.

Fixes: http://tracker.ceph.com/issues/17951
Signed-off-by: Pan Liu <liupan1111@gmail.com>
8 years agoMerge pull request #13457 from craig08/wip-18954
Loic Dachary [Thu, 16 Feb 2017 12:56:15 +0000 (13:56 +0100)]
Merge pull request #13457 from craig08/wip-18954

ceph-disk: Fix getting wrong group name when --setgroup in bluestore

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agoMerge pull request #13443 from Liuchang0812/cleanup-common
Kefu Chai [Thu, 16 Feb 2017 11:49:53 +0000 (19:49 +0800)]
Merge pull request #13443 from Liuchang0812/cleanup-common

common: add override in common and misc

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoceph-disk: Fix getting wrong group name when --setgroup in bluestore 13457/head
craigchi [Thu, 16 Feb 2017 11:21:48 +0000 (19:21 +0800)]
ceph-disk: Fix getting wrong group name when --setgroup in bluestore

ceph-disk prepare --setgroup <GROUP NAME> will be wrong when using with
bluestore

Signed-off-by: craigchi <craig10624@gmail.com>
8 years agoMerge pull request #13454 from joscollin/joscollin-fix
Brad Hubbard [Thu, 16 Feb 2017 09:28:39 +0000 (19:28 +1000)]
Merge pull request #13454 from joscollin/joscollin-fix

os/FuseStore: include <functional> header in src/os/FuseStore.h for gcc 7.x

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoos/FuseStore: include <functional> header in src/os/FuseStore.h for gcc 7.x 13454/head
Jos Collin [Thu, 16 Feb 2017 07:48:16 +0000 (13:18 +0530)]
os/FuseStore: include <functional> header in src/os/FuseStore.h for gcc 7.x

This is done as per the Header Dependency Changes in gcc 7.
https://gcc.gnu.org/gcc-7/porting_to.html

Signed-off-by: Jos Collin <jcollin@redhat.com>
8 years agoMerge pull request #13416 from dillaman/wip-rbd-mirror-cleanup
Mykola Golub [Thu, 16 Feb 2017 07:35:24 +0000 (09:35 +0200)]
Merge pull request #13416 from dillaman/wip-rbd-mirror-cleanup

rbd-mirror: track images via global image id

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoqa/tasks/workunit: use the suite repo for cloning workunit 13452/head
Kefu Chai [Thu, 16 Feb 2017 07:05:28 +0000 (15:05 +0800)]
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>
8 years agocommon: add override for common submodule and misc 13443/head
liuchang0812 [Thu, 16 Feb 2017 02:49:13 +0000 (10:49 +0800)]
common: add override for common submodule and misc

Fixes: http://tracker.ceph.com/issues/18922
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agoMerge pull request #13406 from vumrao/wip-vumrao-18486
Kefu Chai [Thu, 16 Feb 2017 04:48:20 +0000 (12:48 +0800)]
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>
8 years agoMerge pull request #13370 from dreamhost/wip-18887
Kefu Chai [Thu, 16 Feb 2017 04:47:06 +0000 (12:47 +0800)]
Merge pull request #13370 from dreamhost/wip-18887

msg/simple/Pipe: support IPv6 QoS.

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoMerge pull request #13260 from wjwithagen/wip-wjw-freebsd-getopt-2
Kefu Chai [Thu, 16 Feb 2017 04:44:18 +0000 (12:44 +0800)]
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>
8 years agoMerge pull request #12144 from ifed01/wip-bluestore-no-blobdepth
Sage Weil [Thu, 16 Feb 2017 03:51:57 +0000 (21:51 -0600)]
Merge pull request #12144 from ifed01/wip-bluestore-no-blobdepth

os/bluestore: add new garbage collector

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13390 from Liuchang0812/remove-header
Sage Weil [Thu, 16 Feb 2017 03:51:37 +0000 (21:51 -0600)]
Merge pull request #13390 from Liuchang0812/remove-header

os/bluestore: some cleanup

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13398 from liewegas/wip-pgnls-snaps
Sage Weil [Thu, 16 Feb 2017 03:51:16 +0000 (21:51 -0600)]
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>
8 years agoMerge pull request #13407 from liewegas/wip-osd-msgs
Sage Weil [Thu, 16 Feb 2017 03:50:55 +0000 (21:50 -0600)]
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>
8 years agomds/MDLog.cc Fix perf counter type for jlat 13449/head
Xiaoxi Chen [Thu, 16 Feb 2017 03:28:03 +0000 (20:28 -0700)]
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>
8 years agoMerge pull request #13235 from liewegas/wip-pg-split-interval
Sage Weil [Wed, 15 Feb 2017 22:20:18 +0000 (16:20 -0600)]
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>
8 years agoMerge pull request #13445 from liewegas/wip-rgw-thrash
Sage Weil [Wed, 15 Feb 2017 21:03:48 +0000 (15:03 -0600)]
Merge pull request #13445 from liewegas/wip-rgw-thrash

qa/suites/rgw/thrash: add osd thrashing tests

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #13434 from mikulely/cleanup-rgw-auth
Casey Bodley [Wed, 15 Feb 2017 19:25:43 +0000 (14:25 -0500)]
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>
8 years agoMerge pull request #13412 from yuyuyu101/wip-rdma-log
Sage Weil [Wed, 15 Feb 2017 18:09:03 +0000 (12:09 -0600)]
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>
8 years agoqa/suites/rgw/thrash: add rgw with osd trashing test 13445/head
Sage Weil [Wed, 15 Feb 2017 17:07:20 +0000 (12:07 -0500)]
qa/suites/rgw/thrash: add rgw with osd trashing test

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/suites/rgw/multifs: drop redundant civetweb override
Sage Weil [Wed, 15 Feb 2017 17:00:13 +0000 (12:00 -0500)]
qa/suites/rgw/multifs: drop redundant civetweb override

This probably breaks the frontend/apache.yaml case.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13441 from Liuchang0812/cleanup-rgw
Matt Benjamin [Wed, 15 Feb 2017 15:53:05 +0000 (10:53 -0500)]
Merge pull request #13441 from Liuchang0812/cleanup-rgw

rgw: add override in rgw subsystem

8 years agoMerge pull request #13438 from Liuchang0812/cleanup-mds
John Spray [Wed, 15 Feb 2017 15:25:26 +0000 (15:25 +0000)]
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>
8 years agoMerge pull request #13431 from tchaikov/wip-cython-cephfs-without-librados
Kefu Chai [Wed, 15 Feb 2017 15:22:59 +0000 (23:22 +0800)]
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>
8 years agoMerge pull request #13439 from Liuchang0812/cleanup-osd
Sage Weil [Wed, 15 Feb 2017 15:03:13 +0000 (09:03 -0600)]
Merge pull request #13439 from Liuchang0812/cleanup-osd

osd: add override in osd subsystem

Reviewed-by: Sage Weil <sage@redhat.com.
8 years agoMerge pull request #13436 from Liuchang0812/cleanup-mgr
Sage Weil [Wed, 15 Feb 2017 15:01:37 +0000 (09:01 -0600)]
Merge pull request #13436 from Liuchang0812/cleanup-mgr

mgr: add override in mgr subsystem

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13440 from Liuchang0812/cleanup-mon
Sage Weil [Wed, 15 Feb 2017 15:01:02 +0000 (09:01 -0600)]
Merge pull request #13440 from Liuchang0812/cleanup-mon

mon: add override in mon subsystem

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13442 from Liuchang0812/cleanup-librados
Sage Weil [Wed, 15 Feb 2017 14:58:35 +0000 (08:58 -0600)]
Merge pull request #13442 from Liuchang0812/cleanup-librados

librados: add override for librados

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13421 from dillaman/wip-18935
Mykola Golub [Wed, 15 Feb 2017 14:00:45 +0000 (16:00 +0200)]
Merge pull request #13421 from dillaman/wip-18935

qa/workunits/rbd: resolve potential rbd-mirror race conditions

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agolibrados: add override for librados 13442/head
liuchang0812 [Wed, 15 Feb 2017 13:42:02 +0000 (21:42 +0800)]
librados: add override for librados

Fixes: http://tracker.ceph.com/issues/18922
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agomgr: add override in mgr subsystem 13436/head
liuchang0812 [Wed, 15 Feb 2017 13:39:38 +0000 (21:39 +0800)]
mgr: add override in mgr subsystem

Fixes: http://tracker.ceph.com/issues/18922
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agomds: add override in mds subsystem 13438/head
liuchang0812 [Wed, 15 Feb 2017 13:26:08 +0000 (21:26 +0800)]
mds: add override in mds subsystem

Fixes: http://tracker.ceph.com/issues/18922
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agoosd: add override in osd subsystem 13439/head
liuchang0812 [Wed, 15 Feb 2017 13:22:01 +0000 (21:22 +0800)]
osd: add override in osd subsystem

Fixes: http://tracker.ceph.com/issues/18922
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agomon: add override in mon subsystem 13440/head
liuchang0812 [Wed, 15 Feb 2017 13:18:22 +0000 (21:18 +0800)]
mon: add override in mon subsystem

Fixes: http://tracker.ceph.com/issues/18922
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agorgw: add override in rgw subsystem 13441/head
liuchang0812 [Wed, 15 Feb 2017 13:15:38 +0000 (21:15 +0800)]
rgw: add override in rgw subsystem

Fixes: http://tracker.ceph.com/issues/18922
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agoMerge pull request #13317 from ktdreyer/wip-doc-ms-bind-ipv6-exclusive
Kefu Chai [Wed, 15 Feb 2017 09:45:54 +0000 (17:45 +0800)]
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>
8 years agorgw: cleanup unused var in rgw/rgw_rest_s3.cc 13434/head
Jiaying Ren [Wed, 15 Feb 2017 09:33:08 +0000 (17:33 +0800)]
rgw: cleanup unused var in rgw/rgw_rest_s3.cc

Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
8 years agoMerge pull request #13424 from dachary/wip-crush-dprintk
Loic Dachary [Wed, 15 Feb 2017 08:56:22 +0000 (09:56 +0100)]
Merge pull request #13424 from dachary/wip-crush-dprintk

crush: fix dprintk compilation

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agorgw: fix error code of inexistence of versions location in swift api 13350/head
Jing Wenjun [Fri, 10 Feb 2017 09:21:41 +0000 (17:21 +0800)]
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>
8 years agopybind: cephfs: do not link against librados 13431/head
Kefu Chai [Wed, 15 Feb 2017 06:10:34 +0000 (14:10 +0800)]
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>
8 years agopybind: cephfs: add docstring for LibCephFS's __init__()
Kefu Chai [Wed, 15 Feb 2017 06:12:29 +0000 (14:12 +0800)]
pybind: cephfs: add docstring for LibCephFS's __init__()

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agopybind: fix the cstr(auth_id, ..) call
Kefu Chai [Wed, 15 Feb 2017 06:11:10 +0000 (14:11 +0800)]
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>
8 years agoceph.spec: python-cephfs no longer depends on python-rados
Kefu Chai [Wed, 15 Feb 2017 06:22:25 +0000 (14:22 +0800)]
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>
8 years agocrush: fix dprintk compilation 13424/head
Loic Dachary [Tue, 14 Feb 2017 22:49:16 +0000 (23:49 +0100)]
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>
8 years agotest: fix unused function warnings due to explicit template instantiation 13416/head
Jason Dillaman [Wed, 7 Dec 2016 14:07:47 +0000 (09:07 -0500)]
test: fix unused function warnings due to explicit template instantiation

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agorbd-mirror: async mirror image refresh state machine
Jason Dillaman [Tue, 22 Nov 2016 20:11:02 +0000 (15:11 -0500)]
rbd-mirror: async mirror image refresh state machine

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agocls/rbd: async versions for dir_list and mirror_image_list
Jason Dillaman [Tue, 22 Nov 2016 19:01:30 +0000 (14:01 -0500)]
cls/rbd: async versions for dir_list and mirror_image_list

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agolibrbd: improved state tracking within object watcher
Jason Dillaman [Tue, 22 Nov 2016 18:47:50 +0000 (13:47 -0500)]
librbd: improved state tracking within object watcher

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agorbd-mirror: preliminary support to track multiple remote peer image sources
Jason Dillaman [Mon, 28 Nov 2016 18:38:18 +0000 (13:38 -0500)]
rbd-mirror: preliminary support to track multiple remote peer image sources

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agorbd-mirror: utilize global image id as internal unique key
Jason Dillaman [Tue, 22 Nov 2016 15:57:57 +0000 (10:57 -0500)]
rbd-mirror: utilize global image id as internal unique key

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agotest: added missing IoCtx copy/assignment methods in librados_test_stub
Jason Dillaman [Mon, 28 Nov 2016 18:36:01 +0000 (13:36 -0500)]
test: added missing IoCtx copy/assignment methods in librados_test_stub

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #13089 from jcsp/wip-18600
John Spray [Tue, 14 Feb 2017 22:28:06 +0000 (22:28 +0000)]
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>
8 years agoMerge pull request #13093 from batrick/client-deadcode
John Spray [Tue, 14 Feb 2017 22:25:31 +0000 (22:25 +0000)]
Merge pull request #13093 from batrick/client-deadcode

client: remove dead log code

Reviewed-by: Yan, Zheng <zyan@redhat.com>
8 years agoMerge pull request #13272 from jcsp/wip-18830
John Spray [Tue, 14 Feb 2017 22:24:53 +0000 (22:24 +0000)]
Merge pull request #13272 from jcsp/wip-18830

mds: fix bad iterator dereference reported by coverity

Reviewed by: Yan, Zheng <zyan@redhat.com>

8 years agoMerge pull request #13347 from david-z/wip-straymanager-reuse-deleted-inode
John Spray [Tue, 14 Feb 2017 22:23:33 +0000 (22:23 +0000)]
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>
8 years agoMerge pull request #13417 from liewegas/wip-find-dups
Josh Durgin [Tue, 14 Feb 2017 22:01:16 +0000 (14:01 -0800)]
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>
8 years agoMerge pull request #13419 from dmick/wip-17826
Josh Durgin [Tue, 14 Feb 2017 21:03:03 +0000 (13:03 -0800)]
Merge pull request #13419 from dmick/wip-17826

ceph_common.sh: fix syntax error

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoqa/workunits/rbd: resolve potential rbd-mirror race conditions 13421/head
Jason Dillaman [Mon, 21 Nov 2016 20:31:43 +0000 (15:31 -0500)]
qa/workunits/rbd: resolve potential rbd-mirror race conditions

Fixes: http://tracker.ceph.com/issues/18935
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
8 years agoceph_common.sh: fix syntax error 13419/head
Dan Mick [Tue, 14 Feb 2017 18:44:36 +0000 (10:44 -0800)]
ceph_common.sh: fix syntax error

Introduced by 299b7d06ac18c5cd30b8b65c7d25df9fc00287db
Fixes: http://tracker.ceph.com/issues/17826
Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agoMerge pull request #13311 from asheplyakov/master-18820
Yuri Weinstein [Tue, 14 Feb 2017 17:59:53 +0000 (09:59 -0800)]
Merge pull request #13311 from asheplyakov/master-18820

ceph-osd: --flush-journal: sporadic segfaults on exit

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13307 from songbaisen/s12
Yuri Weinstein [Tue, 14 Feb 2017 17:57:52 +0000 (09:57 -0800)]
Merge pull request #13307 from songbaisen/s12

osd:  add is_split check before _start_split

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13326 from xiexingguo/wip-firstn
Yuri Weinstein [Tue, 14 Feb 2017 17:56:02 +0000 (09:56 -0800)]
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>
8 years agoMerge pull request #13328 from wonzhq/fix-rec-stat
Yuri Weinstein [Tue, 14 Feb 2017 17:54:10 +0000 (09:54 -0800)]
Merge pull request #13328 from wonzhq/fix-rec-stat

osd: fix stat sum update of recovery pushing

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13353 from wonzhq/wip-failed-push
Yuri Weinstein [Tue, 14 Feb 2017 17:52:42 +0000 (09:52 -0800)]
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>
8 years agoscript/find_dups_in_pg_log: scrip to find dup requests due to short pg logs 13417/head
Sage Weil [Tue, 14 Feb 2017 17:45:29 +0000 (12:45 -0500)]
script/find_dups_in_pg_log: scrip to find dup requests due to short pg logs

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13389 from trociny/wip-rbd-nbd-unused_old_format
Jason Dillaman [Tue, 14 Feb 2017 16:42:22 +0000 (11:42 -0500)]
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>
8 years agoMerge pull request #13248 from rzarzynski/wip-rgw-18796
Casey Bodley [Tue, 14 Feb 2017 16:37:04 +0000 (11:37 -0500)]
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>
8 years agoMerge pull request #12810 from zhangsw/fix-rgw-datasync-errorlog
Casey Bodley [Tue, 14 Feb 2017 16:36:04 +0000 (11:36 -0500)]
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>
8 years agoMerge pull request #13394 from tchaikov/wip-18838
John Spray [Tue, 14 Feb 2017 11:09:26 +0000 (11:09 +0000)]
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>
8 years agoMerge pull request #11128 from tchaikov/wip-16091
Josh Durgin [Tue, 14 Feb 2017 08:00:36 +0000 (00:00 -0800)]
Merge pull request #11128 from tchaikov/wip-16091

mon/MonClient: hunt monitors in parallel

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agomsg/async/rdma: add log to show correct destruct queuepair 13412/head
Haomai Wang [Tue, 14 Feb 2017 06:30:38 +0000 (14:30 +0800)]
msg/async/rdma: add log to show correct destruct queuepair

Signed-off-by: Haomai Wang <haomai@xsky.com>
8 years agomon/MonClient: remove unnecessary helper functions 11128/head
Kefu Chai [Wed, 12 Oct 2016 09:07:15 +0000 (17:07 +0800)]
mon/MonClient: remove unnecessary helper functions

refactor _reopen_session() by removing wrapper around it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agomon/MonClient: remove unnecessary include
Kefu Chai [Sun, 9 Oct 2016 07:06:26 +0000 (15:06 +0800)]
mon/MonClient: remove unnecessary include

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agomon/monclient: hunt for multiple monitor in parallel
Kefu Chai [Wed, 14 Sep 2016 13:39:04 +0000 (21:39 +0800)]
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>
8 years agomon/MonClient: mark monc_lock a mutable
Kefu Chai [Tue, 14 Feb 2017 02:58:17 +0000 (10:58 +0800)]
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>
8 years agomon/MonClient: use __func__ for function names
Kefu Chai [Mon, 19 Sep 2016 09:54:27 +0000 (17:54 +0800)]
mon/MonClient: use __func__ for function names

Signed-off-by: Steven Dieffenbach <sdieffen@redhat.com>
8 years agoclient: move monc->set_want_keys() before monc->init()
Kefu Chai [Thu, 1 Dec 2016 14:27:30 +0000 (06:27 -0800)]
client: move monc->set_want_keys() before monc->init()

if monc's tick connect to the mon before monc.set_want_keys() is called,
monc won't ask for the key for MDS service, and hence will fail to
build_authorizer() for MDS service. this change ready us for the
feature of monc-connect-to-mon-in-parallel.

Signed-off-by: Kefu Chai <kchai@redhat.com>