]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agoosdc,os,osd: fix build on osx 20029/head
Kefu Chai [Fri, 19 Jan 2018 13:09:35 +0000 (21:09 +0800)]
osdc,os,osd: fix build on osx

on clang on MacOS, size_t is not identical to uint64_t, so we need to do
specify the template parameter if the two parameters' types are
different.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19945 from tchaikov/wip-deprecated-in-cxx17
Kefu Chai [Tue, 16 Jan 2018 14:16:43 +0000 (22:16 +0800)]
Merge pull request #19945 from tchaikov/wip-deprecated-in-cxx17

librbd,librados: do not include stdbool.h in C++ headers

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
7 years agoMerge pull request #19261 from dillaman/wip-22286
Kefu Chai [Tue, 16 Jan 2018 14:15:47 +0000 (22:15 +0800)]
Merge pull request #19261 from dillaman/wip-22286

mgr: disconnect unregistered service daemon when report received

Reviewed-By: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19942 from shinobu-x/wip-sk-minmax-ms_async_op_threads
Sage Weil [Tue, 16 Jan 2018 13:33:22 +0000 (07:33 -0600)]
Merge pull request #19942 from shinobu-x/wip-sk-minmax-ms_async_op_threads

common: Add min/max of ms_async_op_threads

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19397 from xxhdx1985126/master
Sage Weil [Tue, 16 Jan 2018 13:33:09 +0000 (07:33 -0600)]
Merge pull request #19397 from xxhdx1985126/master

mon: update PaxosService::cached_first_committed in PaxosService::maybe_trim()

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19822 from trociny/wip-ggate-ceph-globals
Jason Dillaman [Mon, 15 Jan 2018 13:51:34 +0000 (08:51 -0500)]
Merge pull request #19822 from trociny/wip-ggate-ceph-globals

rbd-ggate: fix parsing ceph global options

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
7 years agoMerge pull request #19673 from zouaiguo/wip_erase_code
Kefu Chai [Mon, 15 Jan 2018 10:34:34 +0000 (18:34 +0800)]
Merge pull request #19673 from zouaiguo/wip_erase_code

mon/OSDMonitor.cc : set erasure-code-profile to "" when create replicated pools.

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19896 from tchaikov/wip-vive-cxx-17
Kefu Chai [Mon, 15 Jan 2018 03:27:28 +0000 (11:27 +0800)]
Merge pull request #19896 from tchaikov/wip-vive-cxx-17

msg/simple: s/ceph::size/std::size/

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
7 years agoMerge pull request #19870 from liewegas/wip-strip-ceph-base
Kefu Chai [Mon, 15 Jan 2018 03:24:08 +0000 (11:24 +0800)]
Merge pull request #19870 from liewegas/wip-strip-ceph-base

debian/rules: strip ceph-base libraries

Reviewed-By: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18755 from aclamk/wip-reverted-approx-size
Kefu Chai [Mon, 15 Jan 2018 03:14:45 +0000 (11:14 +0800)]
Merge pull request #18755 from aclamk/wip-reverted-approx-size

osd/PG: revert approx size

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18191 from hjwsm1989/osd-mark-down
Kefu Chai [Mon, 15 Jan 2018 03:09:02 +0000 (11:09 +0800)]
Merge pull request #18191 from hjwsm1989/osd-mark-down

qa/standalone/osd/osd-mark-down: create pool to get updated osdmap faster

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19877 from adamemerson/wip-dencish
Kefu Chai [Mon, 15 Jan 2018 03:06:12 +0000 (11:06 +0800)]
Merge pull request #19877 from adamemerson/wip-dencish

denc cleanups and other fixes

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19946 from liewegas/wip-22677
Sage Weil [Sun, 14 Jan 2018 19:40:54 +0000 (13:40 -0600)]
Merge pull request #19946 from liewegas/wip-22677

qa/workunits/rados/test_rados_tool: fix stray |, race

7 years agoqa/workunits/rados/test_rados_tool: remove stray |, fix race 19946/head
Sage Weil [Sun, 14 Jan 2018 16:35:14 +0000 (10:35 -0600)]
qa/workunits/rados/test_rados_tool: remove stray |, fix race

Fixes: http://tracker.ceph.com/issues/22676
Signed-off-by: Sage Weil <sage@redhat.com>
7 years agolibrbd,librados: do not include stdbool.h in C++ headers 19945/head
Kefu Chai [Sun, 14 Jan 2018 10:02:26 +0000 (18:02 +0800)]
librbd,librados: do not include stdbool.h in C++ headers

stdbool.h is offered to provide C++ keywords for C source file.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #12431 from VictorDenisov/snapshot_rename
Jason Dillaman [Sun, 14 Jan 2018 01:48:39 +0000 (20:48 -0500)]
Merge pull request #12431 from VictorDenisov/snapshot_rename

rbd: group snapshot rename

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd: Add group snapshot rename commands
Victor Denisov [Thu, 1 Dec 2016 20:40:16 +0000 (12:40 -0800)]
rbd: Add group snapshot rename commands

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agolibrbd: Add group snap rename method
Victor Denisov [Fri, 2 Dec 2016 20:43:42 +0000 (12:43 -0800)]
librbd: Add group snap rename method

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agoqa/workunits/rados/test_rados_tool.sh: -x
Sage Weil [Sat, 13 Jan 2018 16:07:31 +0000 (10:07 -0600)]
qa/workunits/rados/test_rados_tool.sh: -x

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19913 from adamemerson/wip-minimax-rados
Sage Weil [Sat, 13 Jan 2018 15:56:28 +0000 (09:56 -0600)]
Merge pull request #19913 from adamemerson/wip-minimax-rados

rados: Prefer templates to macros

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19914 from tchaikov/wip-cmake-check-boost-in-src
Sage Weil [Sat, 13 Jan 2018 15:56:08 +0000 (09:56 -0600)]
Merge pull request #19914 from tchaikov/wip-cmake-check-boost-in-src

cmake: check version of boost in src/boost

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
7 years agoMerge pull request #19926 from batrick/i22527
Sage Weil [Sat, 13 Jan 2018 15:55:12 +0000 (09:55 -0600)]
Merge pull request #19926 from batrick/i22527

mon: revert mds metadata argument name change

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19903 from dillaman/wip-librbd-op-features
Mykola Golub [Sat, 13 Jan 2018 02:13:49 +0000 (04:13 +0200)]
Merge pull request #19903 from dillaman/wip-librbd-op-features

librbd: add preliminary support for new operation feature bit

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agocommon: Add min/max of ms_async_op_threads 19942/head
Shinobu Kinjo [Sat, 13 Jan 2018 01:02:39 +0000 (10:02 +0900)]
common: Add min/max of ms_async_op_threads

Signed-off-by: Shinobu Kinjo <shinobu@redhat.com>
7 years agoMerge pull request #19793 from badone/wip-blocking-deep-scrub
Yuri Weinstein [Fri, 12 Jan 2018 22:47:30 +0000 (14:47 -0800)]
Merge pull request #19793 from badone/wip-blocking-deep-scrub

ceph.in: Add blocking mode for scrub and deep-scrub

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #19910 from jdurgin/wip-21897
Yuri Weinstein [Fri, 12 Jan 2018 22:46:26 +0000 (14:46 -0800)]
Merge pull request #19910 from jdurgin/wip-21897

config: lower default omap entries recovered at once

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge PR #19894 into master
Patrick Donnelly [Fri, 12 Jan 2018 22:37:39 +0000 (14:37 -0800)]
Merge PR #19894 into master

* refs/pull/19894/head:
cmake: link against ceph-common instead of common

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #19920 into master
Patrick Donnelly [Fri, 12 Jan 2018 22:37:32 +0000 (14:37 -0800)]
Merge PR #19920 into master

* refs/pull/19920/head:
client: fix cap revoke race
client: release revoking Fc after invalidate cache

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #19885 into master
Patrick Donnelly [Fri, 12 Jan 2018 22:37:25 +0000 (14:37 -0800)]
Merge PR #19885 into master

* refs/pull/19885/head:
qa: increase osd count for ec testing
qa: add missing openstack configs

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agorados: Switch MIN/MAX for std::min/max and use intarith templates 19913/head
Adam C. Emerson [Thu, 11 Jan 2018 03:24:46 +0000 (22:24 -0500)]
rados: Switch MIN/MAX for std::min/max and use intarith templates

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agoMerge pull request #19900 from dillaman/wip-rbd-lock-list
Mykola Golub [Fri, 12 Jan 2018 19:31:54 +0000 (21:31 +0200)]
Merge pull request #19900 from dillaman/wip-rbd-lock-list

rbd: adjusted "lock list" JSON and XML formatted output

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #19933 from qrGitHub/wip-rgw-useless-line4
Casey Bodley [Fri, 12 Jan 2018 18:17:48 +0000 (13:17 -0500)]
Merge pull request #19933 from qrGitHub/wip-rgw-useless-line4

rgw: drop redundant RGW_OP_STAT_OBJ check

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agorbd: adjusted "lock list" JSON and XML formatted output 19900/head
Jason Dillaman [Wed, 10 Jan 2018 19:46:07 +0000 (14:46 -0500)]
rbd: adjusted "lock list" JSON and XML formatted output

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agolibrbd: operations should return -EROFS if disabled 19903/head
Jason Dillaman [Fri, 12 Jan 2018 15:46:33 +0000 (10:46 -0500)]
librbd: operations should return -EROFS if disabled

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agolibrbd: retrieve the op features on image refresh
Jason Dillaman [Fri, 5 Jan 2018 18:54:24 +0000 (13:54 -0500)]
librbd: retrieve the op features on image refresh

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agolibrbd: track new operation features within image
Jason Dillaman [Fri, 5 Jan 2018 02:50:02 +0000 (21:50 -0500)]
librbd: track new operation features within image

This will initially be utilized to restrict older clients from
performing operations against an image if (1) it doesn't
support the new feature bit, or (2) doesn't support the specific
enabled op feature.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoinclude: Add templates along side macros in intarith 19905/head
Adam C. Emerson [Wed, 10 Jan 2018 22:06:53 +0000 (17:06 -0500)]
include: Add templates along side macros in intarith

The macros can be removed later.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agorgw: drop redundant RGW_OP_STAT_OBJ check 19933/head
Bingyin Zhang [Fri, 12 Jan 2018 06:26:30 +0000 (14:26 +0800)]
rgw: drop redundant RGW_OP_STAT_OBJ check

Signed-off-by: Bingyin Zhang <zhangbingyin@cloudin.cn>
7 years agodenc: Clean up tuples even more 19877/head
Adam C. Emerson [Wed, 10 Jan 2018 04:29:06 +0000 (23:29 -0500)]
denc: Clean up tuples even more

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agotypes: Output of arbitrary std::tuples
Adam C. Emerson [Wed, 10 Jan 2018 04:28:37 +0000 (23:28 -0500)]
types: Output of arbitrary std::tuples

Again, using ceph::for_each

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agoencoding: Encode/decode of arbitrary tuples
Adam C. Emerson [Wed, 10 Jan 2018 04:27:51 +0000 (23:27 -0500)]
encoding: Encode/decode of arbitrary tuples

Using ceph::for_each to avoid fiddling with indices everywhere.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agocommon: Add ceph::for_each for tuples
Adam C. Emerson [Wed, 10 Jan 2018 04:26:48 +0000 (23:26 -0500)]
common: Add ceph::for_each for tuples

Expand to pairs, optionals, and variants later.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agocommon: Make maybe functions support std::optional
Adam C. Emerson [Wed, 10 Jan 2018 01:25:31 +0000 (20:25 -0500)]
common: Make maybe functions support std::optional

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agodenc: Simplify tuple decode/encode
Adam C. Emerson [Tue, 9 Jan 2018 22:53:26 +0000 (17:53 -0500)]
denc: Simplify tuple decode/encode

Use index_sequence instead of rolling our own support infrastructure.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agodenc: Fix std::array bound_encode
Adam C. Emerson [Tue, 9 Jan 2018 22:09:55 +0000 (17:09 -0500)]
denc: Fix std::array bound_encode

std::arrays are not variable length structures and thus are not
encoded with a length.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agodenc: Remove unneeded enable_ifs
Adam C. Emerson [Tue, 9 Jan 2018 22:03:03 +0000 (17:03 -0500)]
denc: Remove unneeded enable_ifs

The idiom
```
template<typename U = T>
static enable_if_t<!!sizeof(U) && ... >
```

Exists to force SFINAE dependent on some aspect of T on functions that
are themselves members of a template parameterized on T. Without some
other expression conjoined to it, this construct is just noise.

Also replace the reserve switch with constexpr if.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agodenc: Simplify is_any_of
Adam C. Emerson [Tue, 9 Jan 2018 21:15:34 +0000 (16:15 -0500)]
denc: Simplify is_any_of

We can't simplify underlying type in the obvious way since template
evaluation is strict.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agodenc: Support std::optional
Adam C. Emerson [Tue, 9 Jan 2018 20:37:46 +0000 (15:37 -0500)]
denc: Support std::optional

Since we'll probably want to use it at some point.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years ago{common,mds,rbd}: Fix unused lambda capture warnings
Adam C. Emerson [Tue, 9 Jan 2018 19:54:11 +0000 (14:54 -0500)]
{common,mds,rbd}: Fix unused lambda capture warnings

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agodenc: Unbreak Clang support
Adam C. Emerson [Tue, 9 Jan 2018 18:11:10 +0000 (13:11 -0500)]
denc: Unbreak Clang support

We were using an enable_if<sizeof(U)> idiom that Clang rejects as an
illicit narrowing conversion.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agodoc/man: Add '--block' option for ceph command 19793/head
Brad Hubbard [Fri, 12 Jan 2018 02:47:36 +0000 (12:47 +1000)]
doc/man: Add '--block' option for ceph command

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
7 years agoMerge pull request #19886 from liu-chunmei/fix_dpdk_worker_references_issue
Haomai Wang [Fri, 12 Jan 2018 02:38:30 +0000 (10:38 +0800)]
Merge pull request #19886 from liu-chunmei/fix_dpdk_worker_references_issue

osd: fix dpdk worker references issue

Reviewed-by: Haomai Wang <haomai@xsky.com>
7 years agorbd: hide implicit / non-mutable features from the CLI help
Jason Dillaman [Fri, 5 Jan 2018 16:31:37 +0000 (11:31 -0500)]
rbd: hide implicit / non-mutable features from the CLI help

The layering and data-pool features are enabled automatically
when striping or a data pool is specified, respectively. For
the 'rbd feature XYZ' command, hide all non-mutable features.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agomon: revert mds metadata argument name change 19926/head
Patrick Donnelly [Thu, 11 Jan 2018 22:46:32 +0000 (14:46 -0800)]
mon: revert mds metadata argument name change

Partial revert of PR #18512: d1877b68d90163897245a9801cff0ea419ff28e4

Fixes: http://tracker.ceph.com/issues/22527
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge branch 'wip-names!-in!-space!' of git://github.com/adamemerson/ceph
Sage Weil [Thu, 11 Jan 2018 21:53:55 +0000 (15:53 -0600)]
Merge branch 'wip-names!-in!-space!' of git://github.com/adamemerson/ceph

Reviewed-by: Jesse Williamson <jwilliamson@suse.de>
# Conflicts:
# src/cls/rbd/cls_rbd.cc
# src/cls/rbd/cls_rbd_types.cc

7 years agoMerge pull request #19099 from ifed01/wip-ifed-faster-pglog
Sage Weil [Thu, 11 Jan 2018 21:50:52 +0000 (15:50 -0600)]
Merge pull request #19099 from ifed01/wip-ifed-faster-pglog

osd: eliminate ineffective container operations

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19180 from theanalyst/tools/rados-omap-clear
Sage Weil [Thu, 11 Jan 2018 21:50:12 +0000 (15:50 -0600)]
Merge pull request #19180 from theanalyst/tools/rados-omap-clear

tools: rados add a cli option to clear omap keys

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19872 from tchaikov/wip-random_shuffle
Sage Weil [Thu, 11 Jan 2018 21:49:31 +0000 (15:49 -0600)]
Merge pull request #19872 from tchaikov/wip-random_shuffle

osd: s/random_shuffle()/shuffle()/

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
7 years agoMerge pull request #19881 from liewegas/wip-kill-crush-location
Sage Weil [Thu, 11 Jan 2018 21:48:29 +0000 (15:48 -0600)]
Merge pull request #19881 from liewegas/wip-kill-crush-location

ceph-crush-location: remove

Reviewed-by: Wido den Hollander <wido@widodh.nl>
7 years agoMerge pull request #11544 from VictorDenisov/consistency_groups_snapshots
Jason Dillaman [Thu, 11 Jan 2018 20:29:27 +0000 (15:29 -0500)]
Merge pull request #11544 from VictorDenisov/consistency_groups_snapshots

librbd: group snapshots

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd-mirror: fix valgrind false positive from new boost release
Jason Dillaman [Thu, 11 Jan 2018 20:27:47 +0000 (15:27 -0500)]
rbd-mirror: fix valgrind false positive from new boost release

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #19924 from rzarzynski/wip-rgw-drop-dump_uri_from_state
Casey Bodley [Thu, 11 Jan 2018 17:05:31 +0000 (12:05 -0500)]
Merge pull request #19924 from rzarzynski/wip-rgw-drop-dump_uri_from_state

rgw: drop dump_uri_from_state() which isn't used anymore.

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agolibrbd: ensure enums are prefixed w/ RBD_ to avoid collisions
Jason Dillaman [Thu, 11 Jan 2018 15:55:26 +0000 (10:55 -0500)]
librbd: ensure enums are prefixed w/ RBD_ to avoid collisions

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agolibrbd: fix false-positive compiler warning
Jason Dillaman [Thu, 11 Jan 2018 15:52:26 +0000 (10:52 -0500)]
librbd: fix false-positive compiler warning

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agotest/pybind: corrected failures due to test execution ordering
Jason Dillaman [Thu, 11 Jan 2018 15:15:21 +0000 (10:15 -0500)]
test/pybind: corrected failures due to test execution ordering

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agolibrbd: group snapshots should be linked to image pool (not data pool)
Jason Dillaman [Thu, 11 Jan 2018 14:59:30 +0000 (09:59 -0500)]
librbd: group snapshots should be linked to image pool (not data pool)

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd: restore snap list by image id functionality
Jason Dillaman [Thu, 11 Jan 2018 14:35:15 +0000 (09:35 -0500)]
rbd: restore snap list by image id functionality

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agocls/rbd: combined group_snap_add and group_snap_update
Jason Dillaman [Thu, 11 Jan 2018 05:24:37 +0000 (00:24 -0500)]
cls/rbd: combined group_snap_add and group_snap_update

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agolibrbd: fix ImageCtx::get_snap_id method
Jason Dillaman [Thu, 11 Jan 2018 04:39:49 +0000 (23:39 -0500)]
librbd: fix ImageCtx::get_snap_id method

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agolibrbd: fixed memory leak and use-after-free in group snap API
Jason Dillaman [Thu, 11 Jan 2018 03:42:05 +0000 (22:42 -0500)]
librbd: fixed memory leak and use-after-free in group snap API

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd: utilize '<name>@<snap>' format when creating/removing group snaps
Jason Dillaman [Thu, 11 Jan 2018 03:08:19 +0000 (22:08 -0500)]
rbd: utilize '<name>@<snap>' format when creating/removing group snaps

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agopybind/rbd: added snap_get_group_namespace API method
Jason Dillaman [Thu, 11 Jan 2018 02:40:29 +0000 (21:40 -0500)]
pybind/rbd: added snap_get_group_namespace API method

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agolibrbd: added missing C API version for rbd_snap_get_group_namespace
Jason Dillaman [Thu, 11 Jan 2018 01:56:33 +0000 (20:56 -0500)]
librbd: added missing C API version for rbd_snap_get_group_namespace

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agolibrbd: moved new snapshot API methods to separate class
Jason Dillaman [Thu, 11 Jan 2018 01:18:18 +0000 (20:18 -0500)]
librbd: moved new snapshot API methods to separate class

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd: wrap object section around group snap list formatter
Jason Dillaman [Wed, 10 Jan 2018 23:30:19 +0000 (18:30 -0500)]
rbd: wrap object section around group snap list formatter

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd: translate pool id into name
Victor Denisov [Sun, 7 Jan 2018 23:29:08 +0000 (15:29 -0800)]
rbd: translate pool id into name

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agorbd: translate group pool to name
Victor Denisov [Sun, 7 Jan 2018 22:31:25 +0000 (14:31 -0800)]
rbd: translate group pool to name

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agorbd: fix cli tests
Victor Denisov [Sun, 7 Jan 2018 20:38:18 +0000 (12:38 -0800)]
rbd: fix cli tests

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agorbd: drop consistency from Info
Victor Denisov [Thu, 4 Jan 2018 02:36:08 +0000 (18:36 -0800)]
rbd: drop consistency from Info

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agorbd: produce state string instead of integer
Victor Denisov [Wed, 3 Jan 2018 03:14:01 +0000 (19:14 -0800)]
rbd: produce state string instead of integer

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agorbd: Add snap rm alias
Victor Denisov [Tue, 2 Jan 2018 04:27:15 +0000 (20:27 -0800)]
rbd: Add snap rm alias

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agorbd: Change message format
Victor Denisov [Tue, 2 Jan 2018 04:24:16 +0000 (20:24 -0800)]
rbd: Change message format

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agorbd: Inline options function
Victor Denisov [Tue, 2 Jan 2018 04:19:31 +0000 (20:19 -0800)]
rbd: Inline options function

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agorbd: Drop consistency from tools
Victor Denisov [Sat, 30 Dec 2017 18:42:53 +0000 (10:42 -0800)]
rbd: Drop consistency from tools

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agorbd: Fix section name
Victor Denisov [Sat, 30 Dec 2017 16:15:10 +0000 (08:15 -0800)]
rbd: Fix section name

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agotest/pybind: drop consistency from test name
Victor Denisov [Sat, 30 Dec 2017 15:54:36 +0000 (07:54 -0800)]
test/pybind: drop consistency from test name

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agorbd: Drop consistency from help
Victor Denisov [Sat, 30 Dec 2017 15:35:35 +0000 (07:35 -0800)]
rbd: Drop consistency from help

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agolibrbd: Drop consistency from pybind
Victor Denisov [Sat, 30 Dec 2017 15:34:18 +0000 (07:34 -0800)]
librbd: Drop consistency from pybind

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agolibrbd: Fix indentation
Victor Denisov [Sat, 30 Dec 2017 15:16:51 +0000 (07:16 -0800)]
librbd: Fix indentation

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agolibrbd: use RBD_GROUP_INVALID_POOL
Victor Denisov [Sat, 30 Dec 2017 04:20:19 +0000 (20:20 -0800)]
librbd: use RBD_GROUP_INVALID_POOL

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agolibrbd: Drop word consistency in librbd
Victor Denisov [Sat, 30 Dec 2017 04:06:12 +0000 (20:06 -0800)]
librbd: Drop word consistency in librbd

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agolibrbd: remove get_snap_id_from_namespace
Victor Denisov [Tue, 19 Dec 2017 04:25:48 +0000 (20:25 -0800)]
librbd: remove get_snap_id_from_namespace

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agolibrbd: fixup Move function declaration
Victor Denisov [Mon, 18 Dec 2017 01:12:10 +0000 (17:12 -0800)]
librbd: fixup Move function declaration

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agolibrbd: rename group state to 'incomplete'
Victor Denisov [Mon, 18 Dec 2017 01:05:07 +0000 (17:05 -0800)]
librbd: rename group state to 'incomplete'

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agocls_rbd: initialize group state
Victor Denisov [Mon, 18 Dec 2017 00:15:07 +0000 (16:15 -0800)]
cls_rbd: initialize group state

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agocls_rbd: Remove h_group_create
Victor Denisov [Tue, 12 Dec 2017 02:50:26 +0000 (18:50 -0800)]
cls_rbd: Remove h_group_create

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agocls_rbd: Address comments
Victor Denisov [Tue, 12 Dec 2017 02:27:21 +0000 (18:27 -0800)]
cls_rbd: Address comments

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agoqa/workunits/rbd: Add tests for consistency groups
Victor Denisov [Sun, 2 Apr 2017 22:03:48 +0000 (15:03 -0700)]
qa/workunits/rbd: Add tests for consistency groups

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agorbd: Add group snapshot command
Victor Denisov [Thu, 29 Sep 2016 03:07:45 +0000 (20:07 -0700)]
rbd: Add group snapshot command

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agolibrbd: Add group snapshot operations
Victor Denisov [Tue, 27 Sep 2016 03:18:55 +0000 (20:18 -0700)]
librbd: Add group snapshot operations

Signed-off-by: Victor Denisov <denisovenator@gmail.com>