]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agoosd/PrimaryLogPG: do on_shutdown on removal 19433/head
Sage Weil [Fri, 12 Jan 2018 19:26:16 +0000 (13:26 -0600)]
osd/PrimaryLogPG: do on_shutdown on removal

This cleans up our reservations and misc other state in OSDService that
needs to be cleaned up.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd: track deleted pools' pg_nums for calculating split
Sage Weil [Tue, 9 Jan 2018 21:18:58 +0000 (15:18 -0600)]
osd: track deleted pools' pg_nums for calculating split

This is needed to determine (quickly) whether PGs have split.  Calling
get_pg_num() on the latest map does not work when the pool has been
deleted from that map.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd: record final pg_pool_t when a pool is deleted
Sage Weil [Tue, 9 Jan 2018 21:05:25 +0000 (15:05 -0600)]
osd: record final pg_pool_t when a pool is deleted

Also, prevent OSD start if we have a PG whose pool is deleted and no
stored pool info.  (User should downgrade, let PG deletion complete, then
upgrade.)

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd/PG: simplify snapmapper init
Sage Weil [Tue, 9 Jan 2018 20:39:23 +0000 (14:39 -0600)]
osd/PG: simplify snapmapper init

Use PGPool info; don't look at map (pool may have been deleted).

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd/PG: drop PGPool auid member
Sage Weil [Tue, 9 Jan 2018 19:56:36 +0000 (13:56 -0600)]
osd/PG: drop PGPool auid member

It's at info.auid.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd: tolerate startup for pg with no pool in osdmap
Sage Weil [Thu, 4 Jan 2018 17:06:19 +0000 (11:06 -0600)]
osd: tolerate startup for pg with no pool in osdmap

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd/PG: clear requeued peering events
Sage Weil [Tue, 2 Jan 2018 21:25:01 +0000 (15:25 -0600)]
osd/PG: clear requeued peering events

Broken by fffcc8a50e684c9b67643ec002869a8b7024b01c

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 3f07137f5f6b0448271be273db7b375ab1844d38)

7 years agoosd/PG: use local_reserver to schedule delete
Sage Weil [Tue, 19 Dec 2017 17:48:26 +0000 (11:48 -0600)]
osd/PG: use local_reserver to schedule delete

Use the reserver so that delete competes for the same slot(s) as recovery
and such.

Priority below recovery normally, unless the OSD is getting fullish, in
which case we set a very high priority.  We have to be careful here because
backfill will back off when the OSD gets full(ish) but log recovery does
not.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd: identify splits even if pool is eventually deleted
Sage Weil [Thu, 14 Dec 2017 21:09:04 +0000 (15:09 -0600)]
osd: identify splits even if pool is eventually deleted

Previously we wouldn't bother splitting if the pool was going away; now
we walk the pg forward and will process the split even if the pool is
later deleted.  Adjust the loop to terminate gracefully if that happens.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd: clean up pending splits when removing a pg
Sage Weil [Thu, 14 Dec 2017 02:15:17 +0000 (20:15 -0600)]
osd: clean up pending splits when removing a pg

Say we get an osdmap indicating a pg will split, but the pg is deleting and
finishes its delete before the pg consumes that map.  We need to clean up
the pending split state.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd: always call complete_split()
Sage Weil [Wed, 13 Dec 2017 00:50:50 +0000 (18:50 -0600)]
osd: always call complete_split()

We need to complete the split regardless of whether the pg will get
removed after.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd: do not clean up split state on deleted pools
Sage Weil [Wed, 13 Dec 2017 00:49:38 +0000 (18:49 -0600)]
osd: do not clean up split state on deleted pools

We want the PGs to get created and then process the newer osdmap(s) to
delete themselves.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd/PG: start delete after initial delete start info is applied
Sage Weil [Wed, 13 Dec 2017 00:35:55 +0000 (18:35 -0600)]
osd/PG: start delete after initial delete start info is applied

This allows us to eliminate the flush in _delete_some().

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd/PG: wait for commit *and* readable before deleting more of PG
Sage Weil [Tue, 12 Dec 2017 22:38:14 +0000 (16:38 -0600)]
osd/PG: wait for commit *and* readable before deleting more of PG

For filestore, waiting for onreadable ensures that (1) the backend has done
(all) of the deletion work (we are throttled) and (2) that the flush() will
not block.  So, all good.

For bluestore, onreadable happens at queue time, so the flush() was needed
to throttle progress.  However, we don't want to block the op thread on
flush.  And waiting for commit isn't sufficient because that would not
capture the filestore apply work.

Fix by waiting for both commit and readable before doing more deletion
work.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd: document split tracking structures a bit
Sage Weil [Tue, 12 Dec 2017 22:22:16 +0000 (16:22 -0600)]
osd: document split tracking structures a bit

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd: drop advance_pg() split_pgs arg
Sage Weil [Tue, 12 Dec 2017 22:20:44 +0000 (16:20 -0600)]
osd: drop advance_pg() split_pgs arg

We can do the same work inside the function and simplify the code.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd/PG: do not publish_stats_to_osd in state exit() methods
Sage Weil [Tue, 12 Dec 2017 19:32:52 +0000 (13:32 -0600)]
osd/PG: do not publish_stats_to_osd in state exit() methods

exit() can happen due to AdvMap and a peering interval change, but it
runs before we have updated any of our internal state about whether we
are the primary, whether our pool is deleted and the pg no longer exists,
and so on.  The publish depends on (1) being primary, and (2) will crash
if the pool is gone from the OSDMap.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd/PG: drop dup call to publish_stats_to_osd in Active AdvMap handler
Sage Weil [Tue, 12 Dec 2017 19:26:28 +0000 (13:26 -0600)]
osd/PG: drop dup call to publish_stats_to_osd in Active AdvMap handler

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd: queue peering events directly, without pg lookup
Sage Weil [Tue, 12 Dec 2017 15:29:15 +0000 (09:29 -0600)]
osd: queue peering events directly, without pg lookup

We do not need to look up the PG in order to queue a peering event now
that the queue is based on spg_t and handles the validity checks (based on
the epoch) for us.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd/PG: carry pg ref for final pg delete txn
Sage Weil [Tue, 12 Dec 2017 15:24:23 +0000 (09:24 -0600)]
osd/PG: carry pg ref for final pg delete txn

FileStore breaks of the Sequencer is destroyed while the txn is in flight.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd: enqueue peering evt with pgid, not PG*
Sage Weil [Tue, 12 Dec 2017 15:23:54 +0000 (09:23 -0600)]
osd: enqueue peering evt with pgid, not PG*

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd: remove old pg removal infrastructure
Sage Weil [Mon, 11 Dec 2017 15:10:59 +0000 (09:10 -0600)]
osd: remove old pg removal infrastructure

Another queue bites the dust! \o/

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd: leave PG registered (and stray) during delete; reimplement pg deletion
Sage Weil [Sat, 9 Dec 2017 20:42:10 +0000 (14:42 -0600)]
osd: leave PG registered (and stray) during delete; reimplement pg deletion

A lot of awkward complexity is implemented in OSD to handle PGs that aren't in
pg_map and are in the process of being deleted.  This is hard because if the
PG is recreated (or split, or whatever) then we need to stop the deletion and
create a fresh PG referencing the same data.

Instead, leave deleting PGs registered and Stray, with a new peering state
Stray/Deleting.  Let them continue to process OSDMaps, splits, peering intervals,
and so on.  If they are not fully deleted, they'll go back to Reset -> Stray and
so on and the new primary will get the notify and decide what to do with them
(usually instruct them to delete again).

This (1) streamlines and cleans up the code structure, and also (2) gets rid of
the special purpose RemoveWQ and moves the delete work into the main op_wq
where it can get throttled and so on.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd/PG: tolerate missing pool
Sage Weil [Sat, 9 Dec 2017 21:26:48 +0000 (15:26 -0600)]
osd/PG: tolerate missing pool

These assertions will soon no longer be valid.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd/osd_types: tolerate pool deletion
Sage Weil [Sat, 9 Dec 2017 21:22:24 +0000 (15:22 -0600)]
osd/osd_types: tolerate pool deletion

- the epoch the pool is deleted is an interval change
- no changes are possible after that

Also, use a pg_pool_t pointer to avoid the repeat lookups.

Signed-off-by: Sage Weil <sage@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>
7 years agocls_rbd: Add group snapshot operations to cls_rbd
Victor Denisov [Wed, 28 Sep 2016 01:01:00 +0000 (18:01 -0700)]
cls_rbd: Add group snapshot operations to cls_rbd

Signed-off-by: Victor Denisov <denisovenator@gmail.com>
7 years agoMerge pull request #19919 from wjwithagen/wip-wjw-rbd-ggate-fix
Mykola Golub [Thu, 11 Jan 2018 15:09:52 +0000 (17:09 +0200)]
Merge pull request #19919 from wjwithagen/wip-wjw-rbd-ggate-fix

rbd-ggate: fix syntax error.

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #19917 from yaozongyou/rgw-remove-unused-cls-user-add-bucket
Sage Weil [Thu, 11 Jan 2018 14:56:52 +0000 (08:56 -0600)]
Merge pull request #19917 from yaozongyou/rgw-remove-unused-cls-user-add-bucket

rgw: remove unused cls_user_add_bucket

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19699 from qrGitHub/wip-rgw-useless-line
Casey Bodley [Thu, 11 Jan 2018 14:32:33 +0000 (09:32 -0500)]
Merge pull request #19699 from qrGitHub/wip-rgw-useless-line

rgw: remove useless lines in RGWDeleteBucket::execute

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
7 years agoMerge pull request #19632 from Rubab-Syed/outreachy_mgr_dashboard
John Spray [Thu, 11 Jan 2018 14:27:18 +0000 (14:27 +0000)]
Merge pull request #19632 from Rubab-Syed/outreachy_mgr_dashboard

mgr/dashboard: Add monitor list

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19898 from tchaikov/wip-cmake-build-with-clang
Kefu Chai [Thu, 11 Jan 2018 12:48:25 +0000 (20:48 +0800)]
Merge pull request #19898 from tchaikov/wip-cmake-build-with-clang

cmake: BuildBoost.cmake: use specified compiler for building boost

Reviewed-By: Casey Bodley <cbodley@redhat.com>
7 years agorgw: drop dump_uri_from_state() which isn't used anymore. 19924/head
Radoslaw Zarzynski [Thu, 11 Jan 2018 12:16:31 +0000 (13:16 +0100)]
rgw: drop dump_uri_from_state() which isn't used anymore.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 years agorbd-ggate: fix syntax error. 19919/head
Willem Jan Withagen [Thu, 11 Jan 2018 08:29:09 +0000 (09:29 +0100)]
rbd-ggate: fix syntax error.

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
7 years agorgw: remove unused cls_user_add_bucket 19917/head
Yao Zongyou [Thu, 11 Jan 2018 07:15:09 +0000 (15:15 +0800)]
rgw: remove unused cls_user_add_bucket

the function
`int cls_user_add_bucket(rgw_raw_obj& obj, list<cls_user_bucket_entry>& entries);`
is unsed and not implemented, so remove it.

Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
7 years agoMerge pull request #19879 from jcsp/wip-doc-dashboard-standby
Kefu Chai [Thu, 11 Jan 2018 06:27:19 +0000 (14:27 +0800)]
Merge pull request #19879 from jcsp/wip-doc-dashboard-standby

doc: update mgr/dashboard doc about standbys

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19642 from xiexingguo/wip-pending-new-state
Kefu Chai [Thu, 11 Jan 2018 02:19:13 +0000 (10:19 +0800)]
Merge pull request #19642 from xiexingguo/wip-pending-new-state

osd/OSDMap.h: toss osd out if it has no more pending states

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19901 from vico-research-and-consulting/master
Sage Weil [Wed, 10 Jan 2018 21:38:19 +0000 (15:38 -0600)]
Merge pull request #19901 from vico-research-and-consulting/master

mgr/zabbix: monitoring template improvements

Reviewed-by: Wido den Hollander <wido@widodh.nl>
7 years agoMerge pull request #18833 from yuyuyu101/wip-async-perf
Sage Weil [Wed, 10 Jan 2018 21:37:41 +0000 (15:37 -0600)]
Merge pull request #18833 from yuyuyu101/wip-async-perf

msg/async/AsyncConnection: combine multi alloc into one

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18906 from ovh/bp-buffer-crc-improvements
Yuri Weinstein [Wed, 10 Jan 2018 21:24:24 +0000 (13:24 -0800)]
Merge pull request #18906 from ovh/bp-buffer-crc-improvements

common/buffer: switch crc cache to single pair instead of map

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19547 from tchaikov/wip-22344
Yuri Weinstein [Wed, 10 Jan 2018 21:23:28 +0000 (13:23 -0800)]
Merge pull request #19547 from tchaikov/wip-22344

ceph.in: print all matched commands if arg missing

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge pull request #19832 from shinobu-x/min_max_filestore
Yuri Weinstein [Wed, 10 Jan 2018 21:22:40 +0000 (13:22 -0800)]
Merge pull request #19832 from shinobu-x/min_max_filestore

os: FileStore, Using stl min | max, MIN | MAX macros instead

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19874 from myoungwon/wip-fix-22641
Yuri Weinstein [Wed, 10 Jan 2018 21:22:09 +0000 (13:22 -0800)]
Merge pull request #19874 from myoungwon/wip-fix-22641

osd: fix a valgrind issue (conditional jump depends on uninitialized value)

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agomgr/zabbix: monitoring template improvements 19901/head
Marc Schoechlin [Wed, 10 Jan 2018 20:39:32 +0000 (21:39 +0100)]
mgr/zabbix: monitoring template improvements

The changes need some review because i am currently not able to test this in a environment.
- added a host screen which displays all graphs in a convenient way
- replaced AVG by MAX Function in Graphs where maximum values are of
  high interest from operational view
- changed graph type to stacked where combined behavior is of interest
  (i.e. bandwidth and storage consumption)

Signed-off-by: Marc Schoechlin <ms@256bit.org>
7 years agoinclude: Remove fallback usings from encoding.h 19648/head
Adam C. Emerson [Tue, 26 Dec 2017 23:21:15 +0000 (18:21 -0500)]
include: Remove fallback usings from encoding.h

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agotest: Use unqualified encode/decode
Adam C. Emerson [Tue, 26 Dec 2017 22:47:58 +0000 (17:47 -0500)]
test: Use unqualified encode/decode

This is a portion of Part 1 of the namespace project: using ADL
properly in encode and decode so we can use namespaces easily in Ceph.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agotools: Use unqualified encode/decode
Adam C. Emerson [Tue, 26 Dec 2017 21:44:14 +0000 (16:44 -0500)]
tools: Use unqualified encode/decode

This is a portion of Part 1 of the namespace project: using ADL
properly in encode and decode so we can use namespaces easily in Ceph.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agorgw: Use unqualified encode/decode
Adam C. Emerson [Tue, 26 Dec 2017 21:19:08 +0000 (16:19 -0500)]
rgw: Use unqualified encode/decode

This is a portion of Part 1 of the namespace project: using ADL
properly in encode and decode so we can use namespaces easily in Ceph.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agorbd_replay: Use unqualified encode/decode
Adam C. Emerson [Tue, 26 Dec 2017 19:45:48 +0000 (14:45 -0500)]
rbd_replay: Use unqualified encode/decode

This is a portion of Part 1 of the namespace project: using ADL
properly in encode and decode so we can use namespaces easily in Ceph.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agoosdc: Use unqualified encode/decode
Adam C. Emerson [Tue, 26 Dec 2017 08:39:34 +0000 (03:39 -0500)]
osdc: Use unqualified encode/decode

This is a portion of Part 1 of the namespace project: using ADL
properly in encode and decode so we can use namespaces easily in Ceph.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agoosd: Use unqualified encode/decode
Adam C. Emerson [Tue, 26 Dec 2017 08:29:25 +0000 (03:29 -0500)]
osd: Use unqualified encode/decode

This is a portion of Part 1 of the namespace project: using ADL
properly in encode and decode so we can use namespaces easily in Ceph.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agoos: Use unqualified encode/decode
Adam C. Emerson [Tue, 26 Dec 2017 07:41:28 +0000 (02:41 -0500)]
os: Use unqualified encode/decode

This is a portion of Part 1 of the namespace project: using ADL
properly in encode and decode so we can use namespaces easily in Ceph.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agoobjclass: Use unqualified encode/decode
Adam C. Emerson [Tue, 26 Dec 2017 06:51:12 +0000 (01:51 -0500)]
objclass: Use unqualified encode/decode

This is a portion of Part 1 of the namespace project: using ADL
properly in encode and decode so we can use namespaces easily in Ceph.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agomsg: Use unqualified encode/decode
Adam C. Emerson [Tue, 26 Dec 2017 06:45:26 +0000 (01:45 -0500)]
msg: Use unqualified encode/decode

This is a portion of Part 1 of the namespace project: using ADL
properly in encode and decode so we can use namespaces easily in Ceph.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agomon: Use unqualified encode/decode
Adam C. Emerson [Mon, 25 Dec 2017 09:24:19 +0000 (04:24 -0500)]
mon: Use unqualified encode/decode

This is a portion of Part 1 of the namespace project: using ADL
properly in encode and decode so we can use namespaces easily in Ceph.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>