]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agodebian: drop boost build dependencies 13524/head
Kefu Chai [Sun, 19 Feb 2017 12:04:40 +0000 (20:04 +0800)]
debian: drop boost build dependencies

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13207 from liewegas/wip-mapping
Sage Weil [Sat, 18 Feb 2017 18:58:05 +0000 (12:58 -0600)]
Merge pull request #13207 from liewegas/wip-mapping

mon: restructure prime_pg_temp around a full pg mapping calculated on multiple CPUs

Reviewed-by: Kefu Chai <kchai@redhat.com>
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 agomgr: mark stale PGs 13207/head
Sage Weil [Fri, 10 Feb 2017 15:12:29 +0000 (10:12 -0500)]
mgr: mark stale PGs

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/PGMonitor: move check_down_pgs into PGMapUpdater; use latest map
Sage Weil [Wed, 8 Feb 2017 14:50:28 +0000 (09:50 -0500)]
mon/PGMonitor: move check_down_pgs into PGMapUpdater; use latest map

Two big changes here:

1) Move the updating into PGMapUpdater along with the other related
checks.  Cleaner!

2) We use the current OSDMap to mark things stale.  Before, we had
a weird two stage process: first we would apply the OSDMap to the
PGMap, and then the *next* time the OSDMap updated we would look
for stale PGs.  This was silly.  Instead, we mark the PGs stale
when we process the OSDMap that made them stale.

We have a be slightly careful because the PGMap stats primaries
might be a bit old and, for example, might have a smaller max_osd
than what we have now.

This change is motivated right now because the new prime_pg_temp
code is smarter about a failed OSD.  While previously failing
an OSD would install a pg_temp mapping to the old and new OSDs,
even though the old OSD is now down, the new code does not.  And
previously failing both OSDs for a PG would always result in a
subsequent OSDMap update removing those bad pg_temp values, giving
check_down_pgs() a change to mark the PGs stale, while the new code
has not subsequent OSDMap update, which would leave the PG unstale,
causing the dump_stuck.py test to fail.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/OSDMapMapping: put mappings in a mempool
Sage Weil [Mon, 6 Feb 2017 18:03:52 +0000 (13:03 -0500)]
osd/OSDMapMapping: put mappings in a mempool

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/OSDMonitor: use parallel work queue for prime_pg_temp (all)
Sage Weil [Tue, 31 Jan 2017 20:00:28 +0000 (15:00 -0500)]
mon/OSDMonitor: use parallel work queue for prime_pg_temp (all)

Do the prime_pg_temp work in parallel using the mapper.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/OSDMapMapping: restructure mapper as generic PG work running
Sage Weil [Tue, 31 Jan 2017 19:59:51 +0000 (14:59 -0500)]
osd/OSDMapMapping: restructure mapper as generic PG work running

Make Job a parent class that can be specialized for any per-PG batch work.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/OSDMonitor: prime all pgs if we estimate we're approaching that anyway
Sage Weil [Tue, 31 Jan 2017 20:04:31 +0000 (15:04 -0500)]
mon/OSDMonitor: prime all pgs if we estimate we're approaching that anyway

If we have enough noteworthy OSDs it is likely we will touch all or most
PGs anyway, at which point it is faster and simpler to check all pgs.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/OSDMapMapper: count total pgs
Sage Weil [Tue, 31 Jan 2017 20:03:17 +0000 (15:03 -0500)]
osd/OSDMapMapper: count total pgs

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/OSDMonitor: avoid priming same pgs more than once
Sage Weil [Tue, 31 Jan 2017 19:08:10 +0000 (14:08 -0500)]
mon/OSDMonitor: avoid priming same pgs more than once

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/OSDMapMapping: disable up_rmap
Sage Weil [Tue, 31 Jan 2017 19:03:04 +0000 (14:03 -0500)]
osd/OSDMapMapping: disable up_rmap

The reverse mapping from up osds to pgs is not used; disable it for now.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/OSDMonitor: run mapping job in background; skip prime if it didn't finish
Sage Weil [Tue, 31 Jan 2017 19:00:07 +0000 (14:00 -0500)]
mon/OSDMonitor: run mapping job in background; skip prime if it didn't finish

Start the background mapping job when we go active.  If it has finished
by the time we need to prime, use it.  If not, skip prime_pg_temp.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/OSDMonitor: simplify prime_pg_temp slightly
Sage Weil [Mon, 30 Jan 2017 22:30:14 +0000 (17:30 -0500)]
mon/OSDMonitor: simplify prime_pg_temp slightly

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/OSDMonitor: calculate new mapping in parallel
Sage Weil [Mon, 30 Jan 2017 21:51:51 +0000 (16:51 -0500)]
mon/OSDMonitor: calculate new mapping in parallel

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon: add a threadpool (cpu_tp)
Sage Weil [Mon, 30 Jan 2017 21:51:32 +0000 (16:51 -0500)]
mon: add a threadpool (cpu_tp)

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/OSDMapMapping: add ParallelMapper
Sage Weil [Mon, 30 Jan 2017 21:51:01 +0000 (16:51 -0500)]
osd/OSDMapMapping: add ParallelMapper

Calculate a mapping in parallel over a workqueue + threadpool.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/OSDMonitor: prime_pg_temp based on OSDMapMapping
Sage Weil [Mon, 30 Jan 2017 20:24:47 +0000 (15:24 -0500)]
mon/OSDMonitor: prime_pg_temp based on OSDMapMapping

Simplify the code and remove most of the dependency on PGMap.  We still
need PGMap for the creating_pgs to ignore; that can be dropped later.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/OSDMonitor: maintain full mapping, synchronously
Sage Weil [Mon, 30 Jan 2017 19:57:46 +0000 (14:57 -0500)]
mon/OSDMonitor: maintain full mapping, synchronously

This is temporarily; we'll put this in an async, parallelized thread
shortly.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/OSDMap: add OSDMapMapping class
Sage Weil [Wed, 18 Jan 2017 23:45:55 +0000 (17:45 -0600)]
osd/OSDMap: add OSDMapMapping class

This is a precalculated table of all pg mappings.

Signed-off-by: Sage Weil <sage@redhat.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>