]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agoMerge pull request #13420 from liewegas/wip-18929
Sage Weil [Sat, 18 Feb 2017 18:57:00 +0000 (12:57 -0600)]
Merge pull request #13420 from liewegas/wip-18929

osd/PG: restrict want_acting to up+acting on recovery completion

Reviewed-by: Samuel Just <sjust@redhat.com>
8 years agoMerge pull request #13479 from LiumxNL/fix-monc-rand
Sage Weil [Sat, 18 Feb 2017 18:38:29 +0000 (12:38 -0600)]
Merge pull request #13479 from LiumxNL/fix-monc-rand

mon/MonClient: random all ranks then pick first_n

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13482 from idryomov/wip-qa-krbd-data-pool
Jason Dillaman [Sat, 18 Feb 2017 14:00:59 +0000 (09:00 -0500)]
Merge pull request #13482 from idryomov/wip-qa-krbd-data-pool

qa: add workunit to test krbd data-pool support

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agomon/MonClient: random all ranks then pick first_n 13479/head
Mingxin Liu [Fri, 17 Feb 2017 10:25:05 +0000 (18:25 +0800)]
mon/MonClient: random all ranks then pick first_n

Signed-off-by: Mingxin Liu <mingxin@xsky.com>
8 years agoMerge pull request #13493 from liewegas/wip-log-split-index
Kefu Chai [Sat, 18 Feb 2017 10:31:24 +0000 (18:31 +0800)]
Merge pull request #13493 from liewegas/wip-log-split-index

osd/PGLog: fix index for parent and child log on split

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #13458 from tchaikov/wip-silence-gcc-warnings
Kefu Chai [Sat, 18 Feb 2017 10:24:46 +0000 (18:24 +0800)]
Merge pull request #13458 from tchaikov/wip-silence-gcc-warnings

include/denc, kv: silence gcc warnings

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13462 from tanghaodong25/reweight-by-pg
Kefu Chai [Sat, 18 Feb 2017 10:23:55 +0000 (18:23 +0800)]
Merge pull request #13462 from tanghaodong25/reweight-by-pg

mon/OSDMonitor: some cleanup for reweight-by-pg

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13473 from tchaikov/wip-coverity-fixes
Kefu Chai [Sat, 18 Feb 2017 10:22:47 +0000 (18:22 +0800)]
Merge pull request #13473 from tchaikov/wip-coverity-fixes

msg, messages: coverity fixes

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12977 from weixiaowilliam/crc32c_opt
Kefu Chai [Sat, 18 Feb 2017 09:13:50 +0000 (17:13 +0800)]
Merge pull request #12977 from weixiaowilliam/crc32c_opt

crc32c: optimize aarch64 crc32c implementation

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13428 from xiexingguo/wip-flush-cache
Kefu Chai [Sat, 18 Feb 2017 08:45:36 +0000 (16:45 +0800)]
Merge pull request #13428 from xiexingguo/wip-flush-cache

os/bluestore: add flush_store_cache cmd

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13430 from majianpeng/tracepointprovier
Kefu Chai [Sat, 18 Feb 2017 08:45:01 +0000 (16:45 +0800)]
Merge pull request #13430 from majianpeng/tracepointprovier

common/TracepointProvider: add assert if dlopen error.

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13335 from ovh/wip-clang-compilation-fix
Kefu Chai [Sat, 18 Feb 2017 08:43:51 +0000 (16:43 +0800)]
Merge pull request #13335 from ovh/wip-clang-compilation-fix

common: Fix clang compilation

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13435 from yuyuyu101/wip-rdma-leak
Haomai Wang [Sat, 18 Feb 2017 06:14:32 +0000 (14:14 +0800)]
Merge pull request #13435 from yuyuyu101/wip-rdma-leak

msg/async/rdm: fix leak when existing failure in ip network

Reviewed-by: Adir lev <adirl@mellanox.com>
8 years agoMerge pull request #13511 from tangwenjun3/wip-nvme
Haomai Wang [Sat, 18 Feb 2017 06:10:37 +0000 (14:10 +0800)]
Merge pull request #13511 from tangwenjun3/wip-nvme

os/bluestore: fix bug in aio_read()

Reviewed-by: Haomai Wang <haomai@xsky.com>
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 #13484 from yuyuyu101/wip-rdma-perf-counter
Haomai Wang [Sat, 18 Feb 2017 05:31:45 +0000 (13:31 +0800)]
Merge pull request #13484 from yuyuyu101/wip-rdma-perf-counter

msg/async/rdma: add perf counters to RDMA backend

Reviewed-by: Adir lev <adirl@mellanox.com>
8 years agomsg/async/rdma: add perf counters to RDMA backend 13484/head
Haomai Wang [Fri, 17 Feb 2017 16:23:37 +0000 (00:23 +0800)]
msg/async/rdma: add perf counters to RDMA backend

Signed-off-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #10156 from rzarzynski/wip-rgw-controllable-204
Matt Benjamin [Fri, 17 Feb 2017 20:56:06 +0000 (15:56 -0500)]
Merge pull request #10156 from rzarzynski/wip-rgw-controllable-204

rgw: make sending Content-Length in 204 and 304 responses controllable

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 agoosd/PGLog: avoid return by value on ginormous log 13493/head
Sage Weil [Fri, 17 Feb 2017 17:46:38 +0000 (12:46 -0500)]
osd/PGLog: avoid return by value on ginormous log

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/PGLog: reindex properly on pg log split
Sage Weil [Fri, 17 Feb 2017 19:50:38 +0000 (14:50 -0500)]
osd/PGLog: reindex properly on pg log split

When pg_log_t::split_out_child() runs it builds the list, which means the
old indexes are wrong (the point to bad memory), but index() will not
rebuild them because ever since b858e869e78927dccebaa350d246bd74af7f1de9
we won't rebuild them if they are already built.

Fix that by calling unindex() before the split.

Further, the new child log also needs to be indexed.  Fix that too.

Fixes: http://tracker.ceph.com/issues/18975
Signed-off-by: Sage Weil <sage@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 agocommon/perf_histogram: initialize member vars of axis_config_d 13473/head
Kefu Chai [Fri, 17 Feb 2017 11:21:34 +0000 (19:21 +0800)]
common/perf_histogram: initialize member vars of axis_config_d

addresses CID 1400670:    (UNINIT_CTOR)

Signed-off-by: Kefu Chai <kchai@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 agokv: silence the gcc warning of func foo was hidden 13458/head
Kefu Chai [Thu, 16 Feb 2017 12:04:59 +0000 (20:04 +0800)]
kv: silence the gcc warning of func foo was hidden

this silences the warnings like

ceph/ceph/src/kv/KeyValueDB.h:59:18: warning: ‘virtual void
KeyValueDB::TransactionImpl::set(const string&, const char*, size_t,
const bufferlist&)’ was hidden [-Woverloaded-\
virtual]
     virtual void set(
                  ^~~

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoinclude/denc: silence gcc warnings
Kefu Chai [Thu, 16 Feb 2017 11:39:30 +0000 (19:39 +0800)]
include/denc: silence gcc warnings

gcc-7 complains:

ceph/ceph/src/include/denc.h:469:50: warning: enum constant in boolean
context [-Wint-in-bool-context]
 inline typename std::enable_if<traits::supported &&
                                ~~~~~~~~~~~~~~~~~~^~
           traits::featured>::type denc(
           ~~~~~~

so let's use "static constexpr bool" instead of enum.

Signed-off-by: Kefu Chai <kchai@redhat.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 agomsg/async/AsyncConnection: remove no-ops
Kefu Chai [Fri, 17 Feb 2017 04:49:12 +0000 (12:49 +0800)]
msg/async/AsyncConnection: remove no-ops

addresses CID 1400656:  Incorrect expression  (NO_EFFECT)

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agomsg/simple/Pipe: remove no-op statements
Kefu Chai [Fri, 17 Feb 2017 04:45:12 +0000 (12:45 +0800)]
msg/simple/Pipe: remove no-op statements

addresses CID 1400658:  Incorrect expression  (NO_EFFECT)

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agomessages/MOSDBackoff: make *_VERSION static
Kefu Chai [Fri, 17 Feb 2017 04:44:00 +0000 (12:44 +0800)]
messages/MOSDBackoff: make *_VERSION static

addresses CID 1400661:  Uninitialized variables  (UNINIT)

Signed-off-by: Kefu Chai <kchai@redhat.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 agorgw: make sending Content-Length in 204 and 304 controllable 10156/head
Radoslaw Zarzynski [Thu, 16 Feb 2017 23:56:34 +0000 (00:56 +0100)]
rgw: make sending Content-Length in 204 and 304 controllable

This commit introduces a new configurable "rgw print prohibited
content length" to let operator decide whether RadosGW complies
to RFC 7230 (a part of the HTTP specification) or violates it
but follows the Swift's behavior.

Fixes: http://tracker.ceph.com/issues/16602
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
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 agoqa: add workunit to test krbd data-pool support 13482/head
Ilya Dryomov [Wed, 15 Feb 2017 17:06:14 +0000 (18:06 +0100)]
qa: add workunit to test krbd data-pool support

This is based on a script that I've been using for a while for basic
smoke testing.  The matrix has exploded with the addition of data-pool
and now it's primarily a data-pool test fixture that takes minutes to
run, so turning it into a workunit.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
8 years agomon/OSDMonitor: some cleanup for reweight-by-pg 13462/head
haodong.tang [Thu, 16 Feb 2017 17:42:45 +0000 (01:42 +0800)]
mon/OSDMonitor: some cleanup for reweight-by-pg

Signed-off-by: Haodong Tang <haodong.tang@intel.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 agoos/bluestore: add flush_store_cache cmd 13428/head
xie xingguo [Tue, 14 Feb 2017 03:40:48 +0000 (11:40 +0800)]
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>
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 agocommon/TracepointProvider: add assert if dlopen error. 13430/head
Jianpeng Ma [Wed, 15 Feb 2017 13:23:34 +0000 (21:23 +0800)]
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>
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 agomsg/async/rdm: fix leak when existing failure in ip network 13435/head
Haomai Wang [Wed, 15 Feb 2017 13:21:49 +0000 (21:21 +0800)]
msg/async/rdm: fix leak when existing failure in ip network

Signed-off-by: Haomai Wang <haomai@xsky.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 agocommon: Fix clang compilation 13335/head
Bartłomiej Święcki [Wed, 15 Feb 2017 10:13:50 +0000 (11:13 +0100)]
common: Fix clang compilation

Signed-off-by: Bartłomiej Święcki <bartlomiej.swiecki@corp.ovh.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>