]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agobuild/ops: add psmisc dependency to ceph-base (deb and rpm) 13744/head
Nathan Cutler [Thu, 2 Mar 2017 11:41:07 +0000 (12:41 +0100)]
build/ops: add psmisc dependency to ceph-base (deb and rpm)

Fixes: http://tracker.ceph.com/issues/19129
Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #13716 from Adirl/move_counter
Haomai Wang [Wed, 1 Mar 2017 07:54:17 +0000 (15:54 +0800)]
Merge pull request #13716 from Adirl/move_counter

msg/async/rdma: move active_queue_pairs perf counter dec to polling

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agomsg/async/rdma: move active_queue_pairs perf counter dec to polling 13716/head
DanielBar-On [Tue, 28 Feb 2017 16:12:07 +0000 (16:12 +0000)]
msg/async/rdma: move active_queue_pairs perf counter dec to polling

removing dead qp's is actually done at polling. if polling is busy then
dead qp will not be removed and active_queue_pair counter is not correct.

issue: 992513

Change-Id: I825e813ce0632fd01f6d29adc87e0e33a2bc13d9
Signed-off-by: DanielBar-On <danielbo@mellanox.com>
8 years agoMerge pull request #13703 from linuxbox2/wip-is-linked
Matt Benjamin [Tue, 28 Feb 2017 21:16:16 +0000 (16:16 -0500)]
Merge pull request #13703 from linuxbox2/wip-is-linked

rgw_file:  use fh_hook::is_linked() to check residence
verified by hand f23

8 years agorgw_file: use fh_hook::is_linked() to check residence 13703/head
Matt Benjamin [Tue, 28 Feb 2017 20:49:06 +0000 (15:49 -0500)]
rgw_file:  use fh_hook::is_linked() to check residence

Previously we assumed that !deleted handles were resident--there
is an observed case where a !deleted handle is !linked.  Since
we currently use safe_link mode, an is_linked() check is
available, and exhaustive.

Fixes: http://tracker.ceph.com/issues/19111
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agoMerge pull request #13671 from liewegas/wip-filestore-omap
Sage Weil [Tue, 28 Feb 2017 20:27:10 +0000 (14:27 -0600)]
Merge pull request #13671 from liewegas/wip-filestore-omap

os/filestore: debug which omap keys are set

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #13546 from cbodley/wip-19019
Matt Benjamin [Tue, 28 Feb 2017 20:06:15 +0000 (15:06 -0500)]
Merge pull request #13546 from cbodley/wip-19019

rgw: RGWMetaSyncShardControlCR retries with backoff on all error codes
tested by-had, using fault injection

8 years agoMerge pull request #13415 from ifed01/wip-fix-storetest
Sage Weil [Tue, 28 Feb 2017 19:19:20 +0000 (13:19 -0600)]
Merge pull request #13415 from ifed01/wip-fix-storetest

test/store_test: add deferred test case setup to support explicit min…

Reviewed-by: Varada Kari <varada.kari@sandisk.com>
Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13476 from songbaisen/s18
Sage Weil [Tue, 28 Feb 2017 19:18:08 +0000 (13:18 -0600)]
Merge pull request #13476 from songbaisen/s18

osd: small clear up and optimize on _recover_now and should_share_map function

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13686 from wjwithagen/wip-wjw-fsx-linux-2
Jason Dillaman [Tue, 28 Feb 2017 17:25:52 +0000 (12:25 -0500)]
Merge pull request #13686 from wjwithagen/wip-wjw-fsx-linux-2

test: Need to exclude the fsx executable also on FreeBSD

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13523 from wjwithagen/wip-wjw-clang-mempool
Kefu Chai [Tue, 28 Feb 2017 16:02:29 +0000 (00:02 +0800)]
Merge pull request #13523 from wjwithagen/wip-wjw-clang-mempool

include/mempool.h: fix Clangs complaint about types

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13659 from majianpeng/compiler-warning
Kefu Chai [Tue, 28 Feb 2017 16:01:46 +0000 (00:01 +0800)]
Merge pull request #13659 from majianpeng/compiler-warning

common/EventTrace: fix compiler warning.

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13667 from jcsp/wip-mgr-misc
Kefu Chai [Tue, 28 Feb 2017 16:00:30 +0000 (00:00 +0800)]
Merge pull request #13667 from jcsp/wip-mgr-misc

mgr: use unique_ptr for MgrStandby::active_mgr

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13669 from jcsp/wip-mgr-get-version
Kefu Chai [Tue, 28 Feb 2017 16:00:02 +0000 (00:00 +0800)]
Merge pull request #13669 from jcsp/wip-mgr-get-version

mgr: add a get_version to the python interface

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13692 from Liuchang0812/wip-add-override-in-auth-headers
Sage Weil [Tue, 28 Feb 2017 15:54:55 +0000 (09:54 -0600)]
Merge pull request #13692 from Liuchang0812/wip-add-override-in-auth-headers

common/auth: add override in headers

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13591 from batrick/mds-static-counters
John Spray [Tue, 28 Feb 2017 15:07:46 +0000 (15:07 +0000)]
Merge pull request #13591 from batrick/mds-static-counters

mds: automate MDS object count tracking

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #13581 from jcsp/wip-mdsmonitor-refactor
John Spray [Tue, 28 Feb 2017 15:07:20 +0000 (15:07 +0000)]
Merge pull request #13581 from jcsp/wip-mdsmonitor-refactor

mon: refactor MDSMonitor command handling

Reviewed-by: Yan, Zheng <zyan@redhat.com>
8 years agoMerge pull request #13532 from ukernel/wip-18995
John Spray [Tue, 28 Feb 2017 15:06:07 +0000 (15:06 +0000)]
Merge pull request #13532 from ukernel/wip-18995

ceph_fuse: fix daemonization when pid file is non-empty

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13464 from jcsp/wip-sessionmap-ioerror
John Spray [Tue, 28 Feb 2017 15:05:21 +0000 (15:05 +0000)]
Merge pull request #13464 from jcsp/wip-sessionmap-ioerror

mds: fix IO error handling in SessionMap

Reviewed-by: Yan, Zheng <zyan@redhat.com>
8 years agoMerge pull request #13282 from jcsp/wip-fuse-mount-teardown
John Spray [Tue, 28 Feb 2017 15:04:59 +0000 (15:04 +0000)]
Merge pull request #13282 from jcsp/wip-fuse-mount-teardown

tasks/cephfs: tear down on mount() failure

Reviewed-by: Yan, Zheng <zyan@redhat.com>
8 years agoMerge pull request #13676 from yehudasa/wip-19096
Orit Wasserman [Tue, 28 Feb 2017 13:58:03 +0000 (15:58 +0200)]
Merge pull request #13676 from yehudasa/wip-19096

rgw: don't init rgw_obj from rgw_obj_key when it's incorrect to do so
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
8 years agoMerge pull request #13600 from dachary/wip-17821-revert
Kefu Chai [Tue, 28 Feb 2017 12:44:55 +0000 (20:44 +0800)]
Merge pull request #13600 from dachary/wip-17821-revert

ceph-disk: Revert "Revert "change get_dmcrypt_key test to support different cluster name""

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agocommon/auth: add override in headers 13692/head
liuchang0812 [Wed, 22 Feb 2017 09:49:22 +0000 (17:49 +0800)]
common/auth: add override in headers

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agosrc/test/librbd/CMakeLists.txt: Need to exclude the fsx executable also on FreeBSD 13686/head
Willem Jan Withagen [Tue, 28 Feb 2017 08:32:38 +0000 (09:32 +0100)]
src/test/librbd/CMakeLists.txt: Need to exclude the fsx executable also on FreeBSD

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
8 years agoMerge pull request #13682 from tahia-khan/wip-doc-architecture-rados-hyperlink
Kefu Chai [Tue, 28 Feb 2017 08:15:00 +0000 (16:15 +0800)]
Merge pull request #13682 from tahia-khan/wip-doc-architecture-rados-hyperlink

doc: fixes a broken hyperlink to RADOS paper in architecture

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agodoc: fixes a broken hyperlink to RADOS paper in architecture 13682/head
Tahia Khan [Tue, 28 Feb 2017 03:40:32 +0000 (22:40 -0500)]
doc: fixes a broken hyperlink to RADOS paper in architecture

Signed-off-by: Tahia Khan <tahia.khan@gmail.com>
8 years agoMerge pull request #13138 from liewegas/wip-vstart
Sage Weil [Tue, 28 Feb 2017 02:58:10 +0000 (20:58 -0600)]
Merge pull request #13138 from liewegas/wip-vstart

vstart: clean up usage a bit

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13663 from tchaikov/wip-ceph-git-for-workunit
Kefu Chai [Tue, 28 Feb 2017 02:32:00 +0000 (10:32 +0800)]
Merge pull request #13663 from tchaikov/wip-ceph-git-for-workunit

qa/tasks/workunit: use ceph.git as an alternative of ceph-ci.git for cloning workunit

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #13650 from trociny/wip-entity_addr-parse
Jason Dillaman [Tue, 28 Feb 2017 02:28:50 +0000 (21:28 -0500)]
Merge pull request #13650 from trociny/wip-entity_addr-parse

msg: end parameter in entity_addr_t::parse is optional

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #13630 from wjwithagen/wip-wjw-fsx-linux
Kefu Chai [Tue, 28 Feb 2017 02:18:14 +0000 (10:18 +0800)]
Merge pull request #13630 from wjwithagen/wip-wjw-fsx-linux

test/librbd/CMakeLists.txt: ceph_test_librbd_fsx requires linux includes/libs

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoMerge pull request #13196 from vshankar/rbd-ut-fix
Jason Dillaman [Tue, 28 Feb 2017 02:16:58 +0000 (21:16 -0500)]
Merge pull request #13196 from vshankar/rbd-ut-fix

test: fix rbd unit test cases w/ striping feature

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #12645 from guihecheng/wip-rbd-writesame-api
Jason Dillaman [Tue, 28 Feb 2017 01:37:50 +0000 (20:37 -0500)]
Merge pull request #12645 from guihecheng/wip-rbd-writesame-api

librbd: add writesame API

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agorgw: RGWMetaSyncShardControlCR retries with backoff on all error codes 13546/head
Casey Bodley [Mon, 20 Feb 2017 21:00:01 +0000 (16:00 -0500)]
rgw: RGWMetaSyncShardControlCR retries with backoff on all error codes

RGWBackoffControlCR only treats EBUSY and EAGAIN as 'temporary' error
codes, with all other errors being fatal when exit_on_error is set

to RGWMetaSyncShardControlCR, a 'fatal' error means that no further sync
is possible on that shard until the gateway restarts

this changes RGWMetaSyncShardControlCR to set exit_on_error to false, so
that it will continue to retry with backoff no matter what error code it
gets

Fixes: http://tracker.ceph.com/issues/19019
Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #13672 from zmc/wip-openstack-volumes
Zack Cerza [Mon, 27 Feb 2017 19:22:59 +0000 (12:22 -0700)]
Merge pull request #13672 from zmc/wip-openstack-volumes

qa/suites/{ceph-ansible,rest}: OpenStack volumes

8 years agovstart.sh: set host for mgr.* conf sections 13138/head
Sage Weil [Mon, 27 Feb 2017 18:57:00 +0000 (13:57 -0500)]
vstart.sh: set host for mgr.* conf sections

This makes init-ceph work.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agorgw: don't init rgw_obj from rgw_obj_key when it's incorrect to do so 13676/head
Yehuda Sadeh [Mon, 27 Feb 2017 18:35:01 +0000 (10:35 -0800)]
rgw: don't init rgw_obj from rgw_obj_key when it's incorrect to do so

Fixes: http://tracker.ceph.com/issues/19096
rgw_obj_key currently deals with the bucket index key, and not
representing a (name, instance, ns) tupple. Need to initialize
it in two steps.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #13675 from liewegas/wip-words
Sage Weil [Mon, 27 Feb 2017 16:54:23 +0000 (10:54 -0600)]
Merge pull request #13675 from liewegas/wip-words

doc/release-notes: avoid 'production-ready' in describing kraken

Reviewed-by: Ian Colle <icolle@redhat.com>
8 years agoMerge pull request #13547 from liewegas/wip-kill-copy-get-classic
Yuri Weinstein [Mon, 27 Feb 2017 16:36:19 +0000 (08:36 -0800)]
Merge pull request #13547 from liewegas/wip-kill-copy-get-classic

osd: remove copy-get-classic

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13574 from liewegas/wip-mon-mapping
Yuri Weinstein [Mon, 27 Feb 2017 16:35:39 +0000 (08:35 -0800)]
Merge pull request #13574 from liewegas/wip-mon-mapping

mon/OSDMonitor: make mapping job behave if mon_osd_prime_pg_temp = false

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agocommon/EventTrace: fix compiler warning. 13659/head
Jianpeng Ma [Mon, 27 Feb 2017 16:27:49 +0000 (00:27 +0800)]
common/EventTrace: fix compiler warning.

/mnt/ceph/src/osd/OSD.cc: In member function ‘void
OSD::dequeue_op(PGRef, OpRequestRef, ThreadPool::TPHandle&)’:
/mnt/ceph/src/osd/OSD.cc:9112:42: error: invalid conversion from ‘const
Message*’ to ‘Message*’ [-fpermissive]
   OID_EVENT_TRACE_WITH_MSG(op->get_req(), "DEQUEUE_OP_BEGIN", false);
                                          ^
In file included from /mnt/ceph/src/osd/OSD.h:57:0,
                 from /mnt/ceph/src/osd/OSD.cc:38:
/mnt/ceph/src/common/EventTrace.h:72:15: note:   initializing argument 1
of ‘static void EventTrace::trace_oid_event(Message*, const char*, const
char*, const char*, int, bool)’
   static void trace_oid_event(Message *m, const char *event, const char
*file,
               ^
/mnt/ceph/src/osd/OSD.cc:9158:42: error: invalid conversion from ‘const
Message*’ to ‘Message*’ [-fpermissive]
   OID_EVENT_TRACE_WITH_MSG(op->get_req(), "DEQUEUE_OP_END", true);
                                          ^
In file included from /mnt/ceph/src/osd/OSD.h:57:0,
                 from /mnt/ceph/src/osd/OSD.cc:38:
/mnt/ceph/src/common/EventTrace.h:72:15: note:   initializing argument 1
of ‘static void EventTrace::trace_oid_event(Message*, const char*, const
char*, const char*, int, bool)’
   static void trace_oid_event(Message *m, const char *event, const char
*file,
               ^
src/osd/CMakeFiles/osd.dir/build.make:62: recipe for target
'src/osd/CMakeFiles/osd.dir/OSD.cc.o' failed

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
8 years agodoc/release-notes: choose terms carefully 13675/head
Sage Weil [Mon, 27 Feb 2017 16:29:46 +0000 (11:29 -0500)]
doc/release-notes: choose terms carefully

Production-ready is in the eye of the beholder.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/suites/rest: Openstack volumes 13672/head
Zack Cerza [Mon, 27 Feb 2017 16:14:41 +0000 (09:14 -0700)]
qa/suites/rest: Openstack volumes

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoqa/suites/ceph-ansible: Openstack volumes
Zack Cerza [Mon, 27 Feb 2017 16:06:26 +0000 (09:06 -0700)]
qa/suites/ceph-ansible: Openstack volumes

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoos/filestore: debug which omap keys are set 13671/head
Sage Weil [Mon, 27 Feb 2017 15:52:07 +0000 (10:52 -0500)]
os/filestore: debug which omap keys are set

This may help us find http://tracker.ceph.com/issues/19067

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agotest/CMakeLists.txt: include ceph-mgr
Sage Weil [Sat, 25 Feb 2017 03:45:18 +0000 (22:45 -0500)]
test/CMakeLists.txt: include ceph-mgr

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agovstart.sh: fix init-ceph stop on vstart
Sage Weil [Fri, 24 Feb 2017 19:54:10 +0000 (14:54 -0500)]
vstart.sh: fix init-ceph stop on vstart

Do this before the old ceph.conf is deleted!

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agovstart.sh: fix init-ceph path in cmake environment
Sage Weil [Fri, 24 Feb 2017 19:27:03 +0000 (14:27 -0500)]
vstart.sh: fix init-ceph path in cmake environment

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoceph_common.sh: add mgr support to init-ceph
Sage Weil [Fri, 24 Feb 2017 19:11:53 +0000 (14:11 -0500)]
ceph_common.sh: add mgr support to init-ceph

This is mainly for the benefit of vstart.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agostop.sh: add 'mgr' arg
Sage Weil [Thu, 26 Jan 2017 17:06:23 +0000 (12:06 -0500)]
stop.sh: add 'mgr' arg

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agovstart.sh: drop -r arg for radosgw, and use RGW=n instead
Sage Weil [Thu, 26 Jan 2017 17:06:11 +0000 (12:06 -0500)]
vstart.sh: drop -r arg for radosgw, and use RGW=n instead

Simpler!  The start_* vars are all stupid.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agovstart.sh: respect CEPH_NUM_RGW
Sage Weil [Thu, 26 Jan 2017 17:05:35 +0000 (12:05 -0500)]
vstart.sh: respect CEPH_NUM_RGW

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agovstart.sh: start 1 ceph-mgr by default
Sage Weil [Thu, 26 Jan 2017 17:02:07 +0000 (12:02 -0500)]
vstart.sh: start 1 ceph-mgr by default

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agovstart.sh: default to -n ; add -N | --not-new for restart case
Sage Weil [Thu, 26 Jan 2017 17:01:59 +0000 (12:01 -0500)]
vstart.sh: default to -n ; add -N | --not-new for restart case

I never don't do -n; I'm guessing others are in the same boat.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13665 from xiexingguo/wip-fix-ec-op-out
Sage Weil [Mon, 27 Feb 2017 14:49:53 +0000 (08:49 -0600)]
Merge pull request #13665 from xiexingguo/wip-fix-ec-op-out

osd/ECBackend: drop duplicated pending_commit field from << operator

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13661 from dachary/wip-crush-doc
Sage Weil [Mon, 27 Feb 2017 14:47:14 +0000 (08:47 -0600)]
Merge pull request #13661 from dachary/wip-crush-doc

doc: crush typo in algorithm description

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agomgr: add a get_version to the python interface 13669/head
John Spray [Mon, 14 Nov 2016 00:03:24 +0000 (00:03 +0000)]
mgr: add a get_version to the python interface

We had the metadata for all the remote services,
but no quick way for the python module to
ask "what version is the process I'm running in?"

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agotest/store_test: add deferred test case setup to support explicit min_alloc_size... 13415/head
Igor Fedotov [Mon, 13 Feb 2017 14:43:21 +0000 (17:43 +0300)]
test/store_test: add deferred test case setup to support explicit min_alloc_size specification.

Fixes: #18857
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agomgr: use unique_ptr for MgrStandby::active_mgr 13667/head
John Spray [Sat, 4 Feb 2017 21:14:13 +0000 (21:14 +0000)]
mgr: use unique_ptr for MgrStandby::active_mgr

It should always have been one of these.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #13509 from yuyuyu101/wip-tx-zerocopy
Haomai Wang [Mon, 27 Feb 2017 09:56:52 +0000 (17:56 +0800)]
Merge pull request #13509 from yuyuyu101/wip-tx-zerocopy

msg/async/rdma: cleanup

Reviewed-by: Adir lev <adirl@mellanox.com>
8 years agoMerge pull request #13531 from LiumxNL/fix-osd-utilization
Kefu Chai [Mon, 27 Feb 2017 09:51:03 +0000 (17:51 +0800)]
Merge pull request #13531 from LiumxNL/fix-osd-utilization

mon/OSDMonitor: fix dividing by zero in OSDUtilizationDumper

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13526 from ganeshmaharaj/tp_library_fixes
Kefu Chai [Mon, 27 Feb 2017 09:50:40 +0000 (17:50 +0800)]
Merge pull request #13526 from ganeshmaharaj/tp_library_fixes

debian: Add missing tp files in deb packaging

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13553 from yonghengdexin735/wip-zzz-dbev
Kefu Chai [Mon, 27 Feb 2017 09:49:15 +0000 (17:49 +0800)]
Merge pull request #13553 from yonghengdexin735/wip-zzz-dbev

os/bluestore/BlueStore.cc:remove unuse code in _open_bdev()

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoMerge pull request #13554 from songbaisen/s19
Kefu Chai [Mon, 27 Feb 2017 09:48:26 +0000 (17:48 +0800)]
Merge pull request #13554 from songbaisen/s19

mon:  crush straw_calc_version value is 0 or 1 not 0 to 2.

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13653 from rzarzynski/wip-bs-bitmap-fast-exhausted-check
Kefu Chai [Mon, 27 Feb 2017 09:44:18 +0000 (17:44 +0800)]
Merge pull request #13653 from rzarzynski/wip-bs-bitmap-fast-exhausted-check

os/bluestore: the exhausted check in BitMapZone can be lock-less.

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13656 from tchaikov/wip-19015
Kefu Chai [Mon, 27 Feb 2017 09:42:20 +0000 (17:42 +0800)]
Merge pull request #13656 from tchaikov/wip-19015

mon/MonClient: discard stray messages from non-acitve conns

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoosd/ECBackend: drop duplicated pending_commit field from << operator 13665/head
xie xingguo [Mon, 27 Feb 2017 09:39:22 +0000 (17:39 +0800)]
osd/ECBackend: drop duplicated pending_commit field from << operator

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoqa/tasks/workunit: use ceph.git as an alternative of ceph-ci.git for workunit repo 13663/head
Kefu Chai [Mon, 27 Feb 2017 08:29:40 +0000 (16:29 +0800)]
qa/tasks/workunit: use ceph.git as an alternative of ceph-ci.git for workunit repo

if we run upgrade test, where, for example, "jewel" is not in
ceph-ci.git repo, we should check ceph.git to clone the workunits.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agomsg/async/rdma: accelerate tx/rx buffer ownership lookup 13509/head
Haomai Wang [Mon, 27 Feb 2017 08:33:39 +0000 (16:33 +0800)]
msg/async/rdma: accelerate tx/rx buffer ownership lookup

Signed-off-by: Haomai Wang <haomai@xsky.com>
8 years agomsg/async/rdma: cleanup
Haomai Wang [Fri, 17 Feb 2017 17:02:54 +0000 (01:02 +0800)]
msg/async/rdma: cleanup

Signed-off-by: Haomai Wang <haomai@xsky.com>
8 years agodoc: crush typo in algorithm description 13661/head
Loic Dachary [Mon, 27 Feb 2017 08:18:04 +0000 (09:18 +0100)]
doc: crush typo in algorithm description

Signed-off-by: Loic Dachary <ldachary@redhat.com>
8 years agomsg/async/rdma: cleanup Infiniband, remove unused functions
Haomai Wang [Mon, 20 Feb 2017 14:41:13 +0000 (22:41 +0800)]
msg/async/rdma: cleanup Infiniband, remove unused functions

Signed-off-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #13603 from Adirl/fix_compile
Haomai Wang [Mon, 27 Feb 2017 05:55:13 +0000 (13:55 +0800)]
Merge pull request #13603 from Adirl/fix_compile

msg/async/rdma: Fix broken compilation

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #13652 from liupan1111/wip-cleanup-rbd-nbd
Sage Weil [Sun, 26 Feb 2017 21:07:19 +0000 (15:07 -0600)]
Merge pull request #13652 from liupan1111/wip-cleanup-rbd-nbd

rbd-nbd: fix a typo "moudle"

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoauth/cephx: print challenges in hex 13656/head
Kefu Chai [Sun, 26 Feb 2017 16:20:06 +0000 (00:20 +0800)]
auth/cephx: print challenges in hex

this matches the CephxServiceHandler::handle_request(), hence would be
easier for debugging.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agomon/MonClient: discard stray messages from non-acitve conns
Kefu Chai [Sun, 26 Feb 2017 16:18:09 +0000 (00:18 +0800)]
mon/MonClient: discard stray messages from non-acitve conns

Fixes: http://tracker.ceph.com/issues/19015
Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13227 from ukernel/wip-multimds-misc
John Spray [Sun, 26 Feb 2017 11:16:40 +0000 (11:16 +0000)]
Merge pull request #13227 from ukernel/wip-multimds-misc

mds: misc multimds fixes

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #13648 from tchaikov/wip-doc-osd-agent-options
Kefu Chai [Sun, 26 Feb 2017 09:35:54 +0000 (17:35 +0800)]
Merge pull request #13648 from tchaikov/wip-doc-osd-agent-options

doc: document `osd-agent-{max,low}-ops` options

Reviewed-by: Zhiqiang Wang <zhiqiang@xsky.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
8 years agorbd-nbd: fix a typo "moudle" 13652/head
Pan Liu [Sun, 26 Feb 2017 04:14:15 +0000 (12:14 +0800)]
rbd-nbd: fix a typo "moudle"

Signed-off-by: Pan Liu <liupan1111@gmail.com>
8 years agodoc: document `osd-agent-{max,low}-ops` options 13648/head
Kefu Chai [Sat, 25 Feb 2017 03:16:32 +0000 (11:16 +0800)]
doc: document `osd-agent-{max,low}-ops` options

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agobluestore: the exhausted check in BitMapZone can be lock-less. 13653/head
Radoslaw Zarzynski [Sat, 25 Feb 2017 12:29:54 +0000 (13:29 +0100)]
bluestore: the exhausted check in BitMapZone can be lock-less.

Before the patch BitMapZone::is_exhausted() required from its
callers to acquire appropriate lock. However, fulfilling this
condition is not really necessary to use the method correctly
while it can significantly hurt performance.

The change allows BitMapAreaLeaf::child_check_n_lock() to not
acquire the lock while examining zones for being exhausted.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agoMerge pull request #13649 from liewegas/wip-ceph-scrub-debug
Sage Weil [Sat, 25 Feb 2017 19:15:06 +0000 (13:15 -0600)]
Merge pull request #13649 from liewegas/wip-ceph-scrub-debug

qa/tasks/ceph.py: debug which pgs aren't scrubbing

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
8 years agomsg: end parameter in entity_addr_t::parse is optional 13650/head
Mykola Golub [Sat, 25 Feb 2017 16:42:42 +0000 (17:42 +0100)]
msg: end parameter in entity_addr_t::parse is optional

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
8 years agoqa/tasks/ceph.py: debug which pgs aren't scrubbing 13649/head
Sage Weil [Fri, 24 Feb 2017 16:31:03 +0000 (11:31 -0500)]
qa/tasks/ceph.py: debug which pgs aren't scrubbing

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #13478 from xiaoxichen/fix_osdc_perfcounter
Kefu Chai [Sat, 25 Feb 2017 03:00:12 +0000 (11:00 +0800)]
Merge pull request #13478 from xiaoxichen/fix_osdc_perfcounter

osdc: fix osdc_osd_seesion perf counter.

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13626 from wjwithagen/wip-wjw-freebsd-enodata-fixed
Kefu Chai [Sat, 25 Feb 2017 02:28:08 +0000 (10:28 +0800)]
Merge pull request #13626 from wjwithagen/wip-wjw-freebsd-enodata-fixed

do_freebsd.sh: Remove ENODATA requirement

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #13640 from zmc/wip-fs-openstack
Zack Cerza [Sat, 25 Feb 2017 00:22:04 +0000 (17:22 -0700)]
Merge pull request #13640 from zmc/wip-fs-openstack

qa/suites/fs: Add openstack volume configuration

8 years agoMerge pull request #13619 from kylinstorage/cleanup_bitallocator
Brad Hubbard [Fri, 24 Feb 2017 23:30:28 +0000 (09:30 +1000)]
Merge pull request #13619 from kylinstorage/cleanup_bitallocator

BitAllocator: delete useless codes

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoqa/suites/fs: Add openstack volume configuration 13640/head
Zack Cerza [Fri, 24 Feb 2017 22:25:19 +0000 (15:25 -0700)]
qa/suites/fs: Add openstack volume configuration

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoMerge pull request #13594 from athanatos/wip-snap-trim-sleep
Samuel Just [Fri, 24 Feb 2017 22:09:17 +0000 (14:09 -0800)]
Merge pull request #13594 from athanatos/wip-snap-trim-sleep

osd: add snap trim reservation and re-implement osd_snap_trim_sleep

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #13570 from athanatos/wip-18937
Samuel Just [Fri, 24 Feb 2017 22:08:40 +0000 (14:08 -0800)]
Merge pull request #13570 from athanatos/wip-18937

osd: don't use ORDERSNAP for flush; always request/send ondisk ack

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
8 years agotest/librbd/CMakeLists.txt: ceph_test_librbd_fsx requires linux includes/libs 13630/head
Willem Jan Withagen [Fri, 24 Feb 2017 16:45:36 +0000 (17:45 +0100)]
test/librbd/CMakeLists.txt: ceph_test_librbd_fsx requires linux includes/libs

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
8 years agoMerge pull request #13637 from zmc/wip-openstack-volumes
Zack Cerza [Fri, 24 Feb 2017 21:43:56 +0000 (14:43 -0700)]
Merge pull request #13637 from zmc/wip-openstack-volumes

qa/suites/{knfs,hadoop,samba}: OpenStack volume configuration

8 years agoMerge pull request #13634 from zmc/wip-kcephfs-openstack
Zack Cerza [Fri, 24 Feb 2017 21:43:26 +0000 (14:43 -0700)]
Merge pull request #13634 from zmc/wip-kcephfs-openstack

qa/suites/kcephfs: Openstack volume configuration

8 years agoqa/suites/samba: Openstack volume configuration 13637/head
Zack Cerza [Fri, 24 Feb 2017 20:46:54 +0000 (13:46 -0700)]
qa/suites/samba: Openstack volume configuration

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoqa/suites/hadoop: Openstack volume configuration
Zack Cerza [Fri, 24 Feb 2017 20:45:18 +0000 (13:45 -0700)]
qa/suites/hadoop: Openstack volume configuration

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoqa/suites/knfs: Add openstack volume configuration
Zack Cerza [Fri, 24 Feb 2017 20:44:33 +0000 (13:44 -0700)]
qa/suites/knfs: Add openstack volume configuration

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoqa/suites/kcephfs: Openstack volume configuration 13634/head
Zack Cerza [Fri, 24 Feb 2017 20:37:23 +0000 (13:37 -0700)]
qa/suites/kcephfs: Openstack volume configuration

Signed-off-by: Zack Cerza <zack@redhat.com>
8 years agoosd,osdc: eliminate FLAG_ONDISK and helpers 13570/head
Samuel Just [Thu, 16 Feb 2017 21:22:07 +0000 (13:22 -0800)]
osd,osdc: eliminate FLAG_ONDISK and helpers

The objecter actually always needs to get a response in order to
be able to not continually resend ops (even if the caller didn't
provide a callback).  Thus, it makes no sense for an MOSDOp to
ever not have FLAG_ONDISK set.  Therefore, we'll just remove the
helper and assume it's always there (it's safe to send a response
the client didn't ask for, the error paths already do that).  On
the Objecter side, we'll just unconditionally fill in ONDISK for
the benefit of pre-luminous OSDs.

Fixes: http://tracker.ceph.com/issues/18961
Signed-off-by: Samuel Just <sjust@redhat.com>
8 years agoPrimaryLogPG::start_flush: don't use ORDERSNAP, eliminate the second delete
Samuel Just [Wed, 15 Feb 2017 00:50:11 +0000 (16:50 -0800)]
PrimaryLogPG::start_flush: don't use ORDERSNAP, eliminate the second delete

I think that whole thing was a misguided attempt to avoid deleting head
if it exists in the base tier (in reality it doesn't matter since head
would have to be logically dirty and anything we actually care about
would be preserved by sending a new enough seq to cause a clone).

Introduced in 4843fd510b33a71999cdf9c2cfa2b4c318fa80fd, but the real
logical error happened in f3df50188b54e60e28a276762c370477538bbb07.

I suggest never backporting this patch.  If you want to try, keep in
mind that the last version didn't turn up as busted for 2 years.

Fixes: f3df50188b54e60e28a276762c370477538bbb07
Signed-off-by: Samuel Just <sjust@redhat.com>
8 years agoMerge pull request #13631 from ceph/wip-krbd-openstack
Zack Cerza [Fri, 24 Feb 2017 19:23:23 +0000 (12:23 -0700)]
Merge pull request #13631 from ceph/wip-krbd-openstack

qa/suites/krbd: Add openstack volume configuration