]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agobuild/ops: rpm: make ceph-grafana-dashboards own its directories on SUSE 25347/head
Nathan Cutler [Fri, 30 Nov 2018 12:11:13 +0000 (13:11 +0100)]
build/ops: rpm: make ceph-grafana-dashboards own its directories on SUSE

This is only required to get the spec file to build in the OpenSUSE
Build Service (OBS). Also, this change could potentially make the
package impossible to install together with grafana (if the latter
owns the same directories with different ownership/permissions).
Therefore, make the change specific to SUSE.

Fixes: http://tracker.ceph.com/issues/37485
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Signed-off-by: Tim Serong <tserong@suse.com>
6 years agoMerge pull request #25415 from dillaman/wip-rbd-cli-integration
Mykola Golub [Fri, 7 Dec 2018 08:19:24 +0000 (10:19 +0200)]
Merge pull request #25415 from dillaman/wip-rbd-cli-integration

test/cli-integration/rbd: added new parent image attributes

Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #25234 from jan--f/prometheus-add-iface-objstore-metadata
Jan Fajerski [Fri, 7 Dec 2018 08:13:23 +0000 (09:13 +0100)]
Merge pull request #25234 from jan--f/prometheus-add-iface-objstore-metadata

mgr/prometheus: add interface and objectstore to osd metadata

6 years agoMerge pull request #19454 from ifed01/wip-ifed-pool-sizes
Kefu Chai [Fri, 7 Dec 2018 02:35:23 +0000 (10:35 +0800)]
Merge pull request #19454 from ifed01/wip-ifed-pool-sizes

osd: per-pool osd stats collection

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge PR #25243 into master
Sage Weil [Thu, 6 Dec 2018 23:22:57 +0000 (17:22 -0600)]
Merge PR #25243 into master

* refs/pull/25243/head:
osdc/Objecter: update op_target_t::paused in _calc_target

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #25399 into master
Sage Weil [Thu, 6 Dec 2018 23:22:23 +0000 (17:22 -0600)]
Merge PR #25399 into master

* refs/pull/25399/head:
osd: requeue waiting peering events from deleted slots in unprime_split_children

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoMerge pull request #25428 from trociny/wip-open-flags
Jason Dillaman [Thu, 6 Dec 2018 22:27:51 +0000 (17:27 -0500)]
Merge pull request #25428 from trociny/wip-open-flags

librbd: corrected usage of ImageState::open flag parameter

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #25430 from cbodley/wip-pr-22539
Matt Benjamin [Thu, 6 Dec 2018 21:41:57 +0000 (16:41 -0500)]
Merge pull request #25430 from cbodley/wip-pr-22539

rgw: rgwgc:process coredump in some special case

6 years agorgw: rgwgc:process coredump in some special case。 Gc processes obja, objb, objc in... 25430/head
sdnets [Wed, 13 Jun 2018 01:32:16 +0000 (09:32 +0800)]
rgw: rgwgc:process coredump in some special case。 Gc processes obja, objb, objc in order and pool of objb is deleted (obja and objc is in the same pool and pool exits). RGW will coredump as ctx->io_ctx_impl is an empty point during delete objc.
Fixes:http://tracker.ceph.com/issues/23199

Signed-off-by: zhaokun <develop@hikdata.com>
6 years agoMerge pull request #17789 from shashalu/fix-bucket-link-dm
Casey Bodley [Thu, 6 Dec 2018 20:31:58 +0000 (15:31 -0500)]
Merge pull request #17789 from shashalu/fix-bucket-link-dm

rgw: fix version bucket stats

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
6 years agoMerge pull request #21622 from tianshan/misc_es_fix
Casey Bodley [Thu, 6 Dec 2018 20:31:18 +0000 (15:31 -0500)]
Merge pull request #21622 from tianshan/misc_es_fix

rgw: some fix for es sync

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agoMerge pull request #24162 from zhangsw/cleanup-rgw-acl_op
Casey Bodley [Thu, 6 Dec 2018 20:30:26 +0000 (15:30 -0500)]
Merge pull request #24162 from zhangsw/cleanup-rgw-acl_op

rgw: remove repetitive conditional statement in RGWHandler_REST_Obj_S3

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #24683 from linuxbox2/wip-v2-url-meta
Casey Bodley [Thu, 6 Dec 2018 20:30:04 +0000 (15:30 -0500)]
Merge pull request #24683 from linuxbox2/wip-v2-url-meta

rgw: handle S3 version 2 pre-signed urls with meta-data

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #25142 from ivancich/wip-rgw-reshard-cleanup
Casey Bodley [Thu, 6 Dec 2018 20:29:38 +0000 (15:29 -0500)]
Merge pull request #25142 from ivancich/wip-rgw-reshard-cleanup

rgw: reshard clean-up and associated commits

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
6 years agoMerge pull request #25406 from taoCH/wip-librgw-sync-user-regularly
Casey Bodley [Thu, 6 Dec 2018 20:28:47 +0000 (15:28 -0500)]
Merge pull request #25406 from taoCH/wip-librgw-sync-user-regularly

rgw_file: user info never synced since librgw init

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
6 years agolibrbd: corrected usage of ImageState::open flag parameter 25428/head
Mykola Golub [Thu, 6 Dec 2018 19:34:56 +0000 (21:34 +0200)]
librbd: corrected usage of ImageState::open flag parameter

Signed-off-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #25423 from p-na/wip-pna-fix-pool-edit
Lenz Grimmer [Thu, 6 Dec 2018 16:16:21 +0000 (17:16 +0100)]
Merge pull request #25423 from p-na/wip-pna-fix-pool-edit

mgr/dashboard: Fix renaming of pools

Reviewed-by: Laura Paduano <lpaduano@suse.com>
6 years agomon/PGMap: Partially unify 'ceph pg stat' output with 'ceph df' 19454/head
Igor Fedotov [Thu, 29 Nov 2018 13:56:08 +0000 (16:56 +0300)]
mon/PGMap: Partially unify 'ceph pg stat' output with 'ceph df'

Global stats parameter (like 'available' or 'total') are dumped under the
same names now).

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
6 years agopybind/diskprediction: rename raw_bytes_used field reference.
Igor Fedotov [Thu, 29 Nov 2018 12:32:18 +0000 (15:32 +0300)]
pybind/diskprediction: rename raw_bytes_used field reference.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
6 years agopybind/mgr/telegraf: rename raw_bytes_used field reference.
Igor Fedotov [Thu, 29 Nov 2018 12:26:47 +0000 (15:26 +0300)]
pybind/mgr/telegraf: rename raw_bytes_used field reference.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
6 years agoqa/mgr: rename raw_bytes_used field reference.
Igor Fedotov [Thu, 29 Nov 2018 12:22:53 +0000 (15:22 +0300)]
qa/mgr: rename raw_bytes_used field reference.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
6 years agoosd: dump legacy (calculated for now) params in osd_stat_t::dump.
Igor Fedotov [Tue, 13 Nov 2018 17:27:20 +0000 (20:27 +0300)]
osd: dump legacy (calculated for now) params in osd_stat_t::dump.

This is to ensure backward compatibility with python modules that use
them.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
6 years agoPendingReleaseNotes: update according to statistics refactoring
Igor Fedotov [Mon, 22 Oct 2018 14:22:21 +0000 (17:22 +0300)]
PendingReleaseNotes: update according to statistics refactoring

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
6 years agomgr: rename ceph df stat columns for both influx and prometheus.
Igor Fedotov [Mon, 22 Oct 2018 11:46:55 +0000 (14:46 +0300)]
mgr: rename ceph df stat columns for both influx and prometheus.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
6 years agoqa: replace raw_bytes_used field access in QA test cases
Igor Fedotov [Fri, 19 Oct 2018 22:07:50 +0000 (01:07 +0300)]
qa: replace raw_bytes_used field access in QA test cases

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
6 years agomon: rearrange columns in ceph df output
Igor Fedotov [Wed, 12 Sep 2018 13:39:25 +0000 (16:39 +0300)]
mon: rearrange columns in ceph df output

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
6 years agoos/test: extend BluestoreStatFS test with pool_statfs verification.
Igor Fedotov [Tue, 13 Mar 2018 15:02:31 +0000 (18:02 +0300)]
os/test: extend BluestoreStatFS test with pool_statfs verification.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
6 years agoos/bluestore: add fsck/repair coverage for per-pool stats
Igor Fedotov [Mon, 12 Mar 2018 20:55:02 +0000 (23:55 +0300)]
os/bluestore: add fsck/repair coverage for per-pool stats

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
6 years agolibrados: fix a way rados approximate per-pool net amount.
Igor Fedotov [Wed, 7 Mar 2018 13:26:54 +0000 (16:26 +0300)]
librados: fix a way rados approximate per-pool net amount.
In fact that's just a workaround for now as we need proper raw_used_rate
present at librados.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
6 years agotest/mon/PGMap: fix the test case
Igor Fedotov [Wed, 7 Mar 2018 12:42:34 +0000 (15:42 +0300)]
test/mon/PGMap: fix the test case

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
6 years agoosd: remove assert on inconsistent total/available values from osd_stat_t encode
Igor Fedotov [Wed, 7 Mar 2018 11:26:09 +0000 (14:26 +0300)]
osd: remove assert on inconsistent total/available values from osd_stat_t encode

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
6 years agoosd,os,mon: extend 'ceph df' report to provide both USED and RAW_USED
Igor Fedotov [Tue, 6 Mar 2018 11:19:54 +0000 (14:19 +0300)]
osd,os,mon: extend 'ceph df' report to provide both USED and RAW_USED
totals where USED is space allocated for object keeping while RAW_USED
also includes space allocated/reserved for internal purposes, e.g.
DB/WAL or journal.

Signed-off-by: Igor Fedotv <ifedotov@suse.com>
6 years agoos/bluestore: add debug option to disable per pool statistics collection
Igor Fedotov [Mon, 5 Mar 2018 18:09:36 +0000 (21:09 +0300)]
os/bluestore: add debug option to disable per pool statistics collection

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
6 years agotest: add test coverage for rados df reports
Igor Fedotov [Mon, 5 Mar 2018 10:32:06 +0000 (13:32 +0300)]
test: add test coverage for rados df reports

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
6 years agomon/pgmap: make pool id type consistent for statistics operations
Igor Fedotov [Fri, 15 Dec 2017 22:42:51 +0000 (01:42 +0300)]
mon/pgmap: make pool id type consistent for statistics operations

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
6 years agorados,mon: improve ceph and rados df reports.
Igor Fedotov [Fri, 23 Feb 2018 10:03:54 +0000 (13:03 +0300)]
rados,mon: improve ceph and rados df reports.

Fixes: https://tracker.ceph.com/issues/22159
Fixes: https://tracker.ceph.com/issues/20870
This adds  more parameters to estimate allocation granularity overhead and compression
effectiveness. RAW_USED column has been removed. USED column reflects
amount of space allocated for a pool at all replicas. Including
allocaction granularity overhead and taking ompression savings and
object content gaps into account.

Following columns were appended:
* STORED - approximation of bytes users've actually stored in a
pool, i.e netto data amount without compression, allocation and
other overheads (not applicable for 'rados df').
* USED COMPR - amount of bytes allocated to store compressed data, i.e.
compressed data plus allocation/replication overhead.
* UNDER COMPR - amount of data(icluding repicated one) passed through
compression and stored in that form.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
6 years agoosd,mon: start using per-pool statistics reported from OSD.
Igor Fedotov [Mon, 11 Dec 2017 19:12:50 +0000 (22:12 +0300)]
osd,mon: start using per-pool statistics reported from OSD.

Notable changes:
* pool statistics collection has been changed to track actual allocated
  store space instead of previous object logical sizes summation.
* 'ceph/rados df' report total space(over all replicas) allocated for a pool under "USED" column.
* "RAW USED" column removed from 'ceph df detail' report

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
6 years agoos: extend ObjectStore interface with per-pool statistics access method
Igor Fedotov [Wed, 6 Dec 2017 17:01:41 +0000 (20:01 +0300)]
os: extend ObjectStore interface with per-pool statistics access method

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
6 years agoos/bluestore: add per-pool statistics collection
Igor Fedotov [Wed, 6 Dec 2017 15:09:06 +0000 (18:09 +0300)]
os/bluestore: add per-pool statistics collection

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
6 years agoMerge pull request #25208 from cbodley/wip-rgw-getobj-throttle
Matt Benjamin [Thu, 6 Dec 2018 15:46:03 +0000 (10:46 -0500)]
Merge pull request #25208 from cbodley/wip-rgw-getobj-throttle

rgw: adapt AioThrottle for RGWGetObj
yay!

6 years agoMerge PR #25345 into master
Sage Weil [Thu, 6 Dec 2018 14:42:04 +0000 (08:42 -0600)]
Merge PR #25345 into master

* refs/pull/25345/head:
qa/suites: fix bluestore links
qa/objectstore: bluestore -> bluestore-{bitmap,stupid}

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
6 years agoMerge PR #25378 into master
Sage Weil [Thu, 6 Dec 2018 14:41:44 +0000 (08:41 -0600)]
Merge PR #25378 into master

* refs/pull/25378/head:
mgr/hello: add serve() method

Reviewed-by: Sebastian Wagner <swagner@suse.com>
6 years agoMerge PR #25382 into master
Sage Weil [Thu, 6 Dec 2018 14:41:27 +0000 (08:41 -0600)]
Merge PR #25382 into master

* refs/pull/25382/head:
mon/OSDMonitor: include host, container info for 'osd find' command

Reviewed-by: Dan Mick <dmick@redhat.com>
6 years agoMerge pull request #25301 from wjwithagen/wjw-fix-dtor-pair
Jason Dillaman [Thu, 6 Dec 2018 13:27:33 +0000 (08:27 -0500)]
Merge pull request #25301 from wjwithagen/wjw-fix-dtor-pair

rbd: workaround for llvm linker problem, avoid std:pair dtor

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #25265 from trociny/wip-rbd-fuse-namespace
Jason Dillaman [Thu, 6 Dec 2018 13:26:55 +0000 (08:26 -0500)]
Merge pull request #25265 from trociny/wip-rbd-fuse-namespace

rbd-fuse: namespace support

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #24968 from s0nea/wip-dashboard-osd-recv-speed-profiles
Volker Theile [Thu, 6 Dec 2018 12:00:30 +0000 (13:00 +0100)]
Merge pull request #24968 from s0nea/wip-dashboard-osd-recv-speed-profiles

mgr/dashboard: add profiles to set cluster's rebuild performance

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Sebastian Krah <skrah@suse.com>
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
6 years agomgr/dashboard: Fix renaming of pools 25423/head
Patrick Nawracay [Thu, 6 Dec 2018 11:59:20 +0000 (12:59 +0100)]
mgr/dashboard: Fix renaming of pools

The validation fails to allow dots in pool names and as such, it wasn't
allowed to create or rename pools with dots in their names.

Fixes: https://tracker.ceph.com/issues/37534
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
6 years agoMerge pull request #25409 from tchaikov/wip-public-iterator-traits
Kefu Chai [Thu, 6 Dec 2018 05:49:17 +0000 (13:49 +0800)]
Merge pull request #25409 from tchaikov/wip-public-iterator-traits

buffer: mark the iterator traits "public"

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
6 years agoMerge pull request #25266 from trociny/wip-24608
Jason Dillaman [Thu, 6 Dec 2018 01:25:54 +0000 (20:25 -0500)]
Merge pull request #25266 from trociny/wip-24608

rbd-ggate: support namespaces

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agobuffer: mark the iterator traits "public" 25409/head
Kefu Chai [Wed, 5 Dec 2018 12:56:53 +0000 (20:56 +0800)]
buffer: mark the iterator traits "public"

the iterator traits should be accessible from non-dervative classes.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #25230 from runsisi/wip-cleanup-objecter
Gregory Farnum [Wed, 5 Dec 2018 23:37:53 +0000 (15:37 -0800)]
Merge pull request #25230 from runsisi/wip-cleanup-objecter

osdc/Objecter: no need null pointer check for op->session anymore

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
6 years agoMerge PR #23550 into master
Sage Weil [Wed, 5 Dec 2018 19:42:17 +0000 (13:42 -0600)]
Merge PR #23550 into master

* refs/pull/23550/head:
auth: Kerberos authentication

6 years agotest/cli-integration/rbd: added new parent image attributes 25415/head
Jason Dillaman [Wed, 5 Dec 2018 19:12:48 +0000 (14:12 -0500)]
test/cli-integration/rbd: added new parent image attributes

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #25166 from kungf/journal_remove_full
Jason Dillaman [Wed, 5 Dec 2018 18:25:31 +0000 (13:25 -0500)]
Merge pull request #25166 from kungf/journal_remove_full

journal: allow remove set when jounal pool is full

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #25175 from trociny/wip-36710
Jason Dillaman [Wed, 5 Dec 2018 18:24:55 +0000 (13:24 -0500)]
Merge pull request #25175 from trociny/wip-36710

librbd: restart io if migration parent gone

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #25260 from trociny/wip-24609
Jason Dillaman [Wed, 5 Dec 2018 18:24:36 +0000 (13:24 -0500)]
Merge pull request #25260 from trociny/wip-24609

rbd-nbd: support namespaces

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #25371 from trociny/wip-osd-query-subkey-types
Jason Dillaman [Wed, 5 Dec 2018 18:24:23 +0000 (13:24 -0500)]
Merge pull request #25371 from trociny/wip-osd-query-subkey-types

 osd: support more dynamic perf query subkey types

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #25151 from trociny/wip-osd-perf-query-limit
Jason Dillaman [Wed, 5 Dec 2018 18:24:10 +0000 (13:24 -0500)]
Merge pull request #25151 from trociny/wip-osd-perf-query-limit

mgr: add limit param to osd perf query

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #25379 from tchaikov/wip-37508
Jason Dillaman [Wed, 5 Dec 2018 18:23:33 +0000 (13:23 -0500)]
Merge pull request #25379 from tchaikov/wip-37508

librbd: reset snaps in rbd_snap_list()

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoqa/suites: fix bluestore links 25345/head
Sage Weil [Wed, 5 Dec 2018 16:27:53 +0000 (10:27 -0600)]
qa/suites: fix bluestore links

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #24882 from rzarzynski/wip-bl-hypercombined
Kefu Chai [Wed, 5 Dec 2018 16:16:55 +0000 (00:16 +0800)]
Merge pull request #24882 from rzarzynski/wip-bl-hypercombined

common: hypercombined bufferlist

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Adam Emerson <aemerson@redhat.com>
6 years agorgw: store ref to librados::IoCtx in rgw::AioResult 25208/head
Casey Bodley [Mon, 3 Dec 2018 21:50:27 +0000 (16:50 -0500)]
rgw: store ref to librados::IoCtx in rgw::AioResult

the IoCtx has to outlive its aio completions

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agorgw: add const overload of RGWSI_RADOS::Obj::get_ref()
Casey Bodley [Mon, 3 Dec 2018 21:49:25 +0000 (16:49 -0500)]
rgw: add const overload of RGWSI_RADOS::Obj::get_ref()

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agorgw: rgw_rados_ref contains rgw_raw_obj
Casey Bodley [Mon, 3 Dec 2018 21:32:08 +0000 (16:32 -0500)]
rgw: rgw_rados_ref contains rgw_raw_obj

rgw_rados_ref duplicated each of the fields from rgw_raw_obj

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agorgw: use AioThrottle for Object::Read::iterate() ops
Casey Bodley [Wed, 21 Nov 2018 20:17:06 +0000 (15:17 -0500)]
rgw: use AioThrottle for Object::Read::iterate() ops

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agorgw: clean up iterate_obj() callbacks
Casey Bodley [Wed, 21 Nov 2018 18:09:12 +0000 (13:09 -0500)]
rgw: clean up iterate_obj() callbacks

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agorgw: add append_atomic_test() overload for RGWObjState
Casey Bodley [Wed, 21 Nov 2018 18:08:38 +0000 (13:08 -0500)]
rgw: add append_atomic_test() overload for RGWObjState

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agorgw: add id to distinguish between Aio results
Casey Bodley [Sat, 17 Nov 2018 04:59:56 +0000 (23:59 -0500)]
rgw: add id to distinguish between Aio results

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agorgw: Aio reads return bufferlist in result
Casey Bodley [Sat, 17 Nov 2018 04:57:45 +0000 (23:57 -0500)]
rgw: Aio reads return bufferlist in result

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agorgw: move aio throttles to namespace rgw
Casey Bodley [Sat, 17 Nov 2018 16:38:02 +0000 (11:38 -0500)]
rgw: move aio throttles to namespace rgw

they're useful outside of putobj

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #25365 from xiexingguo/wip-37493
Kefu Chai [Wed, 5 Dec 2018 16:13:28 +0000 (00:13 +0800)]
Merge pull request #25365 from xiexingguo/wip-37493

osd/OSDMap: fix upmap mis-killing for erasure-coded PGs

6 years agoMerge pull request #25262 from aclamk/wip-kvstore-tool-dump
Kefu Chai [Wed, 5 Dec 2018 16:13:00 +0000 (00:13 +0800)]
Merge pull request #25262 from aclamk/wip-kvstore-tool-dump

ceph-kvstore-tool: dump fixes

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #25383 from dmick/wip-container-name
Kefu Chai [Wed, 5 Dec 2018 16:02:49 +0000 (00:02 +0800)]
Merge pull request #25383 from dmick/wip-container-name

common/util.cc: add CONTAINER_NAME processing for metadata

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #25400 from dillaman/wip-ceph-cli
Kefu Chai [Wed, 5 Dec 2018 16:01:43 +0000 (00:01 +0800)]
Merge pull request #25400 from dillaman/wip-ceph-cli

ceph: do not raise StopIteration within generator

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agorbd: workaround for llvm linker proplem, avoid std:pair dtor 25301/head
Willem Jan Withagen [Wed, 28 Nov 2018 12:27:13 +0000 (13:27 +0100)]
rbd: workaround for llvm linker proplem, avoid std:pair dtor

When linking with llvm linker on FreeBSD:
```
/usr/bin/ld.lld: error: undefined symbol: std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, bool>::~pair()
>>> referenced by Image.cc:349 (/home/jenkins/workspace/ceph-master/src/librbd/api/Image.cc:349)
>>>               Image.cc.o:(librbd::api::Image<librbd::ImageCtx>::list_children(librbd::ImageCtx*, cls::rbd::ParentImageSpec const&, std::__1::vector<librbd::linked_image_spec_t, std::__1::allocator<librbd::linked_image_spec_t> >*)) in archive ../../../lib/librbd_internal.a
```

Which is probably because the compiler calls a dtor on the just created pair.
But the FreeBSD linker does not find a dtor in the any of the libraries.
This rewrite build and links without the linker error.

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
6 years agomgr/dashboard: show config option description via cd-helper 24968/head
Tatjana Dehler [Wed, 28 Nov 2018 11:31:16 +0000 (12:31 +0100)]
mgr/dashboard: show config option description via cd-helper

Fixes: https://tracker.ceph.com/issues/37406
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
6 years agomgr/dashboard: add OSD recovery speed form
Tatjana Dehler [Thu, 18 Oct 2018 12:57:39 +0000 (14:57 +0200)]
mgr/dashboard: add OSD recovery speed form

Add a form to set the OSD recovery speed. There are three predefined
priorities available: 'Low', 'Default' and 'High'.
By setting the priority the config options 'osd_max_backfills',
'osd_recovery_max_active', 'osd_recovery_max_single_start',
'osd_recovery_sleep' will be updated with predefined values.
It's also possible to set custom values.

Fixes: https://tracker.ceph.com/issues/35540
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
6 years agoMerge pull request #25392 from majianpeng/async-rdma
Kefu Chai [Wed, 5 Dec 2018 10:47:53 +0000 (18:47 +0800)]
Merge pull request #25392 from majianpeng/async-rdma

msg/async/rdma: Delete duplicate header file

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agorgw_file: user info never synced since librgw init 25406/head
taoCH [Wed, 5 Dec 2018 10:20:20 +0000 (18:20 +0800)]
rgw_file: user info never synced since librgw init

Fixed: https://tracker.ceph.com/issues/37527

Signed-off-by: Tao Chen <chentao@umcloud.com>
6 years agoqa/objectstore: bluestore -> bluestore-{bitmap,stupid}
Sage Weil [Fri, 30 Nov 2018 15:55:38 +0000 (09:55 -0600)]
qa/objectstore: bluestore -> bluestore-{bitmap,stupid}

The new default is bitmap, so we were testing bitmap twice.  Instead,
explicitly call out stupid and bitmap cases so a future default change
won't break coverage.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoceph: do not raise StopIteration within generator 25400/head
Jason Dillaman [Tue, 4 Dec 2018 20:00:38 +0000 (15:00 -0500)]
ceph: do not raise StopIteration within generator

This is implicit when a generator exits and under Python 3
it results in a "StopIteration" exception being raised when
"ceph --help" is run.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge PR #24129 into master
Sage Weil [Tue, 4 Dec 2018 20:00:06 +0000 (14:00 -0600)]
Merge PR #24129 into master

* refs/pull/24129/head:
common: drop ::length() from other implementations of the OpQueue.
common, osd: kill OpQueue::length() to minimize inter-core traffic.

Reviewed-by: Adam Kupczyk <akucpzyk@redhat.com>
6 years agoMerge PR #25388 into master
Sage Weil [Tue, 4 Dec 2018 19:59:01 +0000 (13:59 -0600)]
Merge PR #25388 into master

* refs/pull/25388/head:
mon/OSDMonitor: do not no_reply on ready_to_merge message

Reviewed-by: João Eduardo Luís <joao@suse.de>
6 years agoosd: requeue waiting peering events from deleted slots in unprime_split_children 25399/head
Sage Weil [Tue, 4 Dec 2018 19:57:47 +0000 (13:57 -0600)]
osd: requeue waiting peering events from deleted slots in unprime_split_children

These child slots we are deleting may have queued events that should be
requeued and reexamined.  For example, a pg query may be waiting for the
split and then discarded, instead of being reexamined and processed via
handle_pg_query_nopg().

Fixes: http://tracker.ceph.com/issues/37525
Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomgr/osd_perf_query: example how limit can be used 25151/head
Mykola Golub [Mon, 19 Nov 2018 09:23:51 +0000 (11:23 +0200)]
mgr/osd_perf_query: example how limit can be used

Signed-off-by: Mykola Golub <mgolub@suse.com>
6 years agoosd: make use of osd perf query's limit param
Mykola Golub [Mon, 19 Nov 2018 09:21:05 +0000 (11:21 +0200)]
osd: make use of osd perf query's limit param

Signed-off-by: Mykola Golub <mgolub@suse.com>
6 years agomgr: add limit param to osd perf query
Mykola Golub [Fri, 23 Nov 2018 13:25:22 +0000 (15:25 +0200)]
mgr: add limit param to osd perf query

Signed-off-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #25192 from ProgVal/doc-rbd-features
Jason Dillaman [Tue, 4 Dec 2018 14:47:15 +0000 (09:47 -0500)]
Merge pull request #25192 from ProgVal/doc-rbd-features

rbd: Document new RBD feature flags and version support

Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agomgr/dashboard: add config option bulk_set
Tatjana Dehler [Thu, 25 Oct 2018 08:29:15 +0000 (10:29 +0200)]
mgr/dashboard: add config option bulk_set

Signed-off-by: Tatjana Dehler <tdehler@suse.com>
6 years agoMerge pull request #25359 from zmc/wip-dashboard-fix-teuth-runner
Lenz Grimmer [Tue, 4 Dec 2018 14:06:48 +0000 (15:06 +0100)]
Merge pull request #25359 from zmc/wip-dashboard-fix-teuth-runner

mgr/dashboard: Fix PYTHONPATH for test runner

Reviewed-by: Tatjana Dehler <tdehler@suse.com>
6 years agoMerge pull request #25231 from rhcs-dashboard/37371-logs-links-permissions
Lenz Grimmer [Tue, 4 Dec 2018 14:01:54 +0000 (15:01 +0100)]
Merge pull request #25231 from rhcs-dashboard/37371-logs-links-permissions

mgr/dashboard: 'Logs' links permission in Landing Page

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agoMerge pull request #25322 from Devp00l/wip-issue-37468
Lenz Grimmer [Tue, 4 Dec 2018 14:00:23 +0000 (15:00 +0100)]
Merge pull request #25322 from Devp00l/wip-issue-37468

mgr/dashboard: Document custom RESTController endpoints

Reviewed-by: Tatjana Dehler <tdehler@suse.com>
6 years agomsg/async/rdma: Delete duplicate header file 25392/head
Jianpeng Ma [Tue, 4 Dec 2018 12:31:07 +0000 (20:31 +0800)]
msg/async/rdma: Delete duplicate header file

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
6 years agorbd: bench snapshot if it was specified 25371/head
Mykola Golub [Sun, 2 Dec 2018 16:33:20 +0000 (18:33 +0200)]
rbd: bench snapshot if it was specified

Signed-off-by: Mykola Golub <mgolub@suse.com>
6 years agomgr/osd_perf_query: add query to test all supported subkeys
Mykola Golub [Sun, 2 Dec 2018 16:31:53 +0000 (18:31 +0200)]
mgr/osd_perf_query: add query to test all supported subkeys

Signed-off-by: Mykola Golub <mgolub@suse.com>
6 years agoosd: support more dynamic perf query subkey types
Mykola Golub [Sun, 2 Dec 2018 08:25:39 +0000 (10:25 +0200)]
osd: support more dynamic perf query subkey types

Signed-off-by: Mykola Golub <mgolub@suse.com>
6 years agocommon: drop the doubly-linked-list compatibility of bl::buffers_t. 24882/head
Radoslaw Zarzynski [Sat, 1 Dec 2018 18:27:46 +0000 (19:27 +0100)]
common: drop the doubly-linked-list compatibility of bl::buffers_t.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agocommon: switch bl::buffers_t to a singly-linked list. Drop bi::list.
Radoslaw Zarzynski [Thu, 29 Nov 2018 15:21:19 +0000 (16:21 +0100)]
common: switch bl::buffers_t to a singly-linked list. Drop bi::list.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agobluestore/tools: Add option 'dump' to ceph-kvstore-tool to print both key and values. 25262/head
Adam Kupczyk [Mon, 26 Nov 2018 15:27:28 +0000 (16:27 +0100)]
bluestore/tools: Add option 'dump' to ceph-kvstore-tool to print both key and values.

Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
6 years agoMerge pull request #25335 from ifed01/wip-ifed-fix-enospc
Kefu Chai [Tue, 4 Dec 2018 06:51:31 +0000 (14:51 +0800)]
Merge pull request #25335 from ifed01/wip-ifed-fix-enospc

os/bluestore: fix and unify log output on allocation failure

Reviewed-by: Kefu Chai <kchai@redhat.com>