]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agoqa: disable mon-health-to-clog in upgrade test 19233/head
Kefu Chai [Wed, 29 Nov 2017 05:37:24 +0000 (13:37 +0800)]
qa: disable mon-health-to-clog in upgrade test

otherwise the cluster will complain that the quorum size is smaller than
that of monmap.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoqa/tasks/ceph: add mon-health-to-clog option to "restart"
Kefu Chai [Wed, 29 Nov 2017 04:19:35 +0000 (12:19 +0800)]
qa/tasks/ceph: add mon-health-to-clog option to "restart"

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoqa/tasks/ceph_manager: add inject_args() method
Kefu Chai [Wed, 29 Nov 2017 04:15:48 +0000 (12:15 +0800)]
qa/tasks/ceph_manager: add inject_args() method

* move Thrasher._set_config() to CephManager, and make it a public
  method, and rename it to inject_args(),
* use this method instead of using 'tell ... injectargs ...' directly

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #9571 from yehudasa/wip-rgw-redirect-zone
Kefu Chai [Wed, 29 Nov 2017 08:38:54 +0000 (16:38 +0800)]
Merge pull request #9571 from yehudasa/wip-rgw-redirect-zone

rgw: add a default redirect field for zones

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
7 years agoMerge pull request #19159 from shinobu-x/drop_using_namespace_std
Kefu Chai [Wed, 29 Nov 2017 08:16:39 +0000 (16:16 +0800)]
Merge pull request #19159 from shinobu-x/drop_using_namespace_std

common: drop namespace using directives for std

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge pull request #19165 from xiaoxichen/fix_used_pct
Kefu Chai [Wed, 29 Nov 2017 08:14:40 +0000 (16:14 +0800)]
Merge pull request #19165 from xiaoxichen/fix_used_pct

mon/PGMap: Fix %USED calculation bug.

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19156 from cyx1231st/fix_blkin_tracing
Kefu Chai [Wed, 29 Nov 2017 08:13:34 +0000 (16:13 +0800)]
Merge pull request #19156 from cyx1231st/fix_blkin_tracing

blkin: Fix unconditional tracing in OSD

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #19149 from rzarzynski/wip-common-perfguards
Kefu Chai [Wed, 29 Nov 2017 08:12:57 +0000 (16:12 +0800)]
Merge pull request #19149 from rzarzynski/wip-common-perfguards

common:  RAII-styled mechanism for updating PerfCounters

Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19112 from xiaoxichen/osd_mapped_pool
Kefu Chai [Wed, 29 Nov 2017 08:12:02 +0000 (16:12 +0800)]
Merge pull request #19112 from xiaoxichen/osd_mapped_pool

OSD/admin_socket: add get_mapped_pools command

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18959 from cooboos/wip-cephdencoder-LCtype
Kefu Chai [Wed, 29 Nov 2017 08:10:46 +0000 (16:10 +0800)]
Merge pull request #18959 from cooboos/wip-cephdencoder-LCtype

ceph-dencoder: add support for RGWLifecycleConfiguration

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19174 from smithfarm/wip-cmake-exclude-gitignore
Kefu Chai [Wed, 29 Nov 2017 07:39:14 +0000 (15:39 +0800)]
Merge pull request #19174 from smithfarm/wip-cmake-exclude-gitignore

cmake: mgr: exclude .gitignore

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18938 from tchaikov/wip-cmake
Kefu Chai [Wed, 29 Nov 2017 07:38:16 +0000 (15:38 +0800)]
Merge pull request #18938 from tchaikov/wip-cmake

cmake: check gcc version not release date for libstdc++ saneness

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge PR #19206 into master
Patrick Donnelly [Tue, 28 Nov 2017 20:02:52 +0000 (12:02 -0800)]
Merge PR #19206 into master

* refs/pull/19206/head:
doc: add pre-requisite to enable CephFS snapshot

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge pull request #19199 from tchaikov/wip-22136
Kefu Chai [Tue, 28 Nov 2017 15:46:49 +0000 (23:46 +0800)]
Merge pull request #19199 from tchaikov/wip-22136

 qa/ceph-disk: enlarge the simulated SCSI disk

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #19163 from vshankar/rbd-image-map-mem-leak
Jason Dillaman [Tue, 28 Nov 2017 14:03:12 +0000 (09:03 -0500)]
Merge pull request #19163 from vshankar/rbd-image-map-mem-leak

rbd-mirror: ImageMap memory leak fixes

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #19172 from joscollin/wip-mount-fuse-ceph-doc
Jos Collin [Tue, 28 Nov 2017 11:08:13 +0000 (16:38 +0530)]
Merge pull request #19172 from joscollin/wip-mount-fuse-ceph-doc

doc: doc for mount.fuse.ceph

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
7 years agodoc: doc for mount.fuse.ceph 19172/head
Jos Collin [Mon, 27 Nov 2017 10:46:35 +0000 (16:16 +0530)]
doc: doc for mount.fuse.ceph

Created doc for mount.fuse.ceph.

Fixes: http://tracker.ceph.com/issues/21539
Signed-off-by: Jos Collin <jcollin@redhat.com>
7 years agotest_multi: add a test for zone redirect 9571/head
Yehuda Sadeh [Sun, 17 Sep 2017 12:10:41 +0000 (05:10 -0700)]
test_multi: add a test for zone redirect

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agorgw-admin: add option to configure redirect_zone
Yehuda Sadeh [Sun, 17 Sep 2017 09:30:25 +0000 (02:30 -0700)]
rgw-admin: add option to configure redirect_zone

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agodoc: add pre-requisite to enable CephFS snapshot 19206/head
rune [Tue, 28 Nov 2017 08:25:17 +0000 (16:25 +0800)]
doc: add pre-requisite to enable CephFS snapshot
Signed-off-by: Jian Su <sujian@umcloud.com>
7 years agoqa/ceph-disk: enlarge the simulated SCSI disk 19199/head
Kefu Chai [Tue, 28 Nov 2017 06:42:31 +0000 (14:42 +0800)]
qa/ceph-disk: enlarge the simulated SCSI disk

100MB will be allocated for journal, and the remaining 100MB is for data
device. taking the inode into consideration, there will be approximately
87988 kB available for the activated OSD. and it will complain with a
"nearfull" state.

Fixes: http://tracker.ceph.com/issues/22136
Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoceph-disk: should throw if fail to read key-management-mode
Kefu Chai [Tue, 28 Nov 2017 06:41:31 +0000 (14:41 +0800)]
ceph-disk: should throw if fail to read key-management-mode

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoceph-disk: fix the logging messages
Kefu Chai [Mon, 27 Nov 2017 08:36:34 +0000 (16:36 +0800)]
ceph-disk: fix the logging messages

logging.Logger.warn(format, *args). so no need to prepar a string
for it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoceph-disk: path_set_context() after rename()
Kefu Chai [Mon, 27 Nov 2017 08:35:56 +0000 (16:35 +0800)]
ceph-disk: path_set_context() after rename()

it does not matter if we chown/restorecon before or after the rename,
but the logging message looks better this way: instead of fixing the
.tmp files, we are updating the attributes of the dest files w/o
.${pid}.tmp extension.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoqa/workunits/ceph-disk: do not redirect stderr to stdout
Kefu Chai [Mon, 27 Nov 2017 04:08:04 +0000 (12:08 +0800)]
qa/workunits/ceph-disk: do not redirect stderr to stdout

normally, if we care about the output of ceph-disk, we expect a json
string, and ceph-disk sends the output to stdout, and errors/warnings
to stderr. so everything works as expected. and the test should also
follow this tradition. for example, if deprecated warnings are printed,
the warning message should not be collected along with the json string.

see also: d44334f3

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agomon/PGMap: Fix %USED calculation bug. 19165/head
Xiaoxi Chen [Mon, 27 Nov 2017 05:51:58 +0000 (22:51 -0700)]
mon/PGMap: Fix %USED calculation bug.

Previous code forgot to multiple raw_used_ratio to calculate
used byte.

Fixes: http://tracker.ceph.com/issues/22247
Signed-off-by: Xiaoxi Chen <xiaoxchen@ebay.com>
7 years agoMerge pull request #19182 from cbodley/wip-beast-v124
Matt Benjamin [Mon, 27 Nov 2017 19:27:34 +0000 (14:27 -0500)]
Merge pull request #19182 from cbodley/wip-beast-v124

submodule: update Beast to ceph/ceph-master branch

7 years agosubmodule: update Beast to ceph/ceph-master branch 19182/head
Casey Bodley [Mon, 27 Nov 2017 19:16:33 +0000 (14:16 -0500)]
submodule: update Beast to ceph/ceph-master branch

pulls beast submodule up from v116 tag to v124, with an additional bug
fix for async_read_some()

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #19175 from liewegas/wip-rest-test
Yuri Weinstein [Mon, 27 Nov 2017 17:20:44 +0000 (09:20 -0800)]
Merge pull request #19175 from liewegas/wip-rest-test

qa/suites/rados/rest: move rest_test from qa/suites/rest/

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
7 years agoqa/suites/rados/rest: move rest_test from qa/suites/rest/ 19175/head
Sage Weil [Mon, 27 Nov 2017 16:11:51 +0000 (10:11 -0600)]
qa/suites/rados/rest: move rest_test from qa/suites/rest/

...and add more health whitelists.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agocmake: mgr: exclude .gitignore 19174/head
Nathan Cutler [Mon, 27 Nov 2017 14:09:39 +0000 (15:09 +0100)]
cmake: mgr: exclude .gitignore

Fixes RPMLINT warning:

ceph-mgr.x86_64: W: version-control-internal-file /usr/lib64/ceph/mgr/.gitignore
ceph-mgr.x86_64: W: version-control-internal-file /usr/lib64/ceph/mgr/dashboard/static/AdminLTE-2.3.7/.gitignore
You have included file(s) internally used by a version control system in the
package. Move these files out of the package and rebuild it.

Note: the backslash has to be doubled up for the regex to make
it through CMake.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #19109 from mikulely/main-cleanup
Casey Bodley [Mon, 27 Nov 2017 14:16:48 +0000 (09:16 -0500)]
Merge pull request #19109 from mikulely/main-cleanup

rgw: drop useless includes in rgw_{main.cc, common.h}

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agocommon: introduce PerfGuard to PerfCounters. 19149/head
Radoslaw Zarzynski [Fri, 24 Nov 2017 16:38:33 +0000 (17:38 +0100)]
common: introduce PerfGuard to PerfCounters.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 years agoMerge pull request #18935 from cfanz/cfanz-version-id-wip
Casey Bodley [Mon, 27 Nov 2017 14:12:34 +0000 (09:12 -0500)]
Merge pull request #18935 from cfanz/cfanz-version-id-wip

rgw:send x-amz-version-id header when upload files

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #18981 from yaozongyou/fix-rgw-bi-decode-bug
Casey Bodley [Mon, 27 Nov 2017 14:09:31 +0000 (09:09 -0500)]
Merge pull request #18981 from yaozongyou/fix-rgw-bi-decode-bug

cls/rgw: mtime in rgw_bucket_dir_entry_meta not really decoded

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #18978 from yaozongyou/wip-radosgw-admin-add-check
Casey Bodley [Mon, 27 Nov 2017 14:08:59 +0000 (09:08 -0500)]
Merge pull request #18978 from yaozongyou/wip-radosgw-admin-add-check

rgw-admin: check the data extra pool supports omap

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #18962 from ZVampirEM77/wip-em-readlen
Casey Bodley [Mon, 27 Nov 2017 14:08:23 +0000 (09:08 -0500)]
Merge pull request #18962 from ZVampirEM77/wip-em-readlen

rgw: check read_op.read return value in RGWRados::copy_obj_data

Reviewed-by: Amit Kumar <amitkuma@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #19130 from trociny/wip-mirror-enable-cleanup
Jason Dillaman [Mon, 27 Nov 2017 14:06:19 +0000 (09:06 -0500)]
Merge pull request #19130 from trociny/wip-mirror-enable-cleanup

librbd: update mirror::EnableRequest diagram according to code

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #19128 from joscollin/wip-mountfuseceph-typo
Jos Collin [Mon, 27 Nov 2017 11:58:21 +0000 (17:28 +0530)]
Merge pull request #19128 from joscollin/wip-mountfuseceph-typo

mount.fuse.ceph: Fix typo

Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoblkin: fix unconditional tracing 19156/head
Yingxin [Mon, 27 Nov 2017 10:02:25 +0000 (05:02 -0500)]
blkin: fix unconditional tracing

Blkin trace will be triggered unconditionally at OSD `issue_op`, even if
op->pg_trace is not initialized. This issue introduces unnecessary
overhead and confusing tracing records when blkin tracing is ON.

Signed-off-by: Yingxin <yingxin.cheng@intel.com>
7 years agoMerge pull request #19169 from wwba/fix-ceph-bluestore-tool-man-page
Jos Collin [Mon, 27 Nov 2017 09:36:10 +0000 (15:06 +0530)]
Merge pull request #19169 from wwba/fix-ceph-bluestore-tool-man-page

doc: drop duplicate line in ceph-bluestore-tool man page

Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agodoc: remove duplicate line from ceph-authtool man page 19168/head 19169/head
Xiaojun Liao [Mon, 27 Nov 2017 07:49:02 +0000 (15:49 +0800)]
doc: remove duplicate line from ceph-authtool man page

Signed-off-by: Xiaojun Liao <xiaojunliao85@gmail.com>
7 years agoceph-dencoder: add support for RGWLifecycleConfiguration 18959/head
wangsongbo [Thu, 16 Nov 2017 03:38:58 +0000 (11:38 +0800)]
ceph-dencoder: add support for RGWLifecycleConfiguration

Signed-off-by: Songbo Wang wangsongbo@cloudin.cn
7 years agorbd-mirror: ImageMap memory leak fixes 19163/head
Venky Shankar [Tue, 21 Nov 2017 16:27:40 +0000 (11:27 -0500)]
rbd-mirror: ImageMap memory leak fixes

Signed-off-by: Venky Shankar <vshankar@redhat.com>
7 years agocmake: silence CMP0054 warning 18938/head
Kefu Chai [Mon, 27 Nov 2017 04:39:41 +0000 (12:39 +0800)]
cmake: silence CMP0054 warning

see https://gitlab.kitware.com/cmake/cmake/issues/17381 and
https://gitlab.kitware.com/cmake/cmake/commit/a8be8b1b54fe1922a1d1fc0365c3ae5c918b6654,
so before the updated cmake is released and packaged. we should
add this setting.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years ago[cleanup] Remove namespace using directives for std 19159/head
Shinobu Kinjo [Mon, 27 Nov 2017 04:46:58 +0000 (13:46 +0900)]
[cleanup] Remove namespace using directives for std

Signed-off-by: Shinobu Kinjo <shinobu@redhat.com>
7 years agoMerge pull request #19154 from Fusl/master
Xie Xingguo [Mon, 27 Nov 2017 00:21:56 +0000 (08:21 +0800)]
Merge pull request #19154 from Fusl/master

doc: correcting typos in bluestore-config-ref and bluestore-migration

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agodoc: correcting typos in bluestore-config-ref and bluestore-migration 19154/head
Katie Holly [Sun, 26 Nov 2017 16:47:35 +0000 (17:47 +0100)]
doc: correcting typos in bluestore-config-ref and bluestore-migration

Signed-off-by: Katie Holly <git@meo.ws>
7 years agoMerge pull request #18961 from tchaikov/wip-rgw-print-iam-policy
Kefu Chai [Sun, 26 Nov 2017 09:53:18 +0000 (17:53 +0800)]
Merge pull request #18961 from tchaikov/wip-rgw-print-iam-policy

rgw: iam policy printing cleanups

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
7 years agoMerge pull request #19124 from tchaikov/wip-make-dist-boost
Kefu Chai [Sat, 25 Nov 2017 00:19:57 +0000 (08:19 +0800)]
Merge pull request #19124 from tchaikov/wip-make-dist-boost

make-dist,cmake: avoid re-downloading boost

Reviewed-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #19081 from smithfarm/wip-ceph-volume-spec
Kefu Chai [Fri, 24 Nov 2017 15:49:56 +0000 (23:49 +0800)]
Merge pull request #19081 from smithfarm/wip-ceph-volume-spec

build/ops: rpm: fix systemd macros for ceph-volume@.service

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
7 years agoMerge pull request #19097 from tchaikov/wip-osd-prefix-inc
Kefu Chai [Fri, 24 Nov 2017 15:48:52 +0000 (23:48 +0800)]
Merge pull request #19097 from tchaikov/wip-osd-prefix-inc

osd: use prefix increment for non trivial iterator

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
7 years agoMerge pull request #19094 from tchaikov/wip-coverity-cid-1395794
Kefu Chai [Fri, 24 Nov 2017 15:48:14 +0000 (23:48 +0800)]
Merge pull request #19094 from tchaikov/wip-coverity-cid-1395794

msg/simple: pass a char for reading from shutdown_rd_fd

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
7 years agoMerge pull request #18997 from tchaikov/wip-rpm-cunit-for-suse
Nathan Cutler [Fri, 24 Nov 2017 14:08:13 +0000 (15:08 +0100)]
Merge pull request #18997 from tchaikov/wip-rpm-cunit-for-suse

rpm: build-depends on "cunit-devel" for suse

Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
7 years agolibrbd: update mirror::EnableRequest diagram according to code 19130/head
Mykola Golub [Fri, 24 Nov 2017 13:56:54 +0000 (15:56 +0200)]
librbd: update mirror::EnableRequest diagram according to code

Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
7 years agomount.fuse.ceph: Fix typo 19128/head
Jos Collin [Fri, 24 Nov 2017 12:32:46 +0000 (18:02 +0530)]
mount.fuse.ceph: Fix typo

Fixed typos in the help of mount.fuse.ceph.

Signed-off-by: Jos Collin <jcollin@redhat.com>
7 years agomake-dist: exclude unused bits in boost 19124/head
Kefu Chai [Fri, 24 Nov 2017 05:56:02 +0000 (13:56 +0800)]
make-dist: exclude unused bits in boost

the docs, examples and tests are not used. so drop them. we could go
further by removing unused components in boost. but that'd be an issue
if somebody added a component in CMakeLists but forgets to update this
script. also, we need to remove boost/$component and lib/$component to
achieve this goal. this also introduces extra complicity. so leave it
for another change.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19127 from tchaikov/wip-mon-better-logging
Xie Xingguo [Fri, 24 Nov 2017 09:52:34 +0000 (17:52 +0800)]
Merge pull request #19127 from tchaikov/wip-mon-better-logging

mon/OSDMonitor: add space after __func__ in log msg

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agomon/OSDMonitor: add space after __func__ in log msg 19127/head
Kefu Chai [Fri, 24 Nov 2017 08:57:31 +0000 (16:57 +0800)]
mon/OSDMonitor: add space after __func__ in log msg

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoOSD/admin_socket: add get_mapped_pools 19112/head
Xiaoxi Chen [Wed, 22 Nov 2017 07:57:35 +0000 (00:57 -0700)]
OSD/admin_socket: add get_mapped_pools

get_mapped_pools will return all pool_id that
mapped to the paticular OSD.

It is super useful for monitoring system that want to
**group** OSDs based on application. PoolID is a nature
grouping tag to be attached to OSDs.

Signed-off-by: Xiaoxi Chen <xiaoxchen@ebay.com>
7 years agocmake: check bootstrap.sh instead before downloading boost
Kefu Chai [Fri, 24 Nov 2017 02:35:00 +0000 (10:35 +0800)]
cmake: check bootstrap.sh instead before downloading boost

config.hpp does not exist if boost is not configured. so a boost source
directory unpacked from dist tarball does not have this file. the
bootstrap.sh instead, it is used to create the necessary config files
for jam.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agomake-dist: repackage boost in the correct path
Kefu Chai [Fri, 24 Nov 2017 02:27:19 +0000 (10:27 +0800)]
make-dist: repackage boost in the correct path

before this change, boost is put into ./src. after this change, it is
put into $outfile/src. i.e. something like
ceph-12.1.2-4592-gf5f2ced624/src .

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19026 from badone/wip-selinux-policy-doc-rawhide-build
Boris Ranto [Thu, 23 Nov 2017 12:54:52 +0000 (13:54 +0100)]
Merge pull request #19026 from badone/wip-selinux-policy-doc-rawhide-build

build/ops: rpm: selinux-policy fixes

Reviewed - by: branto@redhat.com

7 years agoMerge pull request #18614 from tchaikov/wip-osd-mgrreport
Kefu Chai [Thu, 23 Nov 2017 07:01:01 +0000 (15:01 +0800)]
Merge pull request #18614 from tchaikov/wip-osd-mgrreport

osd,mgr: report slow requests and pending creating pgs to mgr

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #18890 from pjjw/pjjw/prom-deep-scrub-state-missing
Kefu Chai [Thu, 23 Nov 2017 06:06:16 +0000 (14:06 +0800)]
Merge pull request #18890 from pjjw/pjjw/prom-deep-scrub-state-missing

mgr/prometheus: add missing 'deep' state to PG_STATES in ceph-mgr prometheus plugin

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #19030 from tangwenjun3/wip-fix-bluefs-allocate
Kefu Chai [Thu, 23 Nov 2017 06:05:34 +0000 (14:05 +0800)]
Merge pull request #19030 from tangwenjun3/wip-fix-bluefs-allocate

os/bluestore: fix the allocate in bluefs

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
7 years agoMerge pull request #18785 from majianpeng/bluestore-remove-collection
Kefu Chai [Thu, 23 Nov 2017 06:04:07 +0000 (14:04 +0800)]
Merge pull request #18785 from majianpeng/bluestore-remove-collection

os/bluestore: avoid omit cache for remove-collection.

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoMerge pull request #18760 from david-z/wip-mon-ceph-report
Kefu Chai [Thu, 23 Nov 2017 06:03:07 +0000 (14:03 +0800)]
Merge pull request #18760 from david-z/wip-mon-ceph-report

mon: dump servicemap along with MgrStatMonitor dump info

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #17596 from amitkumar50/cov-message-10
Kefu Chai [Thu, 23 Nov 2017 06:01:42 +0000 (14:01 +0800)]
Merge pull request #17596 from amitkumar50/cov-message-10

messages: Silence uninitialized member warnings

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
7 years agoqa: silence SLOW_OPS,PENDING_CREATING_PGS warnings 18614/head
Kefu Chai [Thu, 23 Nov 2017 04:56:31 +0000 (12:56 +0800)]
qa: silence SLOW_OPS,PENDING_CREATING_PGS warnings

this is an intermediate step to deprecate REQUEST_SLOW warnings.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agomgr: summarize osd metrics in MMgrReport and sent it to mon
Kefu Chai [Wed, 1 Nov 2017 15:17:57 +0000 (23:17 +0800)]
mgr: summarize osd metrics in MMgrReport and sent it to mon

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agorgw: drop useless includes in rgw_{main.cc, common.h} 19109/head
Jiaying Ren [Thu, 23 Nov 2017 03:25:30 +0000 (11:25 +0800)]
rgw: drop useless includes in rgw_{main.cc, common.h}

Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
7 years agoMerge PR #18697 into master
Patrick Donnelly [Wed, 22 Nov 2017 21:40:21 +0000 (13:40 -0800)]
Merge PR #18697 into master

* refs/pull/18697/head:
mds: limit size of MExportDir message
mds: optimize MDCache::try_subtree_merge
mds: optimize import/export state access

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #18748 into master
Patrick Donnelly [Wed, 22 Nov 2017 21:40:14 +0000 (13:40 -0800)]
Merge PR #18748 into master

* refs/pull/18748/head:
client/Client.cc: trivial [Cleanup] Stop different types comparison

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge PR #18787 into master
Patrick Donnelly [Wed, 22 Nov 2017 21:40:07 +0000 (13:40 -0800)]
Merge PR #18787 into master

* refs/pull/18787/head:
mds: prevent filelock from being stuck at XSYN state
mds: implement LOCK_XSYN_LOCK and LOCK_XSYN_MIX
mds: cleanup set/drop loner code

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #18818 into master
Patrick Donnelly [Wed, 22 Nov 2017 21:39:59 +0000 (13:39 -0800)]
Merge PR #18818 into master

* refs/pull/18818/head:
libceph: Avoiding divide by zero

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge PR #18942 into master
Patrick Donnelly [Wed, 22 Nov 2017 21:39:53 +0000 (13:39 -0800)]
Merge PR #18942 into master

* refs/pull/18942/head:
mds: lookup snapped inodes by vinodeno_t

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #19007 into master
Patrick Donnelly [Wed, 22 Nov 2017 21:39:46 +0000 (13:39 -0800)]
Merge PR #19007 into master

* refs/pull/19007/head:
src/libcephfs.cc: Cleanup nullptr initializations against deleted objects, etc

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
7 years agoMerge PR #19014 into master
Patrick Donnelly [Wed, 22 Nov 2017 21:39:40 +0000 (13:39 -0800)]
Merge PR #19014 into master

* refs/pull/19014/head:
mds: properly execute scrub finish context

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #19018 into master
Patrick Donnelly [Wed, 22 Nov 2017 21:39:32 +0000 (13:39 -0800)]
Merge PR #19018 into master

* refs/pull/19018/head:
mds: don't delay processing completed requests in replay queue

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #19060 into master
Patrick Donnelly [Wed, 22 Nov 2017 21:39:19 +0000 (13:39 -0800)]
Merge PR #19060 into master

* refs/pull/19060/head:
client: anchor Inode while trimming caps

Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge pull request #19102 from jecluis/wip-qa-find-used-ports
Sage Weil [Wed, 22 Nov 2017 20:34:34 +0000 (14:34 -0600)]
Merge pull request #19102 from jecluis/wip-qa-find-used-ports

qa: add simple and dirty script to find ports being used

7 years agoMerge pull request #19044 from idryomov/wip-resurrect-msg-auth
Ilya Dryomov [Wed, 22 Nov 2017 17:43:25 +0000 (18:43 +0100)]
Merge pull request #19044 from idryomov/wip-resurrect-msg-auth

msg: resurrect support for !CEPH_FEATURE_MSG_AUTH

Reviewed-by: Haomai Wang <haomai@xsky.com>
7 years agoqa: add simple and dirty script to find ports being used 19102/head
Joao Eduardo Luis [Wed, 22 Nov 2017 16:58:34 +0000 (16:58 +0000)]
qa: add simple and dirty script to find ports being used

Seriously, having this is way better than realizing that one needs to
find an unused port each time a new test is created.

It's far from a perfect script. It's downright not elegant.

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
7 years agoMerge pull request #19082 from trociny/wip-qa-demote-fixup
Jason Dillaman [Wed, 22 Nov 2017 16:26:38 +0000 (11:26 -0500)]
Merge pull request #19082 from trociny/wip-qa-demote-fixup

qa/workunits/rbd: wait for status propagated only if daemon started

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoosd: use prefix increment for non trivial iterator 19097/head
Kefu Chai [Wed, 22 Nov 2017 08:25:18 +0000 (16:25 +0800)]
osd: use prefix increment for non trivial iterator

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agomds: limit size of MExportDir message 18697/head
Yan, Zheng [Fri, 3 Nov 2017 06:14:07 +0000 (14:14 +0800)]
mds: limit size of MExportDir message

Only export port of subtree if whole subtree tree is too large for
sinlge MExportDir message. The un-exported portion are added to
export queue.

Fixes: http://tracker.ceph.com/issues/21892
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
7 years agomds: optimize MDCache::try_subtree_merge
Yan, Zheng [Fri, 3 Nov 2017 08:13:32 +0000 (16:13 +0800)]
mds: optimize MDCache::try_subtree_merge

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
7 years agoMerge pull request #19067 from tchaikov/wip-nvme-mgr-fixes
Kefu Chai [Wed, 22 Nov 2017 07:03:16 +0000 (15:03 +0800)]
Merge pull request #19067 from tchaikov/wip-nvme-mgr-fixes

bluestore/NVMEDevice: do not deference a dangling pointer

Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
7 years agobuild/ops: rpm: selinux-policy fixes 19026/head
Brad Hubbard [Fri, 17 Nov 2017 01:54:38 +0000 (11:54 +1000)]
build/ops: rpm: selinux-policy fixes

Requiring the file /usr/share/selinux/devel/policyhelp breaks fc27 and
Rawhide builds as they do not have that file. This exposed the fact this
code had not worked in some time due to changes in selinux policy
modules packaging. See
https://bugzilla.redhat.com/show_bug.cgi?id=999584

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
7 years agoMerge pull request #19035 from ifed01/wip-ifed-rep-backend-speedup
Kefu Chai [Wed, 22 Nov 2017 06:50:44 +0000 (14:50 +0800)]
Merge pull request #19035 from ifed01/wip-ifed-rep-backend-speedup

osd: make operations on ReplicatedBackend::in_progress_ops more effective

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
7 years agoMerge pull request #17799 from amitkumar50/cov-misc-7
Kefu Chai [Wed, 22 Nov 2017 06:44:24 +0000 (14:44 +0800)]
Merge pull request #17799 from amitkumar50/cov-misc-7

osd,messages: Initialize read_length,options,send_reply

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17792 from amitkumar50/cov-misc-5
Kefu Chai [Wed, 22 Nov 2017 06:44:06 +0000 (14:44 +0800)]
Merge pull request #17792 from amitkumar50/cov-misc-5

messages,journal: Initialization of stats_period,m_active_set

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17772 from amitkumar50/cov-misc-3
Kefu Chai [Wed, 22 Nov 2017 06:42:58 +0000 (14:42 +0800)]
Merge pull request #17772 from amitkumar50/cov-misc-3

client,osd,test: Initialize fuse_req_key,snap,who,seq

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17767 from amitkumar50/cov-misc-2
Kefu Chai [Wed, 22 Nov 2017 06:42:32 +0000 (14:42 +0800)]
Merge pull request #17767 from amitkumar50/cov-misc-2

messages,test,msg: initialize h,reply_type,owner

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17766 from amitkumar50/cov-misc-1
Kefu Chai [Wed, 22 Nov 2017 06:42:03 +0000 (14:42 +0800)]
Merge pull request #17766 from amitkumar50/cov-misc-1

common,os: initialize commit_data,cmount,iocb

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17443 from JiYou/restapi-default-port
Kefu Chai [Wed, 22 Nov 2017 06:40:56 +0000 (14:40 +0800)]
Merge pull request #17443 from JiYou/restapi-default-port

ceph-rest-api: when port=0 use the DEFAULT_PORT instead

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #17085 from yaozongyou/remove_unused_using
Kefu Chai [Wed, 22 Nov 2017 05:25:41 +0000 (13:25 +0800)]
Merge pull request #17085 from yaozongyou/remove_unused_using

librgw_file: remove unused `using` statement.

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agomsg/simple: pass a char for reading from shutdown_rd_fd 19094/head
Kefu Chai [Wed, 22 Nov 2017 04:57:18 +0000 (12:57 +0800)]
msg/simple: pass a char for reading from shutdown_rd_fd

Fixes the coverity issue:

> CID 1395794 (#1 of 1): Wrong size argument (SIZEOF_MISMATCH)
> suspicious_sizeof: Passing argument &ch of type int * and
> argument 1UL to function read is suspicious because sizeof
> (int) /*4*/ is expected.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19017 from tchaikov/wip-bluestore-without-aio
Kefu Chai [Wed, 22 Nov 2017 04:26:34 +0000 (12:26 +0800)]
Merge pull request #19017 from tchaikov/wip-bluestore-without-aio

bluestore,cmake: enable building bluestore without aio

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>