]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agocmake,make-dist: use sha256 instead of md5 for checksum
Kefu Chai [Wed, 18 Apr 2018 04:26:02 +0000 (12:26 +0800)]
cmake,make-dist: use sha256 instead of md5 for checksum

the boost's download page offers the SHA256 hash, so it'd be easier to
verify the hash this way.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agocmake: use CMP0028 NEW
Kefu Chai [Wed, 18 Apr 2018 03:53:24 +0000 (11:53 +0800)]
cmake: use CMP0028 NEW

it's intended behavior to use imported or alias target for dependencies
with name with "::" in it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agocommon: silence GCC warnings
Kefu Chai [Wed, 18 Apr 2018 03:08:44 +0000 (11:08 +0800)]
common: silence GCC warnings

Preforker.h:111:8: warning: ignoring return value of ‘ssize_t
safe_write(int, const void*, size_t)’, declared with attribute
warn_unused_result [-Wunused-result]
        (void)safe_write(fd[1], &r, sizeof(r));
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

and

compat.cc:36:28: warning: comparison between signed and unsigned integer
expressions [-Wsign-compare]
     if (off + sizeof(data) > len)
         ~~~~~~~~~~~~~~~~~~~^~~~~

Fixes: http://tracker.ceph.com/issues/23774
Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21485 from tchaikov/wip-tox
Kefu Chai [Wed, 18 Apr 2018 06:54:32 +0000 (14:54 +0800)]
Merge pull request #21485 from tchaikov/wip-tox

test/dashboard: hardcode .coverage path to workaround tox bugs

Reviewed-by: Ricardo Dias <rdias@suse.com>
7 years agotest/dashboard: hardcode .coverage path to workaround tox bugs 21485/head
Kefu Chai [Wed, 18 Apr 2018 05:42:03 +0000 (13:42 +0800)]
test/dashboard: hardcode .coverage path to workaround tox bugs

rhel/centos 7.3 comes with tox 1.4.2, which has a bunch of issues related
to environment variable substitution. for instance, see
- https://github.com/tox-dev/tox/issues/515
so, instead of having different coverage files for py3 and py2.7, it
would be simpler to just use the same path for coverage. this approach
works because pytest-cov plugin erases the coverage data file at the
beginning of test[1].

---
[1] https://pypi.org/project/pytest-cov/#coverage-data-file .

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21474 from jecluis/mimic-mon-pending-releasenotes
Kefu Chai [Wed, 18 Apr 2018 04:39:06 +0000 (12:39 +0800)]
Merge pull request #21474 from jecluis/mimic-mon-pending-releasenotes

PendingReleaseNotes: mention some monitor changes

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21428 from ivancich/wip-fix-existing-mclock-cost
Kefu Chai [Wed, 18 Apr 2018 04:32:42 +0000 (12:32 +0800)]
Merge pull request #21428 from ivancich/wip-fix-existing-mclock-cost

osd: remove cost from mclock op queues; cost not handled well in dmclock

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21464 from LenzGr/fix-cmakelist
Kefu Chai [Wed, 18 Apr 2018 02:08:47 +0000 (10:08 +0800)]
Merge pull request #21464 from LenzGr/fix-cmakelist

cmake: fix typo in status message

Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
7 years agoMerge pull request #21418 from jecluis/wip-fix-mon-fs-caps
Kefu Chai [Wed, 18 Apr 2018 02:02:47 +0000 (10:02 +0800)]
Merge pull request #21418 from jecluis/wip-fix-mon-fs-caps

mon/AuthMonitor: don't validate `fs authorize` caps with `valid_caps()`

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21450 from dzafman/wip-jq-compat
David Zafman [Wed, 18 Apr 2018 00:26:51 +0000 (17:26 -0700)]
Merge pull request #21450 from dzafman/wip-jq-compat

test: Use jq in a compatible way and for easier diff analysis

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #21483 from yuriw/wip-yuriw-crontab
Josh Durgin [Tue, 17 Apr 2018 20:59:03 +0000 (13:59 -0700)]
Merge pull request #21483 from yuriw/wip-yuriw-crontab

qa/tests - one more typo fixed :(

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoqa/tests - one more typo fixed :( 21483/head
Yuri Weinstein [Tue, 17 Apr 2018 20:56:51 +0000 (13:56 -0700)]
qa/tests - one more typo fixed :(

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
7 years agoMerge pull request #21482 from yuriw/wip-yuriw-crontab
Josh Durgin [Tue, 17 Apr 2018 20:55:04 +0000 (13:55 -0700)]
Merge pull request #21482 from yuriw/wip-yuriw-crontab

qa/tests - Fixed typo in crontab entry

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoqa/tests - Fixed typo in crontab entry 21482/head
Yuri Weinstein [Tue, 17 Apr 2018 20:51:32 +0000 (13:51 -0700)]
qa/tests - Fixed typo in crontab entry

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
7 years agoMerge pull request #21454 from yuriw/wip-yuriw-crontab
Josh Durgin [Tue, 17 Apr 2018 20:43:50 +0000 (13:43 -0700)]
Merge pull request #21454 from yuriw/wip-yuriw-crontab

qa/tests - added for the suites with subset be able to use 'testing' …

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #21478 from idryomov/wip-krbd-os-recommend
Jason Dillaman [Tue, 17 Apr 2018 17:29:18 +0000 (13:29 -0400)]
Merge pull request #21478 from idryomov/wip-krbd-os-recommend

doc/start/os-recommendations.rst: bump krbd kernels

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agodoc/start/os-recommendations.rst: bump krbd kernels 21478/head
Ilya Dryomov [Tue, 17 Apr 2018 16:50:04 +0000 (18:50 +0200)]
doc/start/os-recommendations.rst: bump krbd kernels

Drop 4.4 -- even though it is an "Extended LTS" release, it predates
the OSD client rewrite and should no longer be recommended.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
7 years agoMerge pull request #21409 from ErwanAliasr1/evelu-readonly
Andrew Schoen [Tue, 17 Apr 2018 14:17:55 +0000 (16:17 +0200)]
Merge pull request #21409 from ErwanAliasr1/evelu-readonly

ceph-volume: Using --readonly for {vg|pv|lv}s commands

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoPendingReleaseNotes: mention some monitor changes 21474/head
Joao Eduardo Luis [Tue, 17 Apr 2018 13:38:46 +0000 (14:38 +0100)]
PendingReleaseNotes: mention some monitor changes

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
7 years agomon/AuthMonitor: don't validate fs caps on authorize 21418/head
Joao Eduardo Luis [Fri, 13 Apr 2018 14:25:33 +0000 (15:25 +0100)]
mon/AuthMonitor: don't validate fs caps on authorize

The monitor will have no idea how to validate fs caps during `fs
authorize`. Instead, validate solely the built osd and mds caps.

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
7 years agoMerge pull request #21468 from tchaikov/wip=cmake-make-check-dashboard
John Spray [Tue, 17 Apr 2018 13:07:36 +0000 (14:07 +0100)]
Merge pull request #21468 from tchaikov/wip=cmake-make-check-dashboard

cmake: let "tests" depend on "mgr-dashboard-frontend-build"

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #21470 from tylerqi/master
Jason Dillaman [Tue, 17 Apr 2018 12:31:54 +0000 (08:31 -0400)]
Merge pull request #21470 from tylerqi/master

doc: Fix a grammar error in rbd-snapshot.rst

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agodoc: Fix a grammar error in rbd-snapshot.rst 21470/head
Tyler Zeqing Qi [Tue, 17 Apr 2018 12:10:42 +0000 (20:10 +0800)]
doc: Fix a grammar error in rbd-snapshot.rst

Signed-off-by: Zeqing Tyler Qi <aqize@126.com>
7 years agoMerge pull request #20945 from liewegas/wip-pg-ls
Sage Weil [Tue, 17 Apr 2018 11:49:35 +0000 (06:49 -0500)]
Merge pull request #20945 from liewegas/wip-pg-ls

mon/PGMap: remove or narrow columns 'pg ls' output

Reviewed-by: John Spray <jspray@redhat.com>
7 years agoMerge pull request #21113 from kungf/scrub_interval_overflow
Sage Weil [Tue, 17 Apr 2018 11:48:57 +0000 (06:48 -0500)]
Merge pull request #21113 from kungf/scrub_interval_overflow

utime: fix __32u sec time overflow

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21145 from ceph/wip-ifed-store-test-improve
Sage Weil [Tue, 17 Apr 2018 11:48:31 +0000 (06:48 -0500)]
Merge pull request #21145 from ceph/wip-ifed-store-test-improve

test/ceph_test_objectstore: make settings update and restore less error prone

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21371 from jcsp/wip-mon-optracker-cleanup
Sage Weil [Tue, 17 Apr 2018 11:48:02 +0000 (06:48 -0500)]
Merge pull request #21371 from jcsp/wip-mon-optracker-cleanup

mon: cleanups to optracker code

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
7 years agoMerge pull request #21377 from ifed01/wip-ifed-learn-alloc-fragm
Sage Weil [Tue, 17 Apr 2018 11:46:51 +0000 (06:46 -0500)]
Merge pull request #21377 from ifed01/wip-ifed-learn-alloc-fragm

os/bluestore: add perf counter for allocator fragmentation.

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21141 from shun-s/fix-rbd-close-race-with-rewatch
Jason Dillaman [Tue, 17 Apr 2018 11:46:37 +0000 (07:46 -0400)]
Merge pull request #21141 from shun-s/fix-rbd-close-race-with-rewatch

librbd: fix rbd close race with rewatch

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #21343 from Songweibin/wip-trash-ls
Jason Dillaman [Tue, 17 Apr 2018 11:46:18 +0000 (07:46 -0400)]
Merge pull request #21343 from Songweibin/wip-trash-ls

rbd: 'trash ls -l' will display column titles if existed non-USER trash image only

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agocmake: let "tests" depend on "mgr-dashboard-frontend-build" 21468/head
Kefu Chai [Tue, 17 Apr 2018 11:40:51 +0000 (19:40 +0800)]
cmake: let "tests" depend on "mgr-dashboard-frontend-build"

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agocmake: fix typo in status message 21464/head
Lenz Grimmer [Tue, 17 Apr 2018 09:28:29 +0000 (11:28 +0200)]
cmake: fix typo in status message

Replaced " we are x84_64" with  " we are x86_64" in `src/CMakeLists.txt`

Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
7 years agoqa/tests - added for the suites with subset be able to use 'testing' distro 21454/head
Yuri Weinstein [Mon, 16 Apr 2018 21:02:52 +0000 (14:02 -0700)]
qa/tests - added for the suites with subset be able to use 'testing' distro

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
7 years agoMerge pull request #21449 from rjfd/wip-dashboard-fix-frontend-build
Kefu Chai [Mon, 16 Apr 2018 16:01:49 +0000 (00:01 +0800)]
Merge pull request #21449 from rjfd/wip-dashboard-fix-frontend-build

cmake: fix frontend cmake build

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21360 from rjfd/wip-dashboard-rbd
Lenz Grimmer [Mon, 16 Apr 2018 15:54:36 +0000 (17:54 +0200)]
Merge pull request #21360 from rjfd/wip-dashboard-rbd

mgr/dashboard: RBD management (backend)

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #21445 from rjfd/wip-dashboard-fix-run-tox
Kefu Chai [Mon, 16 Apr 2018 15:38:00 +0000 (23:38 +0800)]
Merge pull request #21445 from rjfd/wip-dashboard-fix-run-tox

mgr/dashboard: run-tox: pass CEPH_BUILD_DIR value into tox script

Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoosd: remove cost from mclock op queues; cost not handled well in dmclock library 21428/head
J. Eric Ivancich [Fri, 13 Apr 2018 22:27:25 +0000 (18:27 -0400)]
osd: remove cost from mclock op queues; cost not handled well in dmclock library

The current version of the dmclock library does not handle operation
cost well. Therefore cost should not be passed into the library when
enqueuing operations; instead 0 should be passed in.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
7 years agotest: Use jq in a compatible way and for easier diff analysis 21450/head
David Zafman [Mon, 16 Apr 2018 04:49:48 +0000 (21:49 -0700)]
test: Use jq in a compatible way and for easier diff analysis

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agomgr/dashboard: fix frontend cmake build 21449/head
Ricardo Dias [Mon, 16 Apr 2018 15:06:42 +0000 (16:06 +0100)]
mgr/dashboard: fix frontend cmake build

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agoMerge pull request #20929 from JianyuLi/joa-bluestore-spdk
Kefu Chai [Mon, 16 Apr 2018 15:01:19 +0000 (23:01 +0800)]
Merge pull request #20929 from JianyuLi/joa-bluestore-spdk

os/bluestore: free the spdk qpair resource correctly in destructor of SharedDriverQueueData

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21419 from ceph/wip-da-SCA-20180329
Kefu Chai [Mon, 16 Apr 2018 14:56:42 +0000 (22:56 +0800)]
Merge pull request #21419 from ceph/wip-da-SCA-20180329

common,osd,rgw: Fixes for issues found during SCA

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21429 from wjwithagen/wjw-kStore-statfs
Kefu Chai [Mon, 16 Apr 2018 14:52:25 +0000 (22:52 +0800)]
Merge pull request #21429 from wjwithagen/wjw-kStore-statfs

KStore: statfs needs extra includes on FreeBSD

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21431 from Songweibin/wip-ec-cleanups
Kefu Chai [Mon, 16 Apr 2018 14:50:35 +0000 (22:50 +0800)]
Merge pull request #21431 from Songweibin/wip-ec-cleanups

osd: miscellaneous cleanups

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agomgr/dashboard: run-tox: pass CEPH_BUILD_DIR value into tox script 21445/head
Ricardo Dias [Mon, 16 Apr 2018 13:17:12 +0000 (14:17 +0100)]
mgr/dashboard: run-tox: pass CEPH_BUILD_DIR value into tox script

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agoMerge pull request #21170 from dragonylffly/wip-revise-organizationmap
Kefu Chai [Mon, 16 Apr 2018 14:10:18 +0000 (22:10 +0800)]
Merge pull request #21170 from dragonylffly/wip-revise-organizationmap

.organizationmap: add Xin Yuan and Yichao Li's affiliation

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21433 from tchaikov/wip-qa-env_librados_test
Kefu Chai [Mon, 16 Apr 2018 13:36:25 +0000 (21:36 +0800)]
Merge pull request #21433 from tchaikov/wip-qa-env_librados_test

qa: disable -Werror when compiling env_librados_test

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21402 from tspmelo/wip-module-cleanup
Lenz Grimmer [Mon, 16 Apr 2018 08:58:05 +0000 (10:58 +0200)]
Merge pull request #21402 from tspmelo/wip-module-cleanup

mgr/dashboard: Angular modules cleanup

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile vtheile@suse.com
7 years agoMerge pull request #21398 from ivancich/wip-revert-dmclock-feature-bit-plus
Kefu Chai [Mon, 16 Apr 2018 07:46:07 +0000 (15:46 +0800)]
Merge pull request #21398 from ivancich/wip-revert-dmclock-feature-bit-plus

osd: Revert use of dmclock message feature bit since not yet finalized

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21403 from dillaman/wip-rbd-mirror-dead-instances
Mykola Golub [Mon, 16 Apr 2018 04:45:12 +0000 (07:45 +0300)]
Merge pull request #21403 from dillaman/wip-rbd-mirror-dead-instances

test/rbd-mirror: improve coverage for dead instance handling

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge PR #21322 into master
Patrick Donnelly [Mon, 16 Apr 2018 03:26:46 +0000 (20:26 -0700)]
Merge PR #21322 into master

* refs/pull/21322/head:
osdc: cleanup code.
osdc: Remove useless condition.

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
7 years agoMerge PR #21341 into master
Patrick Donnelly [Mon, 16 Apr 2018 03:26:41 +0000 (20:26 -0700)]
Merge PR #21341 into master

* refs/pull/21341/head:
client: Fix the gid_count check

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #21370 into master
Patrick Donnelly [Mon, 16 Apr 2018 03:26:36 +0000 (20:26 -0700)]
Merge PR #21370 into master

* refs/pull/21370/head:
client: Take reference for operator= function parameter

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge PR #21391 into master
Patrick Donnelly [Mon, 16 Apr 2018 03:26:31 +0000 (20:26 -0700)]
Merge PR #21391 into master

* refs/pull/21391/head:
qa: fix log typo

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge PR #21396 into master
Patrick Donnelly [Mon, 16 Apr 2018 03:26:26 +0000 (20:26 -0700)]
Merge PR #21396 into master

* refs/pull/21396/head:
ceph-fuse: exit with failure on failed mount
common: ignore errors during preforker exit
client: do not overload system errnos

Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge pull request #20398 from wjwithagen/wip-posix_fallocate
Kefu Chai [Sun, 15 Apr 2018 15:02:35 +0000 (23:02 +0800)]
Merge pull request #20398 from wjwithagen/wip-posix_fallocate

common: posix_fallocate on ZFS returns EINVAL

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #20752 from jcsp/wip-dashboard-build-tweak
Kefu Chai [Sun, 15 Apr 2018 15:01:35 +0000 (23:01 +0800)]
Merge pull request #20752 from jcsp/wip-dashboard-build-tweak

mgr/dashboard: build tweaks

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
7 years agoMerge pull request #21108 from xiexingguo/wip-kill-subset-of
Kefu Chai [Sun, 15 Apr 2018 15:00:21 +0000 (23:00 +0800)]
Merge pull request #21108 from xiexingguo/wip-kill-subset-of

interval_set: kill subset_of()

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21369 from majianpeng/test-objectstore_bench-usage
Kefu Chai [Sun, 15 Apr 2018 14:59:09 +0000 (22:59 +0800)]
Merge pull request #21369 from majianpeng/test-objectstore_bench-usage

test/objectstore_bench: Don't forget judging whether call usage.

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #20100 from mogeb/iostat-plugin
Kefu Chai [Sun, 15 Apr 2018 14:58:16 +0000 (22:58 +0800)]
Merge pull request #20100 from mogeb/iostat-plugin

mgr/iostat: implement 'ceph iostat' as a mgr plugin

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21373 from ovh/bp-hb-divbyzero
Kefu Chai [Sun, 15 Apr 2018 14:56:53 +0000 (22:56 +0800)]
Merge pull request #21373 from ovh/bp-hb-divbyzero

osd: fix crash caused by divide by zero in heartbeat code

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21395 from liewegas/wip-log-channels
Kefu Chai [Sun, 15 Apr 2018 14:55:46 +0000 (22:55 +0800)]
Merge pull request #21395 from liewegas/wip-log-channels

mon/LogMonitor: separate out summary by channel

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #19935 from myoungwon/wip-manifest-ref-count
Kefu Chai [Sun, 15 Apr 2018 14:52:22 +0000 (22:52 +0800)]
Merge pull request #19935 from myoungwon/wip-manifest-ref-count

osd: refcount for manifest object (redirect, chunked)

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19117 from jan--f/jan-object-counts-decimal
Kefu Chai [Sun, 15 Apr 2018 14:49:50 +0000 (22:49 +0800)]
Merge pull request #19117 from jan--f/jan-object-counts-decimal

include/types: format decimal numbers with decimal factor

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21427 from liewegas/wip-balancer-roots
Kefu Chai [Sun, 15 Apr 2018 14:48:49 +0000 (22:48 +0800)]
Merge pull request #21427 from liewegas/wip-balancer-roots

mgr/balancer: improve error message

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoMerge pull request #21401 from liewegas/wip-mgr-help
Kefu Chai [Sun, 15 Apr 2018 14:47:13 +0000 (22:47 +0800)]
Merge pull request #21401 from liewegas/wip-mgr-help

ceph-mgr: exit after usage

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
7 years agoMerge pull request #21430 from tchaikov/wip-osdmap-prune
Kefu Chai [Sun, 15 Apr 2018 14:45:56 +0000 (22:45 +0800)]
Merge pull request #21430 from tchaikov/wip-osdmap-prune

mon/OSDMonitor: txsize should be greater or eq to prune_interval - 1

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
7 years agoqa: disable -Werror when compiling env_librados_test 21433/head
Kefu Chai [Sun, 15 Apr 2018 14:38:08 +0000 (22:38 +0800)]
qa: disable -Werror when compiling env_librados_test

to silence warnings like

utilities/env_librados.cc:175:33: warning: unused parameter ‘offset’ [-Wunused-parameter]
   Status InvalidateCache(size_t offset, size_t length) {
                                 ^~~~~~

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agomon/OSDMonitor: txsize should be greater or eq to prune_interval - 1 21430/head
Kefu Chai [Sat, 14 Apr 2018 00:58:53 +0000 (08:58 +0800)]
mon/OSDMonitor: txsize should be greater or eq to prune_interval - 1

so we can prune 1 or more intervals in a single iteration. and in each
interval, we prune (prune_interval - 1) versions of osdmap.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoosd/OSD: drop unused header 21431/head
songweibin [Sat, 14 Apr 2018 03:15:58 +0000 (11:15 +0800)]
osd/OSD: drop unused header

Signed-off-by: songweibin <song.weibin@zte.com.cn>
7 years agoosd/ECBackend: kill redundant assert
songweibin [Sat, 14 Apr 2018 03:12:50 +0000 (11:12 +0800)]
osd/ECBackend: kill redundant assert

Signed-off-by: songweibin <song.weibin@zte.com.cn>
7 years agoosd/ECBackend: s/union_of/union_insert/
songweibin [Sat, 14 Apr 2018 03:11:50 +0000 (11:11 +0800)]
osd/ECBackend: s/union_of/union_insert/

Signed-off-by: songweibin <song.weibin@zte.com.cn>
7 years agoosd/ECTransaction: drop duplicated **#include <vector>**
songweibin [Sat, 14 Apr 2018 03:10:33 +0000 (11:10 +0800)]
osd/ECTransaction: drop duplicated **#include <vector>**

Signed-off-by: songweibin <song.weibin@zte.com.cn>
7 years agoosd/ECTransaction: kill redudant asserts
songweibin [Sat, 14 Apr 2018 03:09:37 +0000 (11:09 +0800)]
osd/ECTransaction: kill redudant asserts

Signed-off-by: songweibin <song.weibin@zte.com.cn>
7 years agoosd/ECBackend: kill extra member **want**
songweibin [Sat, 14 Apr 2018 03:09:10 +0000 (11:09 +0800)]
osd/ECBackend: kill extra member **want**

Signed-off-by: songweibin <song.weibin@zte.com.cn>
7 years agoMerge pull request #21404 from tchaikov/wip-cmake-boost
Kefu Chai [Sat, 14 Apr 2018 01:23:22 +0000 (09:23 +0800)]
Merge pull request #21404 from tchaikov/wip-cmake-boost

cmake: changes of BuildBoost.cmake to ready seastar

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #21410 from badone/wip-test_large_omap_detection-scrub-pgs-instead...
Josh Durgin [Sat, 14 Apr 2018 00:54:21 +0000 (17:54 -0700)]
Merge pull request #21410 from badone/wip-test_large_omap_detection-scrub-pgs-instead-of-osds

qa/workunits/rados/test_large_omap_detection: Scrub pgs instead of OSDs

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoKStore: statfs needs extra includes on FreeBSD 21429/head
Willem Jan Withagen [Fri, 13 Apr 2018 23:27:38 +0000 (01:27 +0200)]
KStore: statfs needs extra includes on FreeBSD

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
7 years agomgr/balancer: identify roots that osds overlap in 21427/head
Sage Weil [Fri, 13 Apr 2018 22:52:24 +0000 (17:52 -0500)]
mgr/balancer: identify roots that osds overlap in

This error message isn't very informative; tell the user which osds
appear in mulitple roots, and which roots those are!

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #20853 from theanalyst/rgw/recalc-stats
Abhishek L [Fri, 13 Apr 2018 22:28:51 +0000 (00:28 +0200)]
Merge pull request #20853 from theanalyst/rgw/recalc-stats

rgw: add an option to recalculate user stats

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
7 years agotest_rgw_admin_log.cc: lenght() returns unsigned 21419/head
Danny Al-Gaaf [Fri, 13 Apr 2018 14:21:25 +0000 (16:21 +0200)]
test_rgw_admin_log.cc: lenght() returns unsigned

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
7 years agosrc/rgw: fix some format qualifiers
Danny Al-Gaaf [Fri, 13 Apr 2018 14:14:33 +0000 (16:14 +0200)]
src/rgw: fix some format qualifiers

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
7 years agomon/OSDMonitor.cc: fix format qualifiers
Danny Al-Gaaf [Fri, 13 Apr 2018 14:00:16 +0000 (16:00 +0200)]
mon/OSDMonitor.cc: fix format qualifiers

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
7 years agocommon/TrackedOp.cc: fix format qualifiers for uint
Danny Al-Gaaf [Fri, 13 Apr 2018 13:50:42 +0000 (15:50 +0200)]
common/TrackedOp.cc: fix format qualifiers for uint

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
7 years agocommon/str_map.cc: do boundry checks before access
Danny Al-Gaaf [Fri, 13 Apr 2018 13:50:07 +0000 (15:50 +0200)]
common/str_map.cc: do boundry checks before access

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
7 years agoCephBroker.cc: fix format qualifier for unsigned int
Danny Al-Gaaf [Fri, 13 Apr 2018 13:49:09 +0000 (15:49 +0200)]
CephBroker.cc: fix format qualifier for unsigned int

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
7 years agokrbd.cc: fix parameter to variadic function
Danny Al-Gaaf [Fri, 13 Apr 2018 13:47:58 +0000 (15:47 +0200)]
krbd.cc: fix parameter to variadic function

Fix for:

[src/krbd.cc:549]: (portability) Passing NULL after the last typed
 argument to a variadic function leads to undefined behaviour.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
7 years agolz4/LZ4Compressor.h: remove always true check
Danny Al-Gaaf [Thu, 12 Apr 2018 21:50:23 +0000 (23:50 +0200)]
lz4/LZ4Compressor.h: remove always true check

Fix for:

[src/compressor/lz4/LZ4Compressor.h:105]: (style) Condition
 'r!=(int)compressed_pairs[i].first' is always true

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
7 years agoosd/OSD.h: fix format qualifier to use PRIu32
Danny Al-Gaaf [Thu, 12 Apr 2018 18:48:34 +0000 (20:48 +0200)]
osd/OSD.h: fix format qualifier to use PRIu32

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
7 years agotest/fio/fio_ceph_objectstore.cc: fix uninitialized variables
Danny Al-Gaaf [Thu, 12 Apr 2018 18:32:06 +0000 (20:32 +0200)]
test/fio/fio_ceph_objectstore.cc: fix uninitialized variables

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
7 years agorgw/rgw_website.h: fix uninitialized variable
Danny Al-Gaaf [Thu, 12 Apr 2018 18:31:29 +0000 (20:31 +0200)]
rgw/rgw_website.h: fix uninitialized variable

Co-authored-by: Casey Bodley <cbodley@redhat.com>
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
7 years agomsg/async/EventKqueue.cc: fix memory leak due to realloc error
Danny Al-Gaaf [Thu, 12 Apr 2018 18:31:04 +0000 (20:31 +0200)]
msg/async/EventKqueue.cc: fix memory leak due to realloc error

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
7 years agoMerge pull request #21421 from liewegas/wip-doc-balancer
Sage Weil [Fri, 13 Apr 2018 21:16:28 +0000 (16:16 -0500)]
Merge pull request #21421 from liewegas/wip-doc-balancer

doc/mgr/balancer: document

Reviewed-by: Dan van der Ster <daniel.vanderster@cern.ch>
7 years agoMerge pull request #21425 from cbodley/wip-rgw-fix-set_threaded
Matt Benjamin [Fri, 13 Apr 2018 20:37:03 +0000 (16:37 -0400)]
Merge pull request #21425 from cbodley/wip-rgw-fix-set_threaded

rgw: fix sync status conflict with cloud sync

7 years agorgw: fix conflict with cloud sync 21425/head
Casey Bodley [Fri, 13 Apr 2018 20:29:21 +0000 (16:29 -0400)]
rgw: fix conflict with cloud sync

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #20027 from Leeshine/wip-rgw-sync-bucket-shards
Casey Bodley [Fri, 13 Apr 2018 20:30:20 +0000 (16:30 -0400)]
Merge pull request #20027 from Leeshine/wip-rgw-sync-bucket-shards

rgw: improve sync status: display behind bucket shards

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #21123 from theanalyst/wip-civetweb-1.1
Matt Benjamin [Fri, 13 Apr 2018 18:50:46 +0000 (14:50 -0400)]
Merge pull request #21123 from theanalyst/wip-civetweb-1.1

rgw: civetweb fixes for v1.1 upgrade

7 years agodoc/mgr/balancer: document 21421/head
Sage Weil [Fri, 13 Apr 2018 17:40:17 +0000 (12:40 -0500)]
doc/mgr/balancer: document

Not sure how we missed this for luminous!

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agocls/refcount: add chunk_refcount_client() 19935/head
myoungwon oh [Mon, 19 Mar 2018 07:20:18 +0000 (16:20 +0900)]
cls/refcount: add chunk_refcount_client()

Signed-off-by: Myoungwon Oh <omwmw@sk.com>
7 years agosrc/test: add a unit test for manifest refcount
myoungwon oh [Wed, 7 Mar 2018 14:12:56 +0000 (23:12 +0900)]
src/test: add a unit test for manifest refcount

Signed-off-by: Myoungwon Oh <omwmw@sk.com>
7 years agoosd: decrease refcount when object is deleted (has manifest) if the object is referenced
myoungwon oh [Fri, 12 Jan 2018 11:19:57 +0000 (20:19 +0900)]
osd: decrease refcount when object is deleted (has manifest) if the object is referenced

Signed-off-by: Myoungwon Oh <omwmw@sk.com>