]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agotests: subst repo and branch in qemu test urls 12816/head
Nathan Cutler [Sat, 7 Jan 2017 12:48:51 +0000 (13:48 +0100)]
tests: subst repo and branch in qemu test urls

References: http://tracker.ceph.com/issues/18440
Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agotests: subst branch and repo in qa/tasks/qemu.py
Nathan Cutler [Sat, 7 Jan 2017 12:45:10 +0000 (13:45 +0100)]
tests: subst branch and repo in qa/tasks/qemu.py

References: http://tracker.ceph.com/issues/18440
Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agotests: subst repo name in krbd/unmap/tasks/unmap.yaml
Nathan Cutler [Fri, 6 Jan 2017 20:09:23 +0000 (21:09 +0100)]
tests: subst repo name in krbd/unmap/tasks/unmap.yaml

Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agotests: subst repo name in qa/tasks/cram.py
Nathan Cutler [Fri, 6 Jan 2017 20:06:11 +0000 (21:06 +0100)]
tests: subst repo name in qa/tasks/cram.py

Inspired by bcbe45d948f1c4da02e27b3be5f29a8b52745e28

Fixes: http://tracker.ceph.com/issues/18440
Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #12549 from trociny/wip-16555
Jason Dillaman [Fri, 6 Jan 2017 22:57:53 +0000 (17:57 -0500)]
Merge pull request #12549 from trociny/wip-16555

librbd: permit removal of image being bootstrapped by rbd-mirror

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #12638 from yangdongsheng/rbd_remove_incompatible
Jason Dillaman [Fri, 6 Jan 2017 22:56:53 +0000 (17:56 -0500)]
Merge pull request #12638 from yangdongsheng/rbd_remove_incompatible

librbd: don't continue to remove an image w/ incompatible features

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #12787 from jamincollins/arch-linux
Dan Mick [Fri, 6 Jan 2017 21:12:26 +0000 (13:12 -0800)]
Merge pull request #12787 from jamincollins/arch-linux

ceph-detect-init: adding Arch Linux support

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agoMerge pull request #11776 from ceph/wip-rgw-openssl-7
Matt Benjamin [Fri, 6 Jan 2017 17:08:38 +0000 (12:08 -0500)]
Merge pull request #11776 from ceph/wip-rgw-openssl-7

Wip rgw openssl 7

8 years agoMerge pull request #12096 from wjwithagen/wip-wjw-readme-20161121
Kefu Chai [Fri, 6 Jan 2017 15:56:26 +0000 (23:56 +0800)]
Merge pull request #12096 from wjwithagen/wip-wjw-readme-20161121

README.FreeBSD: update current status

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12628 from SUSE/wip-18309-alt
Kefu Chai [Fri, 6 Jan 2017 15:28:49 +0000 (23:28 +0800)]
Merge pull request #12628 from SUSE/wip-18309-alt

ceph_fuse: pid_file default to empty

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12811 from wjwithagen/wip-wjw-rbd-udev-blkid
Kefu Chai [Fri, 6 Jan 2017 14:26:39 +0000 (22:26 +0800)]
Merge pull request #12811 from wjwithagen/wip-wjw-rbd-udev-blkid

cmake: cleanup the use of udev and blkid in target_link_lib()

Reviewed-by: Kefu Chai <kefu@redhat.com>
8 years agoMerge pull request #12478 from renhwztetecs/renhw-wip-client-lookup_parent
John Spray [Fri, 6 Jan 2017 13:19:15 +0000 (13:19 +0000)]
Merge pull request #12478 from renhwztetecs/renhw-wip-client-lookup_parent

client: don't request lookup parent if ino is root

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #12276 from kylinstorage/wip-cleanup-makeshared
John Spray [Fri, 6 Jan 2017 13:11:03 +0000 (13:11 +0000)]
Merge pull request #12276 from kylinstorage/wip-cleanup-makeshared

cleanup: use std::make_shared to replace new

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agotests: add no_client_pidfile override to fs/recovery tests 12628/head
Nathan Cutler [Thu, 5 Jan 2017 20:29:09 +0000 (21:29 +0100)]
tests: add no_client_pidfile override to fs/recovery tests

Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agotests: override yaml to set client pid file to empty string
Nathan Cutler [Thu, 5 Jan 2017 20:22:58 +0000 (21:22 +0100)]
tests: override yaml to set client pid file to empty string

Due to http://tracker.ceph.com/issues/18309 the pid file for fuse clients
should always be set to the empty string. (Teuthology's default ceph.conf
sets it to /var/run/ceph/$cluster-$name.pid)

This commit adds a reusable yaml facet for this purpose.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agoCmake: cleanup the use of udev and blkid in target_link_lib() 12811/head
Willem Jan Withagen [Fri, 6 Jan 2017 10:05:55 +0000 (11:05 +0100)]
Cmake: cleanup the use of udev and blkid in target_link_lib()

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
8 years agoMerge pull request #12780 from optimistyzy/201714_1
Haomai Wang [Fri, 6 Jan 2017 03:21:32 +0000 (11:21 +0800)]
Merge pull request #12780 from optimistyzy/201714_1

NVMEDevice: optimize sector_size usage

Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Pan Liu <pan.liu@istuary.com>
8 years agoMerge pull request #12776 from optimistyzy/201714
Haomai Wang [Fri, 6 Jan 2017 03:20:27 +0000 (11:20 +0800)]
Merge pull request #12776 from optimistyzy/201714

cmake: remove Findpciaccess.cmake

Reviewed-by: Kefu Chai <kefu@redhat.com>
Reviewed-by: Pan Liu <pan.liu@istuary.com>
8 years agoMerge pull request #12806 from yuriw/wip-fix-distro-master
Josh Durgin [Fri, 6 Jan 2017 00:53:09 +0000 (16:53 -0800)]
Merge pull request #12806 from yuriw/wip-fix-distro-master

qa: Using centos 7.2 for `latest` version

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoUsing centos 7.2 as latest version 12806/head
Yuri Weinstein [Thu, 5 Jan 2017 23:42:07 +0000 (23:42 +0000)]
Using centos 7.2 as latest version

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
8 years agoMerge pull request #12804 from yuriw/wip-fix-distro-master
Josh Durgin [Thu, 5 Jan 2017 22:31:38 +0000 (14:31 -0800)]
Merge pull request #12804 from yuriw/wip-fix-distro-master

qa: Cleaned up distros to use `latest` versions

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoqa: Cleaned up distros to use `latest` versions 12804/head
Yuri Weinstein [Thu, 5 Jan 2017 21:28:39 +0000 (13:28 -0800)]
qa: Cleaned up distros to use `latest` versions

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
8 years agofuse: remove dead code after usage() call
Nathan Cutler [Thu, 22 Dec 2016 21:15:32 +0000 (22:15 +0100)]
fuse: remove dead code after usage() call

usage() calls generic_client_usage(), which calls exit(-1), which never
returns.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agoceph_fuse: pid_file default to empty
Nathan Cutler [Thu, 22 Dec 2016 17:21:18 +0000 (18:21 +0100)]
ceph_fuse: pid_file default to empty

Fixes: http://tracker.ceph.com/issues/18309
Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #12788 from athanatos/wip-oi-mismatch
Samuel Just [Thu, 5 Jan 2017 20:13:54 +0000 (12:13 -0800)]
Merge pull request #12788 from athanatos/wip-oi-mismatch

PrimaryLogPG: don't update digests for objects with mismatched names

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #12413 from ovh/wip-support-hammer-in-rbd_recover_tool
Jason Dillaman [Thu, 5 Jan 2017 15:27:41 +0000 (10:27 -0500)]
Merge pull request #12413 from ovh/wip-support-hammer-in-rbd_recover_tool

tools: support hammer in rbd_recover_tool

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #12050 from dillaman/wip-16180
Mykola Golub [Thu, 5 Jan 2017 15:18:11 +0000 (17:18 +0200)]
Merge pull request #12050 from dillaman/wip-16180

librados: asynchronous selfmanaged_snap_create/selfmanaged_snap_remove APIs

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #12763 from wjwithagen/wip-wjw-freebsd-boostpython
Kefu Chai [Thu, 5 Jan 2017 14:21:59 +0000 (22:21 +0800)]
Merge pull request #12763 from wjwithagen/wip-wjw-freebsd-boostpython

CMakeLists.txt: boost_python.so requires libpython.*.so on FreeBSD

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12562 from majianpeng/rockdb-option
Kefu Chai [Thu, 5 Jan 2017 14:12:57 +0000 (22:12 +0800)]
Merge pull request #12562 from majianpeng/rockdb-option

rocksdb: add option: writable_file_max_buffer_size = 0

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12760 from tchaikov/wip-18371
Loic Dachary [Thu, 5 Jan 2017 14:08:49 +0000 (15:08 +0100)]
Merge pull request #12760 from tchaikov/wip-18371

ceph-disk: convert none str to str before printing it

Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Alfredo Deza <adeza@redhat.com>
8 years agoMerge pull request #12728 from Liuchang0812/fix-17861
Kefu Chai [Thu, 5 Jan 2017 14:07:31 +0000 (22:07 +0800)]
Merge pull request #12728 from Liuchang0812/fix-17861

osd: add asock command to dump the scrub queue

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12775 from xiexingguo/xxg-wip-shutup-warning
Kefu Chai [Thu, 5 Jan 2017 13:59:30 +0000 (21:59 +0800)]
Merge pull request #12775 from xiexingguo/xxg-wip-shutup-warning

common: get rid of "warning: ignoring return value of ‘strerror_r’"

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12769 from bachp/cmake-keyutils
Kefu Chai [Thu, 5 Jan 2017 12:49:46 +0000 (20:49 +0800)]
Merge pull request #12769 from bachp/cmake-keyutils

cmake: search for Keyutils in default paths

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12785 from wjwithagen/wip-wjw-cmake-parse_secret_objs
Kefu Chai [Thu, 5 Jan 2017 12:43:34 +0000 (20:43 +0800)]
Merge pull request #12785 from wjwithagen/wip-wjw-cmake-parse_secret_objs

src/CMakeLists.txt: Move parse_secret_objs setting within definition block

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agotools: Support hammer in rbd_recover_tool 12413/head
Bartłomiej Święcki [Wed, 5 Oct 2016 14:33:01 +0000 (14:33 +0000)]
tools: Support hammer in rbd_recover_tool

Signed-off-by: Bartłomiej Święcki <bartlomiej.swiecki@corp.ovh.com>
8 years agoNVMEDevice: optimize sector_size usage 12780/head
optimistyzy [Wed, 4 Jan 2017 06:15:01 +0000 (14:15 +0800)]
NVMEDevice: optimize sector_size usage

spdk_nvme_ns_get_sector_size returns 32 bit size,
so we just use 32 bit size for sector_size.

Signed-off-by: optimistyzy <optimistyzy@gmail.com>
8 years agoMerge pull request #12772 from hjwsm1989/mempool
Xie Xingguo [Thu, 5 Jan 2017 00:30:12 +0000 (08:30 +0800)]
Merge pull request #12772 from hjwsm1989/mempool

  include/mempool: fix typo in comments

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #12779 from badone/wip-check_new_interval-comment
Samuel Just [Wed, 4 Jan 2017 22:03:19 +0000 (14:03 -0800)]
Merge pull request #12779 from badone/wip-check_new_interval-comment

osd/osd_types: Move comment to more relevant position

Reviewed-by: Samuel Just <sjust@redhat.com>
8 years agoMerge pull request #12610 from tmuthamizhan/wip-ansible-suite
Yuri Weinstein [Wed, 4 Jan 2017 20:51:51 +0000 (12:51 -0800)]
Merge pull request #12610 from tmuthamizhan/wip-ansible-suite

qa/suite: Added a smoke suite for ceph-ansible

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
8 years agoCMakeLists.txt/FreeBSD: Boost_python needs explicit linking with libpython*.so 12763/head
Willem Jan Withagen [Tue, 3 Jan 2017 14:08:25 +0000 (15:08 +0100)]
CMakeLists.txt/FreeBSD: Boost_python needs explicit linking with libpython*.so

 - Otherwise losts of unresolved errors will result.

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
8 years agoMerge pull request #12181 from SUSE/wip-18037
Nathan Cutler [Wed, 4 Jan 2017 18:06:25 +0000 (19:06 +0100)]
Merge pull request #12181 from SUSE/wip-18037

osd: improve error message when FileStore op fails due to EPERM

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
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 agoceph-disk: convert none str to str before printing it 12760/head
Kefu Chai [Tue, 3 Jan 2017 12:40:00 +0000 (20:40 +0800)]
ceph-disk: convert none str to str before printing it

Error('somethings goes wrong', e) is thrown if exception `e` is caught
in ceph-disk, where e is not a string. so we can not just concat it in
Error's __str__(). so cast it to str before doing so.

introduced by d0e29c7

Fixes: http://tracker.ceph.com/issues/18371
Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #12697 from kylinstorage/wip-rbd-bench
Jason Dillaman [Wed, 4 Jan 2017 15:58:59 +0000 (10:58 -0500)]
Merge pull request #12697 from kylinstorage/wip-rbd-bench

rbd: additional validation for 'bench' optional parameters

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #12319 from gaurav36/bug-18125-rbd-mirror-enable-disable
Jason Dillaman [Wed, 4 Jan 2017 15:21:50 +0000 (10:21 -0500)]
Merge pull request #12319 from gaurav36/bug-18125-rbd-mirror-enable-disable

librbd: warning message for mirroring pool option

Reviewed-by: Jason Dillaman <dillaman@redhat.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 agosrc/CMakeLists.txt: Move parse_secret_objs setting within definition block 12785/head
Willem Jan Withagen [Wed, 4 Jan 2017 12:29:45 +0000 (13:29 +0100)]
src/CMakeLists.txt: Move parse_secret_objs setting within definition block

 - parse_secret_objs is only used when secret.c is actually used
   and that is with CEPHFS or RBD

This removes a Cmake warning on FreeBSD

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
8 years agocmake: search for Keyutils in default paths and cleanup 12769/head
Pascal Bach [Sun, 1 Jan 2017 22:38:59 +0000 (23:38 +0100)]
cmake: search for Keyutils in default paths and cleanup

This makes it more portable

Remove /usr/include as it is searched by find_path anyway.
Remove unnecessary include that weren't used.

Signed-off-by: Pascal Bach <pascal.bach@nextrem.ch>
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 agorbd: warning message for mirroring pool option 12319/head
Gaurav Kumar Garg [Mon, 5 Dec 2016 14:09:55 +0000 (15:09 +0100)]
rbd: warning message for mirroring pool option

When user enable/disable mirroring option on a pool, than
re-enabling/disabling mirroring option should give warning
message if it is already enable/disable.
It should also give warning when changing the mode from pool
to image or vice versa.

Fixes: http://tracker.ceph.com/issues/18125
Reported-by: Jason Dillaman <dillaman@redhat.com>
Signed-off-by: Gaurav Kumar Garg <garg.gaurav52@gmail.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 agoosd: add asock command to dump the scrub queue 12728/head
liuchang0812 [Sun, 1 Jan 2017 04:47:03 +0000 (12:47 +0800)]
osd: add asock command to dump the scrub queue

* add a public method to dumps scrubs
* register new command "dump_scrubs" to asock_admin

Fixes: http://tracker.ceph.com/issues/17861
Signed-off-by: liuchang0812 <liuchang0812@gmail.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 agocommon: get rid of "warning: ignoring return value of ‘strerror_r’" 12775/head
xie xingguo [Wed, 4 Jan 2017 01:54:48 +0000 (09:54 +0800)]
common: get rid of "warning: ignoring return value of ‘strerror_r’"

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
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_types: Move comment to more relevant position 12779/head
Brad Hubbard [Wed, 4 Jan 2017 05:10:35 +0000 (15:10 +1000)]
osd/osd_types: Move comment to more relevant position

The PriorSet constructor does not reference up_thru at all so the
comment makes more sense in pg_interval_t::check_new_interval.

Signed-off-by: Brad Hubbard <bhubbard@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 agocmake,modules: remove Findpciaccess.cmake 12776/head
optimistyzy [Wed, 4 Jan 2017 02:17:06 +0000 (10:17 +0800)]
cmake,modules: remove Findpciaccess.cmake

Now SPDK uses the DPDK's library for PCI device
enumeration, we can remove this dependency

Signed-off-by: optimistyzy <optimistyzy@gmail.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 ago include/mempool: fix typo in comments 12772/head
huangjun [Wed, 4 Jan 2017 01:04:14 +0000 (09:04 +0800)]
  include/mempool: fix typo in comments

Signed-off-by: huangjun <hjwsm1989@gmail.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 agoAdded a smoke suite for ceph-ansible 12610/head
Tamil Muthamizhan [Thu, 22 Dec 2016 00:03:31 +0000 (16:03 -0800)]
Added a smoke suite for ceph-ansible

Smoke suite with basic tests for ceph ansible deployment

Signed-off-by: Tamil Muthamizhan <tmuthami@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 agoosd: improve error message when FileStore op fails due to EPERM 12181/head
Nathan Cutler [Thu, 24 Nov 2016 17:23:43 +0000 (18:23 +0100)]
osd: improve error message when FileStore op fails due to EPERM

References: http://tracker.ceph.com/issues/18037
Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agoPrimaryLogPG: don't update digests for objects with mismatched names 12788/head
Samuel Just [Tue, 3 Jan 2017 18:50:22 +0000 (10:50 -0800)]
PrimaryLogPG: don't update digests for objects with mismatched names

I've only seen this on one cluster, but let's not issue repops during
scrub on objects where the object_info_t::soid value is not correct.
The cluster in question has been through many different non-release
kernels and osd versions, so the objects presumably came about due to an
old xfs or filestore bug.  They recently became fatal since we made
filestore crash on ENOENT for setattrs.  In the past, the cluster just
silently tolerated them.

http://tracker.ceph.com/issues/18409 is a larger feature to detect these
better and repair them automatically.

Related: http://tracker.ceph.com/issues/18409
Signed-off-by: Samuel Just <sjust@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>