]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agoAdding Arch Linux support 12787/head
Jamin W. Collins [Wed, 4 Jan 2017 15:15:59 +0000 (07:15 -0800)]
Adding Arch Linux support

Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
8 years agoMerge pull request #12191 from wjwithagen/wip-wjw-freebsd-radosgw-admin
Kefu Chai [Wed, 4 Jan 2017 15:09:06 +0000 (23:09 +0800)]
Merge pull request #12191 from wjwithagen/wip-wjw-freebsd-radosgw-admin

rgw_file: radosgw-admin can be built under FreeBSD

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #12737 from amirv/refactor
Haomai Wang [Wed, 4 Jan 2017 15:07:24 +0000 (23:07 +0800)]
Merge pull request #12737 from amirv/refactor

Move code from .h into .cc

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #12705 from badone/wip-ceph_test_rados_api_tier-valgrind-fixes
Kefu Chai [Wed, 4 Jan 2017 10:08:46 +0000 (18:08 +0800)]
Merge pull request #12705 from badone/wip-ceph_test_rados_api_tier-valgrind-fixes

test/librados/tier.cc: Fix valgrind errors

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12544 from hjwsm1989/oc
Kefu Chai [Wed, 4 Jan 2017 10:06:13 +0000 (18:06 +0800)]
Merge pull request #12544 from hjwsm1989/oc

osdc/ObjectCacher: use state instead of get_state()

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #8942 from majianpeng/Finisher-optimize
Kefu Chai [Wed, 4 Jan 2017 10:05:11 +0000 (18:05 +0800)]
Merge pull request #8942 from majianpeng/Finisher-optimize

common/Finisher: Using queue(list<context*>) instead queue(context*).

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #9760 from stiopaa1/msg_messengercc_move
Kefu Chai [Wed, 4 Jan 2017 10:02:47 +0000 (18:02 +0800)]
Merge pull request #9760 from stiopaa1/msg_messengercc_move

msg/Messenger.cc: add std::move

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12732 from Liuchang0812/wip-issue-17449
Kefu Chai [Wed, 4 Jan 2017 09:57:34 +0000 (17:57 +0800)]
Merge pull request #12732 from Liuchang0812/wip-issue-17449

mgr: Make stats period configurable

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12777 from wjin/clean_posixworker
Kefu Chai [Wed, 4 Jan 2017 06:38:58 +0000 (14:38 +0800)]
Merge pull request #12777 from wjin/clean_posixworker

msg/async: rm nonused thread variable in posixworker

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12778 from badone/wip-check_new_interval-logging
Xie Xingguo [Wed, 4 Jan 2017 05:52:04 +0000 (13:52 +0800)]
Merge pull request #12778 from badone/wip-check_new_interval-logging

osd/osd_type: Fix logging output

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #12671 from badone/wip-ceph_test_rados_api_cmd-valgrind-fixes
Brad Hubbard [Wed, 4 Jan 2017 05:25:59 +0000 (15:25 +1000)]
Merge pull request #12671 from badone/wip-ceph_test_rados_api_cmd-valgrind-fixes

test/librados/cmd.cc: Fix trivial memory leaks

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoosd/osd_type: Fix logging output 12778/head
Brad Hubbard [Wed, 4 Jan 2017 04:48:31 +0000 (14:48 +1000)]
osd/osd_type: Fix logging output

Logging should reflect the actual function name.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoMerge pull request #12656 from badone/wip-c_read_operations-leak
Brad Hubbard [Wed, 4 Jan 2017 04:44:12 +0000 (14:44 +1000)]
Merge pull request #12656 from badone/wip-c_read_operations-leak

test/librados/c_read_operations.cc: Fix trivial memory leak

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12442 from badone/wip-coverity-librados-TestCase
Kefu Chai [Wed, 4 Jan 2017 04:24:45 +0000 (12:24 +0800)]
Merge pull request #12442 from badone/wip-coverity-librados-TestCase

test/librados: Silence Coverity memory leak warnings

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agomsg/async: rm nonused thread variable in posixworker 12777/head
Wei Jin [Wed, 4 Jan 2017 03:41:13 +0000 (11:41 +0800)]
msg/async: rm nonused thread variable in posixworker

Signed-off-by: Wei Jin <wjin.cn@gmail.com>
8 years agoMerge pull request #12690 from badone/wip-ceph_test_rados_api_snapshots-valgrind...
Brad Hubbard [Wed, 4 Jan 2017 02:06:06 +0000 (12:06 +1000)]
Merge pull request #12690 from badone/wip-ceph_test_rados_api_snapshots-valgrind-fixes

test/librados/snapshots.cc: Fix memory leak

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12770 from yuriw/wip-fix-distro-master
Josh Durgin [Wed, 4 Jan 2017 00:48:38 +0000 (16:48 -0800)]
Merge pull request #12770 from yuriw/wip-fix-distro-master

qa: fixed distros links

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoqa: fixed distros links 12770/head
Yuri Weinstein [Tue, 3 Jan 2017 23:59:18 +0000 (15:59 -0800)]
qa: fixed distros links

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
8 years agoMerge pull request #11787 from SUSE/wip-17802
Nathan Cutler [Tue, 3 Jan 2017 23:16:47 +0000 (00:16 +0100)]
Merge pull request #11787 from SUSE/wip-17802

doc: clarify "ceph quorum" syntax

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12385 from dlan17/master
Ali Maredia [Tue, 3 Jan 2017 16:25:27 +0000 (21:55 +0530)]
Merge pull request #12385 from dlan17/master

cmake: explictly call find_package(PythonInterp) first to fix build err

Reviewed-by: Ali Maredia <amaredia@redhat.com>
8 years agoMerge pull request #12658 from oritwas/wip-rgw-17239
Casey Bodley [Tue, 3 Jan 2017 15:44:43 +0000 (10:44 -0500)]
Merge pull request #12658 from oritwas/wip-rgw-17239

rgw: clear master_zonegroup when reseting RGWPeriodMap

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #12723 from gaurav36/rbd-remove-unused-condition
Jason Dillaman [Tue, 3 Jan 2017 14:34:45 +0000 (09:34 -0500)]
Merge pull request #12723 from gaurav36/rbd-remove-unused-condition

rbd: remove unused condition within group action handler

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #12509 from SUSE/wip-18262
Jason Dillaman [Tue, 3 Jan 2017 14:32:37 +0000 (09:32 -0500)]
Merge pull request #12509 from SUSE/wip-18262

doc: add verbiage to rbdmap manpage

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #12667 from trociny/wip-librados_test_stub-tmap_udate
Jason Dillaman [Tue, 3 Jan 2017 14:14:46 +0000 (09:14 -0500)]
Merge pull request #12667 from trociny/wip-librados_test_stub-tmap_udate

test: librados_test_stub: tmap_update: return -ENOENT when removing nonexisent key

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #12712 from liewegas/wip-18366
Kefu Chai [Tue, 3 Jan 2017 11:38:22 +0000 (19:38 +0800)]
Merge pull request #12712 from liewegas/wip-18366

mon/OSDMonitor: set last_force_op_resend on overlay pool too

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12717 from hrchu/patch-1
Kefu Chai [Tue, 3 Jan 2017 10:37:48 +0000 (18:37 +0800)]
Merge pull request #12717 from hrchu/patch-1

doc: Update keystone.rst

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agodoc: Update keystone.rst 12717/head
hrchu [Fri, 30 Dec 2016 03:16:17 +0000 (11:16 +0800)]
doc: Update keystone.rst

Make it clear that project/domain options accept name instead of id.

Signed-off-by: Chu, Hua-Rong <hrchu@cht.com.tw>
8 years agoMerge pull request #12734 from liupan1111/wip-fix-nvme-driver-compile-issue
Haomai Wang [Tue, 3 Jan 2017 08:01:45 +0000 (16:01 +0800)]
Merge pull request #12734 from liupan1111/wip-fix-nvme-driver-compile-issue

spdk: upgrade spdk to v16.12

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #12751 from tchaikov/wip-18395
Brad Hubbard [Tue, 3 Jan 2017 07:38:16 +0000 (17:38 +1000)]
Merge pull request #12751 from tchaikov/wip-18395

ceph_test_rados_api_watch_notify: move global variables into test class

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoMerge pull request #12730 from Liuchang0812/fix-dev-doc-pglog
Kefu Chai [Tue, 3 Jan 2017 06:38:19 +0000 (14:38 +0800)]
Merge pull request #12730 from Liuchang0812/fix-dev-doc-pglog

doc/dev: update log_based_pg.rst, fix some display problem

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoceph_test_rados_api_watch_notify: move global variables into test class 12751/head
Kefu Chai [Tue, 3 Jan 2017 06:20:05 +0000 (14:20 +0800)]
ceph_test_rados_api_watch_notify: move global variables into test class

so the class instances using mempool are destructed before the mempools
are destroyed. this avoids the "invalid read" issue reported by
valgrind.

Fixes: http://tracker.ceph.com/issues/18395
Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12713 from badone/wip-ceph_test_rados_api_watch_notify-valgrind...
Kefu Chai [Tue, 3 Jan 2017 06:19:16 +0000 (14:19 +0800)]
Merge pull request #12713 from badone/wip-ceph_test_rados_api_watch_notify-valgrind-fixes

test_rados_watch_notify: Fix trivial memory leaks

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12680 from badone/wip-ceph_test_rados_api_misc-valgrind-fixes
Kefu Chai [Tue, 3 Jan 2017 06:07:22 +0000 (14:07 +0800)]
Merge pull request #12680 from badone/wip-ceph_test_rados_api_misc-valgrind-fixes

ceph_test_rados_api_misc: Fix trivial memory leak

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agodoc/dev: update log_based_pg.rst, fix some display problem 12730/head
liuchang0812 [Sun, 1 Jan 2017 10:24:05 +0000 (18:24 +0800)]
doc/dev: update log_based_pg.rst, fix some display problem

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agoos/bluestore: add more useful log information in NVMEDevice.cc 12734/head
Pan Liu [Tue, 3 Jan 2017 03:08:49 +0000 (11:08 +0800)]
os/bluestore: add more useful log information in NVMEDevice.cc

Signed-off-by: Pan Liu <pan.liu@istuary.com>
8 years agoMerge pull request #12747 from SUSE/wip-18388
Jason Dillaman [Mon, 2 Jan 2017 23:47:53 +0000 (18:47 -0500)]
Merge pull request #12747 from SUSE/wip-18388

tests: rbd/test_lock_fence.sh: fix rbdrw.py relative path

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agotests: rbd/test_lock_fence.sh: fix rbdrw.py relative path 12747/head
Nathan Cutler [Mon, 2 Jan 2017 21:49:13 +0000 (22:49 +0100)]
tests: rbd/test_lock_fence.sh: fix rbdrw.py relative path

This commit fixes a regression introduced by
cf294777ea92f0911813a7132068584d4f73a65a

Fixes: http://tracker.ceph.com/issues/18388
Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agoRDMA: Fix compilation warning 12737/head
Amir Vadai [Mon, 2 Jan 2017 08:57:15 +0000 (10:57 +0200)]
RDMA: Fix compilation warning

Infiniband.cc: In member function ‘int Infiniband::recv_msg(CephContext*, int, IBSYNMsg&)’:
Infiniband.cc:883:86: warning: format ‘%x’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘uint16_t* {aka short unsigned int*}’ [-Wformat=]
     sscanf(msg, "%x:%x:%x:%x:%s", &(im.lid), &(im.qpn), &(im.psn),
     &(im.peer_qpn),gid);

Signed-off-by: Amir Vadai <amir@vadai.me>
8 years agoRDMA: Move defenitions from RDMAStack.h into .cc
Amir Vadai [Mon, 2 Jan 2017 08:36:32 +0000 (10:36 +0200)]
RDMA: Move defenitions from RDMAStack.h into .cc

Signed-off-by: Amir Vadai <amir@vadai.me>
8 years agoRDMA: Move defenitions from Infiniband.h into .cc
Amir Vadai [Mon, 2 Jan 2017 08:29:43 +0000 (10:29 +0200)]
RDMA: Move defenitions from Infiniband.h into .cc

Signed-off-by: Amir Vadai <amir@vadai.me>
8 years agoos/bluestore: fixed compilation issue when use spdk v16.12
Pan Liu [Mon, 2 Jan 2017 08:49:38 +0000 (16:49 +0800)]
os/bluestore: fixed compilation issue when use spdk v16.12

Signed-off-by: Pan Liu <pan.liu@istuary.com>
8 years agospdk: fixed the compilation error for testcases when use spdk v16.12
Pan Liu [Mon, 2 Jan 2017 08:43:59 +0000 (16:43 +0800)]
spdk: fixed the compilation error for testcases when use spdk v16.12

Signed-off-by: Pan Liu <pan.liu@istuary.com>
8 years agodpdk: make compilation successful when use dpdk v16.11
Pan Liu [Mon, 2 Jan 2017 08:41:08 +0000 (16:41 +0800)]
dpdk: make compilation successful when use dpdk v16.11

Signed-off-by: Pan Liu <pan.liu@istuary.com>
8 years agomgr: Make stats period configurable 12732/head
liuchang0812 [Mon, 2 Jan 2017 07:53:03 +0000 (15:53 +0800)]
mgr: Make stats period configurable

Fixes: http://tracker.ceph.com/issues/17449
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agoMerge pull request #12706 from Liuchang0812/wip-qa-rados-1228
Kefu Chai [Mon, 2 Jan 2017 06:21:03 +0000 (14:21 +0800)]
Merge pull request #12706 from Liuchang0812/wip-qa-rados-1228

test: update test_rados_tool.sh, use POOL and OBJ var

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agospdk: upgrade spdk version to 16.12
Pan Liu [Sun, 1 Jan 2017 08:21:52 +0000 (16:21 +0800)]
spdk: upgrade spdk version to 16.12

Signed-off-by: Pan Liu <pan.liu@istuary.com>
8 years agodpdk: upgrade dpdk version to 16.11
Pan Liu [Sun, 1 Jan 2017 08:17:50 +0000 (16:17 +0800)]
dpdk: upgrade dpdk version to 16.11

Signed-off-by: Pan Liu <pan.liu@istuary.com>
8 years agoMerge pull request #12716 from kylinstorage/wip-ctypos_h
Sage Weil [Fri, 30 Dec 2016 19:06:57 +0000 (13:06 -0600)]
Merge pull request #12716 from kylinstorage/wip-ctypos_h

misc: fix code typos in header files

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #12721 from chendave/wip-authx-options
Sage Weil [Fri, 30 Dec 2016 19:04:54 +0000 (13:04 -0600)]
Merge pull request #12721 from chendave/wip-authx-options

auth: Let's not use the deprecated cephx option

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12676 from chendave/master
Sage Weil [Fri, 30 Dec 2016 18:58:20 +0000 (12:58 -0600)]
Merge pull request #12676 from chendave/master

common/ceph_context: Show clear message if all features are enabled

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12633 from liewegas/wip-15784
Sage Weil [Fri, 30 Dec 2016 18:57:02 +0000 (12:57 -0600)]
Merge pull request #12633 from liewegas/wip-15784

msg/simple: call clear_pipe in wait() shutdown path

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #12692 from XinzeChi/wip-bluestore-statfs
Sage Weil [Fri, 30 Dec 2016 18:55:20 +0000 (12:55 -0600)]
Merge pull request #12692 from XinzeChi/wip-bluestore-statfs

os/bluestore: _txc_release_alloc when do wal cleaning

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12691 from runsisi/wip-dump-osdop
Sage Weil [Fri, 30 Dec 2016 18:52:27 +0000 (12:52 -0600)]
Merge pull request #12691 from runsisi/wip-dump-osdop

osd/OpRequest: dump both name and addr for the client op

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12363 from wjwithagen/wip-wjw-freebsd-strerror
Sage Weil [Fri, 30 Dec 2016 18:51:45 +0000 (12:51 -0600)]
Merge pull request #12363 from wjwithagen/wip-wjw-freebsd-strerror

common/module.c: do not use strerror_r the GNU way.

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agocommon/Finisher: Using queue(list<context*>) instead queue(context*). 8942/head
Jianpeng Ma [Fri, 30 Dec 2016 12:11:19 +0000 (20:11 +0800)]
common/Finisher: Using queue(list<context*>) instead  queue(context*).

Avoid call many time queue(context*).

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
8 years agorbd: remove unused condition 12723/head
Gaurav Kumar Garg [Fri, 30 Dec 2016 10:31:00 +0000 (11:31 +0100)]
rbd: remove unused condition

Signed-off-by: Gaurav Kumar Garg <garg.gaurav52@gmail.com>
8 years agocephx: Let's not use the deprecated option 12721/head
Dave Chen [Fri, 30 Dec 2016 09:04:28 +0000 (17:04 +0800)]
cephx: Let's not use the deprecated option

Enable cephx by setting the option of "auth supported" has been
deprecated for a long time, it's better to use the recommended
options instead.

Signed-off-by: Dave Chen <wei.d.chen@intel.com>
8 years agoMerge pull request #12718 from kylinstorage/wip-orig
Li Wang [Fri, 30 Dec 2016 06:50:06 +0000 (14:50 +0800)]
Merge pull request #12718 from kylinstorage/wip-orig

organizationmap: add Xianxia Xiao to Kylin Cloud team

8 years agoorganizationmap: add Xianxia Xiao to Kylin Cloud team 12718/head
Yunchuan Wen [Fri, 30 Dec 2016 03:16:45 +0000 (11:16 +0800)]
organizationmap: add Xianxia Xiao to Kylin Cloud team

Signed-off-by: Yunchuan Wen <yunchuan.wen@kylin-cloud.com>
8 years agosrc/tools/rbd_mirror/Replayer.h : fix typos 12716/head
Xianxia Xiao [Wed, 21 Dec 2016 01:05:11 +0000 (01:05 +0000)]
src/tools/rbd_mirror/Replayer.h : fix typos

Signed-off-by: Xianxia Xiao <xianxia.xiao@kylin-cloud.com>
8 years agosrc/messages/MMDSSlaveRequest.h : fix typos
Xianxia Xiao [Wed, 21 Dec 2016 01:08:52 +0000 (01:08 +0000)]
src/messages/MMDSSlaveRequest.h : fix typos

Signed-off-by: Xianxia Xiao <xianxia.xiao@kylin-cloud.com>
8 years agosrc/tools/rbd_recover_tool/epoch_h : fix typos
Xianxia Xiao [Wed, 21 Dec 2016 01:04:48 +0000 (01:04 +0000)]
src/tools/rbd_recover_tool/epoch_h : fix typos

Signed-off-by: Xianxia Xiao <xianxia.xiao@kylin-cloud.com>
8 years agosrc/librados/IoCtxImpl.h : fix typos
Xianxia Xiao [Wed, 21 Dec 2016 01:04:04 +0000 (01:04 +0000)]
src/librados/IoCtxImpl.h : fix typos

Signed-off-by: Xianxia Xiao <xianxia.xiao@kylin-cloud.com>
8 years agosrc/journal/JournalTrimmer.h : fix typos
Xianxia Xiao [Wed, 21 Dec 2016 01:03:08 +0000 (01:03 +0000)]
src/journal/JournalTrimmer.h : fix typos

Signed-off-by: Xianxia Xiao <xianxia.xiao@kylin-cloud.com>
8 years agosrc/common/hobject.h : fix typos
Xianxia Xiao [Wed, 21 Dec 2016 01:02:24 +0000 (01:02 +0000)]
src/common/hobject.h : fix typos

Signed-off-by: Xianxia Xiao <xianxia.xiao@kylin-cloud.com>
8 years agoMerge pull request #12652 from badone/wip-coverity-TracepointProvider
Brad Hubbard [Fri, 30 Dec 2016 02:24:28 +0000 (12:24 +1000)]
Merge pull request #12652 from badone/wip-coverity-TracepointProvider

tracing: Fix handle leak in TracepointProvider

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agotracing: Fix handle leak in TracepointProvider 12652/head
Brad Hubbard [Fri, 23 Dec 2016 23:23:31 +0000 (09:23 +1000)]
tracing: Fix handle leak in TracepointProvider

Silences Coverity 1397733

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
8 years agotest_rados_watch_notify: Fix trivial memory leaks 12713/head
Brad Hubbard [Thu, 29 Dec 2016 22:56:36 +0000 (08:56 +1000)]
test_rados_watch_notify: Fix trivial memory leaks

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoMerge pull request #12711 from yuyuyu101/wip-fix-rdma
Sage Weil [Thu, 29 Dec 2016 20:35:57 +0000 (14:35 -0600)]
Merge pull request #12711 from yuyuyu101/wip-fix-rdma

msg/async/rdma: fix ceph_clock_now calls

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12451 from liewegas/wip-osd-on-applied
Sage Weil [Thu, 29 Dec 2016 18:43:01 +0000 (12:43 -0600)]
Merge pull request #12451 from liewegas/wip-osd-on-applied

osd: never send rados ack (only commit)

Reviewed-by: Samuel Just <sjust@redhat.com>
8 years agoMerge pull request #12480 from dx9/wip-boost-python
Kefu Chai [Thu, 29 Dec 2016 17:29:00 +0000 (01:29 +0800)]
Merge pull request #12480 from dx9/wip-boost-python

cmake: fix hard coded boost python lib

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12406 from songbaisen/s5
Sage Weil [Thu, 29 Dec 2016 17:22:28 +0000 (11:22 -0600)]
Merge pull request #12406 from songbaisen/s5

tool: add some ceph relate processes to ps-ceph.pl

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12621 from fiskn/master
Sage Weil [Thu, 29 Dec 2016 17:17:57 +0000 (11:17 -0600)]
Merge pull request #12621 from fiskn/master

doc: Update disk thread section to reflect that scrubbing is no longe…

8 years agomon/OSDMonitor: set last_force_op_resend on overlay pool too 12712/head
Sage Weil [Thu, 29 Dec 2016 17:08:28 +0000 (12:08 -0500)]
mon/OSDMonitor: set last_force_op_resend on overlay pool too

We currently set the last_force_op_resend field on the
base pool when we set or clear the overlay.  Set it on
the cache/overlay pool too.  The Objecter should resend
even with a change only to the base pool, but the OSD
needs to see the change on the overlay pool to correctly
discard the op.

Fixes: http://tracker.ceph.com/issues/18366
Signed-off-by: Sage Weil <sage@redhat.com>
8 years agotest: update test_rados_tool.sh, use POOL and OBJ var 12706/head
liuchang0812 [Thu, 29 Dec 2016 03:08:54 +0000 (11:08 +0800)]
test: update test_rados_tool.sh, use POOL and OBJ var

* replace hard-code pool name with $POOL
* replace hard-code object name with $OBJ
* introduce a new variable called $POOL_EC
* clean up pool
* simplify test case

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agomsg/async/rdma: fix ceph_clock_now calls 12711/head
Haomai Wang [Thu, 29 Dec 2016 15:50:31 +0000 (23:50 +0800)]
msg/async/rdma: fix ceph_clock_now calls

Signed-off-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #12403 from liewegas/wip-mon-mgr-cleanups
Sage Weil [Thu, 29 Dec 2016 15:38:59 +0000 (09:38 -0600)]
Merge pull request #12403 from liewegas/wip-mon-mgr-cleanups

mon: clean up some osdmon/pgmon interactions

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoqa/workunits: remove crash_replay_interval tests 12451/head
Sage Weil [Tue, 20 Dec 2016 21:03:17 +0000 (16:03 -0500)]
qa/workunits: remove crash_replay_interval tests

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agodoc: remove crash_replay_interval mentions
Sage Weil [Tue, 20 Dec 2016 21:03:06 +0000 (16:03 -0500)]
doc: remove crash_replay_interval mentions

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/MDSMonitor: no need to set crash_replay_interval on data pools
Sage Weil [Tue, 20 Dec 2016 21:01:52 +0000 (16:01 -0500)]
mon/MDSMonitor: no need to set crash_replay_interval on data pools

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/PG: remove waiting_for_ack
Sage Weil [Tue, 20 Dec 2016 20:55:56 +0000 (15:55 -0500)]
osd/PG: remove waiting_for_ack

No longer used.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd: simplify dup/resent logic
Sage Weil [Tue, 20 Dec 2016 20:54:18 +0000 (15:54 -0500)]
osd: simplify dup/resent logic

No need to special ack path.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd: remove replay_queue
Sage Weil [Tue, 20 Dec 2016 20:46:47 +0000 (15:46 -0500)]
osd: remove replay_queue

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/PG: do not go into replay state
Sage Weil [Tue, 20 Dec 2016 20:44:28 +0000 (15:44 -0500)]
osd/PG: do not go into replay state

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/PG: do not queue ops for replay
Sage Weil [Tue, 20 Dec 2016 20:43:31 +0000 (15:43 -0500)]
osd/PG: do not queue ops for replay

We no longer send ACKs, so this can't happen anyway.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd: we can discard "replay" ops
Sage Weil [Tue, 20 Dec 2016 20:42:05 +0000 (15:42 -0500)]
osd: we can discard "replay" ops

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/ReplicatedPG: do not send ACK separate from COMMIT
Sage Weil [Sat, 10 Dec 2016 23:03:10 +0000 (17:03 -0600)]
osd/ReplicatedPG: do not send ACK separate from COMMIT

This never comes before COMMIT, making it useless to clients.  And it's
just unnecessary overhead.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd: remove 'rlat' read latency metrics
Sage Weil [Sat, 10 Dec 2016 23:00:46 +0000 (17:00 -0600)]
osd: remove 'rlat' read latency metrics

These are measuring how long of a delay we see before ops are readable.
They are calculated in the on_applied path, which we'd like to remove,
and weren't reliably calculated anyway.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/ReplicatedPG: kill hit_set_flushing
Sage Weil [Sat, 10 Dec 2016 22:37:24 +0000 (16:37 -0600)]
osd/ReplicatedPG: kill hit_set_flushing

This was added before we started taking the ondisk lock in order to allow
reading a just-written hitset.  Since this is a rare path anyway, just
take the ondisk lock.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12522 from hjwsm1989/ecwrite
Sage Weil [Thu, 29 Dec 2016 15:29:24 +0000 (09:29 -0600)]
Merge pull request #12522 from hjwsm1989/ecwrite

osd/ECBackend: Send write message to peers first, then do local write

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12524 from yuyuyu101/wip-bluestore-flush
Sage Weil [Thu, 29 Dec 2016 15:28:39 +0000 (09:28 -0600)]
Merge pull request #12524 from yuyuyu101/wip-bluestore-flush

os/bluestore: prevent lock for almost "flush" calls

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12528 from kylinstorage/wip-JournalingObjectStore-cleanup
Sage Weil [Thu, 29 Dec 2016 15:27:51 +0000 (09:27 -0600)]
Merge pull request #12528 from kylinstorage/wip-JournalingObjectStore-cleanup

os/filestore/JournalingObjectStore cleanup

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12670 from liewegas/wip-nits
Sage Weil [Thu, 29 Dec 2016 15:27:32 +0000 (09:27 -0600)]
Merge pull request #12670 from liewegas/wip-nits

mon: fix a few nits

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12684 from xiexingguo/xxg-wip-fix-onodesizetracking
Sage Weil [Thu, 29 Dec 2016 15:26:21 +0000 (09:26 -0600)]
Merge pull request #12684 from xiexingguo/xxg-wip-fix-onodesizetracking

os/bluestore: fix OnodeSizeTracking testing

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agomsg/Messenger.cc: add std::move 9760/head
Michal Jarzabek [Thu, 16 Jun 2016 20:34:08 +0000 (21:34 +0100)]
msg/Messenger.cc: add std::move

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
8 years agoMerge pull request #12707 from tchaikov/wip-dpdk-v16.07
Haomai Wang [Thu, 29 Dec 2016 07:02:59 +0000 (15:02 +0800)]
Merge pull request #12707 from tchaikov/wip-dpdk-v16.07

builds with dpdk v16.07

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agomsg/async: bump dpdk to v16.07 12707/head
Kefu Chai [Thu, 29 Dec 2016 06:01:06 +0000 (14:01 +0800)]
msg/async: bump dpdk to v16.07

as some distros include it already. so sync it up to avoid building
failures on them with dpdk-dev package(s) shipped by distro.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agomsg/async: be compatible with dpdk v16.07
Kefu Chai [Thu, 29 Dec 2016 05:59:30 +0000 (13:59 +0800)]
msg/async: be compatible with dpdk v16.07

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12698 from yuyuyu101/wip-dpdk-fix
Kefu Chai [Thu, 29 Dec 2016 06:06:00 +0000 (14:06 +0800)]
Merge pull request #12698 from yuyuyu101/wip-dpdk-fix

msg/async/dpdk: fix compile errors

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12699 from wjwithagen/patch-15
Kefu Chai [Thu, 29 Dec 2016 04:04:23 +0000 (12:04 +0800)]
Merge pull request #12699 from wjwithagen/patch-15

qa/test_rados_tool.sh: POSIX dd only accepts 'k' as multiplier

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