Commit Graph

82169 Commits

Author SHA1 Message Date
Victor Denisov
838cae45af rbd: Add group snapshot rename commands
Signed-off-by: Victor Denisov <denisovenator@gmail.com>
2018-01-13 14:00:31 -05:00
Victor Denisov
c4f2eb4adb librbd: Add group snap rename method
Signed-off-by: Victor Denisov <denisovenator@gmail.com>
2018-01-13 14:00:30 -05:00
Mykola Golub
79fbe60d5e
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>
2018-01-13 04:13:49 +02:00
Yuri Weinstein
a7b97806fc
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>
2018-01-12 14:47:30 -08:00
Yuri Weinstein
2b99d31d5e
Merge pull request #19910 from jdurgin/wip-21897
config: lower default omap entries recovered at once

Reviewed-by: Sage Weil <sage@redhat.com>
2018-01-12 14:46:26 -08:00
Patrick Donnelly
1f530c0fa8
Merge PR #19894 into master
* refs/pull/19894/head:
	cmake: link against ceph-common instead of common

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-01-12 14:37:39 -08:00
Patrick Donnelly
653bfcc567
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>
2018-01-12 14:37:32 -08:00
Patrick Donnelly
e592c0210f
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>
2018-01-12 14:37:25 -08:00
Mykola Golub
443a7f5f7c
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>
2018-01-12 21:31:54 +02:00
Casey Bodley
1fcc8e9b09
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>
2018-01-12 13:17:48 -05:00
Jason Dillaman
619b0c0244 rbd: adjusted "lock list" JSON and XML formatted output
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-01-12 11:31:07 -05:00
Jason Dillaman
ffdb65374c librbd: operations should return -EROFS if disabled
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-01-12 10:46:33 -05:00
Jason Dillaman
fef89753d8 librbd: retrieve the op features on image refresh
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-01-12 08:14:34 -05:00
Jason Dillaman
209f6fc5a4 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>
2018-01-12 08:12:58 -05:00
Bingyin Zhang
c378fe6d48 rgw: drop redundant RGW_OP_STAT_OBJ check
Signed-off-by: Bingyin Zhang <zhangbingyin@cloudin.cn>
2018-01-12 14:26:30 +08:00
Brad Hubbard
774b3735f0 doc/man: Add '--block' option for ceph command
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2018-01-12 12:47:36 +10:00
Haomai Wang
03fe7d8cc8
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>
2018-01-12 10:38:30 +08:00
Jason Dillaman
4ffd5b7907 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>
2018-01-11 21:30:08 -05:00
Sage Weil
4da29a07cf 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
2018-01-11 16:14:44 -06:00
Sage Weil
c6d6676422
Merge pull request #19099 from ifed01/wip-ifed-faster-pglog
osd: eliminate ineffective container operations

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-11 15:50:52 -06:00
Sage Weil
c1ec2752ee
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>
2018-01-11 15:50:12 -06:00
Sage Weil
47c925a765
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>
2018-01-11 15:49:31 -06:00
Sage Weil
c4a7881876
Merge pull request #19881 from liewegas/wip-kill-crush-location
ceph-crush-location: remove

Reviewed-by: Wido den Hollander <wido@widodh.nl>
2018-01-11 15:48:29 -06:00
Jason Dillaman
ac3855e9cf Merge pull request #11544 from VictorDenisov/consistency_groups_snapshots
librbd: group snapshots

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-01-11 15:29:27 -05:00
Jason Dillaman
bbbfd27be9 rbd-mirror: fix valgrind false positive from new boost release
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-01-11 15:27:47 -05:00
Casey Bodley
ce8ed30925
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>
2018-01-11 12:05:31 -05:00
Jason Dillaman
0088640173 librbd: ensure enums are prefixed w/ RBD_ to avoid collisions
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-01-11 11:58:54 -05:00
Jason Dillaman
854b2bbffb librbd: fix false-positive compiler warning
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-01-11 10:52:26 -05:00
Jason Dillaman
072004ad06 test/pybind: corrected failures due to test execution ordering
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-01-11 10:38:23 -05:00
Jason Dillaman
edc3bd7388 librbd: group snapshots should be linked to image pool (not data pool)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-01-11 10:38:23 -05:00
Jason Dillaman
f61cc5741f rbd: restore snap list by image id functionality
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-01-11 10:38:23 -05:00
Jason Dillaman
725722bb5e cls/rbd: combined group_snap_add and group_snap_update
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-01-11 10:38:23 -05:00
Jason Dillaman
7f29a98db5 librbd: fix ImageCtx::get_snap_id method
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-01-11 10:38:23 -05:00
Jason Dillaman
8d68fa2a8e librbd: fixed memory leak and use-after-free in group snap API
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-01-11 10:38:23 -05:00
Jason Dillaman
31a382f1ec rbd: utilize '<name>@<snap>' format when creating/removing group snaps
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-01-11 10:38:23 -05:00
Jason Dillaman
75652b057d pybind/rbd: added snap_get_group_namespace API method
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-01-11 10:38:23 -05:00
Jason Dillaman
2f838104d8 librbd: added missing C API version for rbd_snap_get_group_namespace
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-01-11 10:38:23 -05:00
Jason Dillaman
d761985269 librbd: moved new snapshot API methods to separate class
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-01-11 10:38:23 -05:00
Jason Dillaman
2f3f6028d1 rbd: wrap object section around group snap list formatter
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-01-11 10:38:23 -05:00
Victor Denisov
18ea889807 rbd: translate pool id into name
Signed-off-by: Victor Denisov <denisovenator@gmail.com>
2018-01-11 10:38:23 -05:00
Victor Denisov
85f0348e3c rbd: translate group pool to name
Signed-off-by: Victor Denisov <denisovenator@gmail.com>
2018-01-11 10:38:23 -05:00
Victor Denisov
2d53795d29 rbd: fix cli tests
Signed-off-by: Victor Denisov <denisovenator@gmail.com>
2018-01-11 10:38:23 -05:00
Victor Denisov
586ae25816 rbd: drop consistency from Info
Signed-off-by: Victor Denisov <denisovenator@gmail.com>
2018-01-11 10:38:23 -05:00
Victor Denisov
746385952c rbd: produce state string instead of integer
Signed-off-by: Victor Denisov <denisovenator@gmail.com>
2018-01-11 10:38:23 -05:00
Victor Denisov
e9cf88710e rbd: Add snap rm alias
Signed-off-by: Victor Denisov <denisovenator@gmail.com>
2018-01-11 10:38:23 -05:00
Victor Denisov
e0a8815105 rbd: Change message format
Signed-off-by: Victor Denisov <denisovenator@gmail.com>
2018-01-11 10:38:23 -05:00
Victor Denisov
a4304a9c3c rbd: Inline options function
Signed-off-by: Victor Denisov <denisovenator@gmail.com>
2018-01-11 10:38:23 -05:00
Victor Denisov
a0cdcd8a7a rbd: Drop consistency from tools
Signed-off-by: Victor Denisov <denisovenator@gmail.com>
2018-01-11 10:38:23 -05:00
Victor Denisov
99b996a510 rbd: Fix section name
Signed-off-by: Victor Denisov <denisovenator@gmail.com>
2018-01-11 10:38:23 -05:00
Victor Denisov
06d496e2c8 test/pybind: drop consistency from test name
Signed-off-by: Victor Denisov <denisovenator@gmail.com>
2018-01-11 10:38:23 -05:00