Haomai Wang
836c5686b5
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>
2017-01-06 11:20:27 +08:00
Josh Durgin
86f0ddb6c5
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>
2017-01-05 16:53:09 -08:00
Yuri Weinstein
6c00a64e87
Using centos 7.2 as latest version
...
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2017-01-06 00:26:13 +00:00
Josh Durgin
aa644c4ce2
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>
2017-01-05 14:31:38 -08:00
Yuri Weinstein
b29faef354
qa: Cleaned up distros to use latest
versions
...
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2017-01-05 13:38:04 -08:00
Nathan Cutler
dd0c4a5685
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>
2017-01-05 21:26:46 +01:00
Nathan Cutler
2258f2f166
ceph_fuse: pid_file default to empty
...
Fixes: http://tracker.ceph.com/issues/18309
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-01-05 21:26:46 +01:00
Samuel Just
9d5fb726c6
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>
2017-01-05 12:13:54 -08:00
Jason Dillaman
9ad8fec43f
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>
2017-01-05 10:27:41 -05:00
Mykola Golub
18567fb9f9
Merge pull request #12050 from dillaman/wip-16180
...
librados: asynchronous selfmanaged_snap_create/selfmanaged_snap_remove APIs
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-01-05 17:18:11 +02:00
Kefu Chai
d58dcba22f
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>
2017-01-05 22:21:59 +08:00
Kefu Chai
053d40fc17
Merge pull request #12562 from majianpeng/rockdb-option
...
rocksdb: add option: writable_file_max_buffer_size = 0
Reviewed-by: Sage Weil <sage@redhat.com>
2017-01-05 22:12:57 +08:00
Loic Dachary
23e6de2b7d
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>
2017-01-05 15:08:49 +01:00
Kefu Chai
0d5780c93d
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>
2017-01-05 22:07:31 +08:00
Kefu Chai
14d8d5d10f
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>
2017-01-05 21:59:30 +08:00
John Spray
5f6cdab80f
qa/tasks: add test_corrupt_backtrace
...
Validate that we get EIO and a damage table entry
when seeing a decode error on a backtrace.
Signed-off-by: John Spray <john.spray@redhat.com>
2017-01-05 13:41:59 +00:00
John Spray
6f489c74ac
mds: check for errors decoding backtraces
...
Fixes: http://tracker.ceph.com/issues/18311
Signed-off-by: John Spray <john.spray@redhat.com>
2017-01-05 13:41:59 +00:00
Kefu Chai
752ef9bfde
Merge pull request #12769 from bachp/cmake-keyutils
...
cmake: search for Keyutils in default paths
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-05 20:49:46 +08:00
Kefu Chai
9681c49905
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>
2017-01-05 20:43:34 +08:00
Kefu Chai
2053577292
script/sepia_bt.sh: download packages from shaman not gitbuilder
...
also download ceph-test packages if we are debugging ceph_test_*.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-01-05 20:21:18 +08:00
Bartłomiej Święcki
1380a39018
tools: Support hammer in rbd_recover_tool
...
Signed-off-by: Bartłomiej Święcki <bartlomiej.swiecki@corp.ovh.com>
2017-01-05 10:24:16 +00:00
optimistyzy
dfd212a014
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>
2017-01-05 11:37:15 +08:00
Xie Xingguo
71fa695edd
Merge pull request #12772 from hjwsm1989/mempool
...
include/mempool: fix typo in comments
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-01-05 08:30:12 +08:00
Samuel Just
5ead0588e8
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>
2017-01-04 14:03:19 -08:00
Yuri Weinstein
dd51d2e09b
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>
2017-01-04 12:51:51 -08:00
Willem Jan Withagen
4db092cee0
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>
2017-01-04 21:50:22 +01:00
Nathan Cutler
cc4551485a
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>
2017-01-04 19:06:25 +01:00
Jamin W. Collins
4405e4906e
Adding Arch Linux support
...
Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
2017-01-04 09:36:50 -08:00
Kefu Chai
5e0dd1e7df
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>
2017-01-05 00:12:55 +08:00
Jason Dillaman
cc6b6fbb58
Merge pull request #12697 from kylinstorage/wip-rbd-bench
...
rbd: additional validation for 'bench' optional parameters
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-01-04 10:58:59 -05:00
Jason Dillaman
92a54190c2
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>
2017-01-04 10:21:50 -05:00
Kefu Chai
28622f88ae
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>
2017-01-04 23:09:06 +08:00
Haomai Wang
0940e7e1a2
Merge pull request #12737 from amirv/refactor
...
Move code from .h into .cc
Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-01-04 23:07:24 +08:00
Willem Jan Withagen
cabc409bf5
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>
2017-01-04 13:29:45 +01:00
Pascal Bach
c79bf93d02
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>
2017-01-04 12:47:17 +01:00
Kefu Chai
a7b78620f0
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>
2017-01-04 18:08:46 +08:00
Gaurav Kumar Garg
a0379f096d
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>
2017-01-04 11:06:19 +01:00
Kefu Chai
d0be9caeec
Merge pull request #12544 from hjwsm1989/oc
...
osdc/ObjectCacher: use state instead of get_state()
Reviewed-by: Sage Weil <sage@redhat.com>
2017-01-04 18:06:13 +08:00
Kefu Chai
ee5d8b97eb
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>
2017-01-04 18:05:11 +08:00
Kefu Chai
2ffc63bc9a
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>
2017-01-04 18:02:47 +08:00
Kefu Chai
bb70beb603
Merge pull request #12732 from Liuchang0812/wip-issue-17449
...
mgr: Make stats period configurable
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-04 17:57:34 +08:00
liuchang0812
7542a3582b
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>
2017-01-04 14:43:16 +08:00
Kefu Chai
95c01de421
Merge pull request #12777 from wjin/clean_posixworker
...
msg/async: rm nonused thread variable in posixworker
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-04 14:38:58 +08:00
xie xingguo
3bd8422b05
common: get rid of "warning: ignoring return value of ‘strerror_r’"
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-01-04 13:55:24 +08:00
Xie Xingguo
3c0561cb0a
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>
2017-01-04 13:52:04 +08:00
Brad Hubbard
dc01b4bfea
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>
2017-01-04 15:25:59 +10:00
Brad Hubbard
9af64b8752
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>
2017-01-04 15:10:35 +10:00
Brad Hubbard
f3001f35ef
osd/osd_type: Fix logging output
...
Logging should reflect the actual function name.
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2017-01-04 14:48:31 +10:00
Brad Hubbard
f7ddb77719
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>
2017-01-04 14:44:12 +10:00
optimistyzy
52494f15a3
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>
2017-01-04 12:32:30 +08:00