]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agocommon: drop buffer::raw_pipe altogether with its factory method.
Radoslaw Zarzynski [Tue, 11 Sep 2018 10:11:24 +0000 (12:11 +0200)]
common: drop buffer::raw_pipe altogether with its factory method.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agocommon: drop buffer::list::read_fd_zero_copy.
Radoslaw Zarzynski [Tue, 11 Sep 2018 10:04:35 +0000 (12:04 +0200)]
common: drop buffer::list::read_fd_zero_copy.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agocommon, test: drop unit tests for 0c in ceph::bufferlist.
Radoslaw Zarzynski [Tue, 11 Sep 2018 09:59:54 +0000 (11:59 +0200)]
common, test: drop unit tests for 0c in ceph::bufferlist.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agoMerge pull request #24087 from rzarzynski/wip-common-buffer_raw-drop-page-align-getters
Kefu Chai [Mon, 17 Sep 2018 07:55:10 +0000 (15:55 +0800)]
Merge pull request #24087 from rzarzynski/wip-common-buffer_raw-drop-page-align-getters

common: drop/mark-as-final getters of buffer::raw for palign.

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #24061 from liewegas/wip-35923
Kefu Chai [Mon, 17 Sep 2018 07:52:49 +0000 (15:52 +0800)]
Merge pull request #24061 from liewegas/wip-35923

osd/PG: write pg epoch when resurrecting pg after delete vs merge race

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoMerge pull request #23306 from penglaiyxy/msg_branch
Kefu Chai [Mon, 17 Sep 2018 07:50:57 +0000 (15:50 +0800)]
Merge pull request #23306 from penglaiyxy/msg_branch

msg: ceph_abort() when there are enough accepter errors in msg server

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #23955 from wjwithagen/wjw-fix-ceph-helpers.sh
Kefu Chai [Mon, 17 Sep 2018 07:44:06 +0000 (15:44 +0800)]
Merge pull request #23955 from wjwithagen/wjw-fix-ceph-helpers.sh

test: Start using GNU awk and fix archiving directory

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge PR #24023 into master
Patrick Donnelly [Sun, 16 Sep 2018 22:01:01 +0000 (15:01 -0700)]
Merge PR #24023 into master

* refs/pull/24023/head:
mds: prevent rctime from going back

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #24022 into master
Patrick Donnelly [Sun, 16 Sep 2018 21:58:38 +0000 (14:58 -0700)]
Merge PR #24022 into master

* refs/pull/24022/head:
client: update ctime when modifying file content

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #24048 into master
Patrick Donnelly [Sun, 16 Sep 2018 21:51:17 +0000 (14:51 -0700)]
Merge PR #24048 into master

* refs/pull/24048/head:
mds: use common send message mechanisms
mds: remove dead code

Reviewed-by: Zheng Yan <zyan@redhat.com>
6 years agoMerge PR #24053 into master
Patrick Donnelly [Sun, 16 Sep 2018 21:33:55 +0000 (14:33 -0700)]
Merge PR #24053 into master

* refs/pull/24053/head:
mds: translate CEPH_MDS_STATE_NULL state name as null

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #21992 into master
Patrick Donnelly [Sun, 16 Sep 2018 21:30:28 +0000 (14:30 -0700)]
Merge PR #21992 into master

* refs/pull/21992/head:
qa: extend timeout for SessionMap flush

Reviewed-by: John Spray <john.spray@redhat.com>
6 years agoMerge pull request #24029 from smithfarm/wip-35922
Kefu Chai [Sun, 16 Sep 2018 16:04:03 +0000 (00:04 +0800)]
Merge pull request #24029 from smithfarm/wip-35922

cmake: no libradosstriper headers if WITH_LIBRADOSSTRIPER=OFF

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jesse Williamson <jwilliamson@suse.de>
6 years agoMerge pull request #24036 from dillaman/wip-24688
Mykola Golub [Sun, 16 Sep 2018 08:53:04 +0000 (11:53 +0300)]
Merge pull request #24036 from dillaman/wip-24688

rbd-mirror: optionally extract peer secrets from config-key

Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #24063 from dillaman/wip-24140
Mykola Golub [Sun, 16 Sep 2018 08:52:32 +0000 (11:52 +0300)]
Merge pull request #24063 from dillaman/wip-24140

rbd-mirror: prevent creation of clones when parents are syncing

Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #24108 from clebergnu/rm_qa_btrfs_binary
Kefu Chai [Sat, 15 Sep 2018 02:17:58 +0000 (10:17 +0800)]
Merge pull request #24108 from clebergnu/rm_qa_btrfs_binary

qa/btrfs/test_rmdir_async_snap: remove binary file

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #23989 from dzafman/wip-35846
Josh Durgin [Fri, 14 Sep 2018 23:07:09 +0000 (16:07 -0700)]
Merge pull request #23989 from dzafman/wip-35846

tools: ceph-objectstore-tool: Allow target level as first positional argument

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoqa/btrfs/test_rmdir_async_snap: remove binary file 24108/head
Cleber Rosa [Fri, 14 Sep 2018 17:26:32 +0000 (13:26 -0400)]
qa/btrfs/test_rmdir_async_snap: remove binary file

On a quick look at the source code, I noticed this binary file, which
looks like was committed by mistake.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
6 years agoMerge pull request #23650 from tchaikov/wip-dpdk-cmake 24043/head
Kefu Chai [Fri, 14 Sep 2018 15:44:01 +0000 (23:44 +0800)]
Merge pull request #23650 from tchaikov/wip-dpdk-cmake

cmake: fix the build WITH_DPDK=ON

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #24097 from cyx1231st/fix-seastar-msgr-read-racing
Kefu Chai [Fri, 14 Sep 2018 11:03:54 +0000 (19:03 +0800)]
Merge pull request #24097 from cyx1231st/fix-seastar-msgr-read-racing

crimson/net: Fix racing for promise on_message

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agocrimson/net: Fix racing for promise on_message 24097/head
Yingxin [Fri, 14 Sep 2018 10:21:07 +0000 (18:21 +0800)]
crimson/net: Fix racing for promise on_message

read_tags_until_next_message() will forward the ready future and create
a new promise for on_message, which assumes there is already a
read_message() holding the previous promise, but it is not true.

Signed-off-by: Yingxin <yingxin.cheng@intel.com>
6 years agoMerge pull request #23972 from badone/wip-documentation-add-12.2.8-release
Nathan Cutler [Fri, 14 Sep 2018 07:52:59 +0000 (09:52 +0200)]
Merge pull request #23972 from badone/wip-documentation-add-12.2.8-release

doc/releases/schedule: Add Luminous 12.2.8

Reviewed-by: Nathan Cutler <ncutler@suse.com>
6 years agoMerge pull request #24099 from badone/wip-mimic-13-2-0-date-correction
Nathan Cutler [Fri, 14 Sep 2018 07:52:19 +0000 (09:52 +0200)]
Merge pull request #24099 from badone/wip-mimic-13-2-0-date-correction

doc/releases: Mark Mimic first release as June

Reviewed-by: Nathan Cutler <ncutler@suse.com>
6 years agodoc/releases: Mark Mimic first release as June 24099/head
Brad Hubbard [Fri, 14 Sep 2018 05:05:52 +0000 (15:05 +1000)]
doc/releases: Mark Mimic first release as June

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
6 years agoMerge pull request #24094 from libingyang-zte/master
Xie Xingguo [Fri, 14 Sep 2018 02:46:48 +0000 (10:46 +0800)]
Merge pull request #24094 from libingyang-zte/master

doc: Fix Typos of Developer Guide

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agodoc: Fix Typos of Developer Guide 24094/head
李丙洋 10208981 [Fri, 14 Sep 2018 01:23:15 +0000 (09:23 +0800)]
doc: Fix Typos of Developer Guide

Signed-off-by: Li Bingyang <li.bingyang1@zte.com.cn>
6 years agocommon: drop is_page_aligned() of buffer::raw entirely. 24087/head
Radoslaw Zarzynski [Thu, 13 Sep 2018 20:54:24 +0000 (22:54 +0200)]
common: drop is_page_aligned() of buffer::raw entirely.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agocommon: drop/mark-as-final getters of buffer::raw for palign.
Radoslaw Zarzynski [Thu, 13 Sep 2018 19:58:11 +0000 (21:58 +0200)]
common: drop/mark-as-final getters of buffer::raw for palign.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agoMerge pull request #23896 from Songweibin/wip-group-snap-rollback
Mykola Golub [Thu, 13 Sep 2018 16:35:10 +0000 (19:35 +0300)]
Merge pull request #23896 from Songweibin/wip-group-snap-rollback

rbd: add group snap rollback method

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #24077 from alfredodeza/wip-rm35970
Andrew Schoen [Thu, 13 Sep 2018 15:29:54 +0000 (10:29 -0500)]
Merge pull request #24077 from alfredodeza/wip-rm35970

ceph-volume  fix zap not working with LVs

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agoceph-volume tests.functional comment why not use --destroy when zapping lvs in filestore 24077/head
Alfredo Deza [Thu, 13 Sep 2018 14:03:06 +0000 (10:03 -0400)]
ceph-volume tests.functional comment why not use --destroy when zapping lvs in filestore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests.functional use --destroy when zapping lvs in bluestore
Alfredo Deza [Thu, 13 Sep 2018 14:00:37 +0000 (10:00 -0400)]
ceph-volume tests.functional use --destroy when zapping lvs in bluestore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoqa/workunits/rbd: new test for rbd-mirror peer config-key secrets 24036/head
Jason Dillaman [Tue, 11 Sep 2018 17:12:24 +0000 (13:12 -0400)]
qa/workunits/rbd: new test for rbd-mirror peer config-key secrets

Fixes: http://tracker.ceph.com/issues/24688
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agodoc/rbd: update mirroring to include new peer secret config-key actions
Jason Dillaman [Tue, 11 Sep 2018 16:01:28 +0000 (12:01 -0400)]
doc/rbd: update mirroring to include new peer secret config-key actions

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agomon: added bootstrap-rbd-mirror/rbd-mirror mon profiles
Jason Dillaman [Tue, 11 Sep 2018 15:55:52 +0000 (11:55 -0400)]
mon: added bootstrap-rbd-mirror/rbd-mirror mon profiles

The rbd-mirror daemon will require permission to read config-keys
from the "rbd/mirror/" prefix. These new profiles (and the new
associated bootstrap-rbd-mirror user) provide the required
permissions.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agorbd: mirror pool peer commands now support mon_host/key overrides
Jason Dillaman [Tue, 11 Sep 2018 14:21:12 +0000 (10:21 -0400)]
rbd: mirror pool peer commands now support mon_host/key overrides

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #24024 from p-na/fix-flaky-qa-tests
Kefu Chai [Thu, 13 Sep 2018 13:52:35 +0000 (21:52 +0800)]
Merge pull request #24024 from p-na/fix-flaky-qa-tests

mgr/dashboard: Fix flaky QA tests

Reviewed-by: Ricardo Dias <rdias@suse.com>
6 years agoceph-volume lvm.zap use remove_pv only for physical devices
Alfredo Deza [Thu, 13 Sep 2018 13:34:54 +0000 (09:34 -0400)]
ceph-volume lvm.zap use remove_pv only for physical devices

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #23660 from falcon78921/wip-multisite-docs
Casey Bodley [Thu, 13 Sep 2018 12:53:59 +0000 (08:53 -0400)]
Merge pull request #23660 from falcon78921/wip-multisite-docs

doc: updated multisite documentation

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #23995 from tchaikov/wip-add-ceph-libboost-repo
Kefu Chai [Thu, 13 Sep 2018 11:40:26 +0000 (19:40 +0800)]
Merge pull request #23995 from tchaikov/wip-add-ceph-libboost-repo

install-deps,run-make-check: use ceph-libboost repo

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Erwan Velu <erwan@redhat.com>
6 years agoMerge pull request #24067 from libingyang-zte/master
Xie Xingguo [Thu, 13 Sep 2018 04:12:47 +0000 (12:12 +0800)]
Merge pull request #24067 from libingyang-zte/master

doc: Fix typos in Developer Guide

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agodoc: Fix Spelling Error in Developer Guide 24067/head
李丙洋 10208981 [Thu, 13 Sep 2018 01:17:34 +0000 (09:17 +0800)]
doc: Fix Spelling Error in Developer Guide

Signed-off-by: Li Bingyang <li.bingyang1@zte.com.cn>
6 years agoMerge pull request #23919 from adamemerson/wip-end-to-warnings
Kefu Chai [Thu, 13 Sep 2018 01:04:15 +0000 (09:04 +0800)]
Merge pull request #23919 from adamemerson/wip-end-to-warnings

Clean up warnings

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #24018 from dzafman/wip-35912
David Zafman [Wed, 12 Sep 2018 20:15:44 +0000 (13:15 -0700)]
Merge pull request #24018 from dzafman/wip-35912

qa/standalone: Minor test improvements

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #24060 from alfredodeza/wip-rm35913
Andrew Schoen [Wed, 12 Sep 2018 19:55:11 +0000 (14:55 -0500)]
Merge pull request #24060 from alfredodeza/wip-rm35913

ceph-volume batch: allow --osds-per-device, default it to 1

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agoqa: extend timeout for SessionMap flush 21992/head
Patrick Donnelly [Mon, 14 May 2018 22:19:51 +0000 (15:19 -0700)]
qa: extend timeout for SessionMap flush

Fixes: https://tracker.ceph.com/issues/24129
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoceph-volume tests.lvm.strategies initial filestore validation 24060/head
Alfredo Deza [Wed, 12 Sep 2018 13:44:32 +0000 (09:44 -0400)]
ceph-volume tests.lvm.strategies initial filestore validation

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume lvm.tests conftest fixtures for custom vgs
Alfredo Deza [Tue, 11 Sep 2018 20:53:54 +0000 (16:53 -0400)]
ceph-volume lvm.tests conftest fixtures for custom vgs

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests.devices.lvm add bluestore strategy cases
Alfredo Deza [Tue, 11 Sep 2018 20:53:05 +0000 (16:53 -0400)]
ceph-volume tests.devices.lvm add bluestore strategy cases

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests verify strategy validators for minimum size
Alfredo Deza [Tue, 11 Sep 2018 16:57:21 +0000 (12:57 -0400)]
ceph-volume tests verify strategy validators for minimum size

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume lvm.batch.filestore allow osds-per-device
Alfredo Deza [Tue, 11 Sep 2018 16:12:48 +0000 (12:12 -0400)]
ceph-volume lvm.batch.filestore allow osds-per-device

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agorbd-mirror: connect to remote cluster using optional mon_host/key values
Jason Dillaman [Tue, 11 Sep 2018 12:21:06 +0000 (08:21 -0400)]
rbd-mirror: connect to remote cluster using optional mon_host/key values

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agorbd-mirror: prevent creation of clones when parents are syncing 24063/head
Jason Dillaman [Wed, 12 Sep 2018 18:04:49 +0000 (14:04 -0400)]
rbd-mirror: prevent creation of clones when parents are syncing

This will prevent a possible race condition where a thrashing rbd-mirror
daemon in mid-sync with a parent image would result in the deletion of
all snapshots when it restarts the sync.

Fixes: http://tracker.ceph.com/issues/24140
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agocls_cas: Fix format string warning 23919/head
Adam C. Emerson [Wed, 12 Sep 2018 17:02:18 +0000 (13:02 -0400)]
cls_cas: Fix format string warning

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agoMerge PR #24025 into master
Sage Weil [Wed, 12 Sep 2018 16:51:58 +0000 (11:51 -0500)]
Merge PR #24025 into master

* refs/pull/24025/head:
mon/OSDMonitor: reject pg_num -> 0

Reviewed-by: huangjun <huangjun@xsky.com>
Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #21611 into master
Sage Weil [Wed, 12 Sep 2018 16:47:13 +0000 (11:47 -0500)]
Merge PR #21611 into master

* refs/pull/21611/head:
osd/ECBackend: don't get result code of subchunk-read overwritten

Reviewed-by: David Zafman <dzafman@redhat.com>
6 years agoMerge PR #23273 into master
Sage Weil [Wed, 12 Sep 2018 16:46:56 +0000 (11:46 -0500)]
Merge PR #23273 into master

* refs/pull/23273/head:
os/bluestore: handle spurious read errors

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
6 years agoMerge PR #23694 into master
Sage Weil [Wed, 12 Sep 2018 16:46:42 +0000 (11:46 -0500)]
Merge PR #23694 into master

* refs/pull/23694/head:
mon: remove pre-luminous health output compatibility

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agotest: Remove unused variable
Adam C. Emerson [Tue, 4 Sep 2018 18:48:57 +0000 (14:48 -0400)]
test: Remove unused variable

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomds: Remove pessimizing move
Adam C. Emerson [Tue, 4 Sep 2018 18:25:08 +0000 (14:25 -0400)]
mds: Remove pessimizing move

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agotest: Silence unused capture warnings
Adam C. Emerson [Tue, 4 Sep 2018 18:24:31 +0000 (14:24 -0400)]
test: Silence unused capture warnings

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agotest: Fix sprintf overflow warning
Adam C. Emerson [Tue, 4 Sep 2018 17:51:27 +0000 (13:51 -0400)]
test: Fix sprintf overflow warning

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agotest: Quell unused variable warnings
Adam C. Emerson [Thu, 30 Aug 2018 15:27:06 +0000 (11:27 -0400)]
test: Quell unused variable warnings

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agotest: Fix sign comparison warnings
Adam C. Emerson [Wed, 29 Aug 2018 19:39:09 +0000 (15:39 -0400)]
test: Fix sign comparison warnings

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agoMerge PR #24035 into master
Sage Weil [Wed, 12 Sep 2018 16:40:20 +0000 (11:40 -0500)]
Merge PR #24035 into master

* refs/pull/24035/head:
osd/PG: avoid choose_acting picking want with > pool size items

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge PR #24052 into master
Patrick Donnelly [Wed, 12 Sep 2018 16:14:28 +0000 (09:14 -0700)]
Merge PR #24052 into master

* refs/pull/24052/head:
doc: update mds stat output

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
6 years agoMerge pull request #24032 from liewegas/wip-pg-ls
Kefu Chai [Wed, 12 Sep 2018 15:43:50 +0000 (23:43 +0800)]
Merge pull request #24032 from liewegas/wip-pg-ls

mon/PGMap: include unknown PGs in 'pg ls'

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: David Zafman <dzafman@redhat.com>
6 years agoMerge pull request #24040 from rzarzynski/wip-common-bl-drop-raw_mmap_pages
Kefu Chai [Wed, 12 Sep 2018 15:42:52 +0000 (23:42 +0800)]
Merge pull request #24040 from rzarzynski/wip-common-bl-drop-raw_mmap_pages

common: drop the unused buffer::raw_mmap_pages.

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agorbd: sort to display group image by name 23896/head
songweibin [Mon, 3 Sep 2018 07:15:38 +0000 (15:15 +0800)]
rbd: sort to display group image by name

Signed-off-by: songweibin <song.weibin@zte.com.cn>
6 years agopybind/rbd: new group snap rollback Python API
songweibin [Mon, 3 Sep 2018 07:09:46 +0000 (15:09 +0800)]
pybind/rbd: new group snap rollback Python API

Signed-off-by: songweibin <song.weibin@zte.com.cn>
6 years agotools/rbd: support group snap rollback CLI
songweibin [Thu, 23 Aug 2018 03:09:26 +0000 (11:09 +0800)]
tools/rbd: support group snap rollback CLI

Signed-off-by: songweibin <song.weibin@zte.com.cn>
6 years agolibrbd: minor cleanup in api/Group.cc
songweibin [Wed, 12 Sep 2018 12:07:29 +0000 (20:07 +0800)]
librbd: minor cleanup in api/Group.cc

Signed-off-by: songweibin <song.weibin@zte.com.cn>
6 years agolibrbd: add group snap rollback method
songweibin [Tue, 31 Jul 2018 08:53:24 +0000 (16:53 +0800)]
librbd: add group snap rollback method

Fixes: http://tracker.ceph.com/issues/23550
Signed-off-by: songweibin <song.weibin@zte.com.cn>
6 years agocephfs: Do not catch polymorphic exception by value
Adam C. Emerson [Wed, 29 Aug 2018 19:37:17 +0000 (15:37 -0400)]
cephfs: Do not catch polymorphic exception by value

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agocrush: Quell unused variable warnings
Adam C. Emerson [Wed, 29 Aug 2018 17:25:20 +0000 (13:25 -0400)]
crush: Quell unused variable warnings

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agoceph-volume lvm.batch.validators account for osds per device, include collocation
Alfredo Deza [Tue, 11 Sep 2018 16:11:01 +0000 (12:11 -0400)]
ceph-volume lvm.batch.validators account for osds per device, include collocation

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume lvm.batch.bluestore allow osds-per-device with MixedType
Alfredo Deza [Mon, 10 Sep 2018 21:57:44 +0000 (17:57 -0400)]
ceph-volume lvm.batch.bluestore allow osds-per-device with MixedType

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #24042 from liewegas/wip-merge-derr
Kefu Chai [Wed, 12 Sep 2018 15:34:48 +0000 (23:34 +0800)]
Merge pull request #24042 from liewegas/wip-merge-derr

osd: remove stray derr

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #23996 from mogeb/fmt-cmake
Kefu Chai [Wed, 12 Sep 2018 15:32:53 +0000 (23:32 +0800)]
Merge pull request #23996 from mogeb/fmt-cmake

cmake: fix version matching for Findfmt

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #24013 from dzafman/wip-35845
Kefu Chai [Wed, 12 Sep 2018 15:00:39 +0000 (23:00 +0800)]
Merge pull request #24013 from dzafman/wip-35845

test: Use a grep pattern that works across releases

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #24045 from dillaman/wip-35702
Mykola Golub [Wed, 12 Sep 2018 14:48:15 +0000 (17:48 +0300)]
Merge pull request #24045 from dillaman/wip-35702

librbd: fixed assert when flattening clone with zero overlap

Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #24030 from LenzGr/mgr-dashboard-documentation
Lenz Grimmer [Wed, 12 Sep 2018 14:01:29 +0000 (16:01 +0200)]
Merge pull request #24030 from LenzGr/mgr-dashboard-documentation

doc: Updated Mgr Dashboard documentation

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agoosd/PG: write pg epoch when resurrecting pg after delete vs merge race 24061/head
Sage Weil [Wed, 12 Sep 2018 14:01:02 +0000 (09:01 -0500)]
osd/PG: write pg epoch when resurrecting pg after delete vs merge race

Fixes: http://tracker.ceph.com/issues/35923
Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomds: use common send message mechanisms 24048/head
Patrick Donnelly [Wed, 12 Sep 2018 01:59:03 +0000 (18:59 -0700)]
mds: use common send message mechanisms

Fixes: http://tracker.ceph.com/issues/26961
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoclient: update ctime when modifying file content 24022/head
Yan, Zheng [Tue, 11 Sep 2018 06:55:24 +0000 (14:55 +0800)]
client: update ctime when modifying file content

Fixes: http://tracker.ceph.com/issues/35945
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
6 years agoMerge pull request #24055 from sebastian-philipp/kubejacker-opensuse-mimic
John Spray [Wed, 12 Sep 2018 10:25:44 +0000 (11:25 +0100)]
Merge pull request #24055 from sebastian-philipp/kubejacker-opensuse-mimic

script/kubejacker: Add openSUSE based images

Reviewed-by: John Spray <john.spray@redhat.com>
6 years agoscript/kubejacker: Add openSUSE based images 24055/head
Sebastian Wagner [Wed, 12 Sep 2018 08:32:53 +0000 (10:32 +0200)]
script/kubejacker: Add openSUSE based images

* Added executable bit of `kubejacker.sh`.
* Reduced the number of `RUN` commands
* Added zypper commands for SUSE.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
6 years agomgr/dashboard: Cleanup 24024/head
Patrick Nawracay [Tue, 11 Sep 2018 09:11:49 +0000 (11:11 +0200)]
mgr/dashboard: Cleanup

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
6 years agomgr/dashboard: Fix flaky QA tests
Patrick Nawracay [Tue, 11 Sep 2018 06:53:56 +0000 (08:53 +0200)]
mgr/dashboard: Fix flaky QA tests

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
6 years agocmake: no libradosstriper headers if WITH_LIBRADOSSTRIPER=OFF 24029/head
Nathan Cutler [Tue, 11 Sep 2018 11:56:25 +0000 (13:56 +0200)]
cmake: no libradosstriper headers if WITH_LIBRADOSSTRIPER=OFF

This commit conditionalizes inclusion of the libradosstriper header files and
moves the "option(WITH_LIBRADOSSTRIPER..)" directive to before
"add_subdirectory(include)", as we check for this variable in src/include.

Fixes: http://tracker.ceph.com/issues/35922
Signed-off-by: Kefu Chai <kchai@redhat.com>
Signed-off-by: Nathan Cutler <ncutler@suse.com>
6 years agomds: translate CEPH_MDS_STATE_NULL state name as null 24053/head
Zhi Zhang [Wed, 12 Sep 2018 07:36:57 +0000 (15:36 +0800)]
mds: translate CEPH_MDS_STATE_NULL state name as null

Signed-off-by: Zhi Zhang <zhangz.david@outlook.com>
6 years agodoc: update mds stat output 24052/head
Jos Collin [Wed, 12 Sep 2018 04:57:22 +0000 (10:27 +0530)]
doc: update mds stat output

Signed-off-by: Jos Collin <jcollin@redhat.com>
6 years agomds: remove dead code
Patrick Donnelly [Wed, 12 Sep 2018 03:15:45 +0000 (20:15 -0700)]
mds: remove dead code

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agolibrbd: fixed assert when flattening clone with zero overlap 24045/head
Jason Dillaman [Wed, 12 Sep 2018 01:52:05 +0000 (21:52 -0400)]
librbd: fixed assert when flattening clone with zero overlap

Fixes: http://tracker.ceph.com/issues/35702
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agorbd-mirror: extract optional peer mon_host/key values from MON
Jason Dillaman [Mon, 10 Sep 2018 20:03:53 +0000 (16:03 -0400)]
rbd-mirror: extract optional peer mon_host/key values from MON

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agorbd-mirror: cluster watcher doesn't need to resolve pool names
Jason Dillaman [Mon, 10 Sep 2018 18:12:26 +0000 (14:12 -0400)]
rbd-mirror: cluster watcher doesn't need to resolve pool names

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agorbd-mirror: renamed 'peer_t' type to 'PeerSpec'
Jason Dillaman [Mon, 10 Sep 2018 16:44:54 +0000 (12:44 -0400)]
rbd-mirror: renamed 'peer_t' type to 'PeerSpec'

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agorbd-mirror: renamed 'types' files to 'Types'
Jason Dillaman [Mon, 10 Sep 2018 16:09:16 +0000 (12:09 -0400)]
rbd-mirror: renamed 'types' files to 'Types'

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agomon/OSDMonitor: reject pg_num -> 0 24025/head
xie xingguo [Tue, 11 Sep 2018 08:29:36 +0000 (16:29 +0800)]
mon/OSDMonitor: reject pg_num -> 0

Otherwise it will finally crash the mgr process:
```
-2> 2018-09-11 16:23:31.272 7ff521d59700 -1 /clove/xxG/ceph/src/osd/osd_types.cc: In function 'pg_t pg_t::get_parent() const'
 thread 7ff521d59700 time 2018-09-11 16:23:31.272096
/clove/xxG/ceph/src/osd/osd_types.cc: 587: FAILED ceph_assert(bits)
```

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoMerge pull request #23941 from trociny/wip-23445
Jason Dillaman [Wed, 12 Sep 2018 00:49:28 +0000 (20:49 -0400)]
Merge pull request #23941 from trociny/wip-23445

librbd: flatten operation should use object map

Reviewed-by: Jason Dillaman <dillaman@redhat.com>