Commit Graph

91421 Commits

Author SHA1 Message Date
Lenz Grimmer
bf972f3a8c
Merge pull request #24631 from Devp00l/wip-issue-36466
mgr/dashboard: Add left padding to helper icon

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2018-10-17 12:56:21 +02:00
Stephan Müller
69373765f4 mgr/dashboard: Add left padding to helper icon
Fixes: https://tracker.ceph.com/issues/36466
Signed-off-by: Stephan Müller <smueller@suse.com>
2018-10-17 10:46:37 +02:00
Stephan Müller
70c3d98c95 mgr/dashboard: Add missing test requirement "werkzeug"
Fixes: https://tracker.ceph.com/issues/36445
Signed-off-by: Stephan Müller <smueller@suse.com>
2018-10-17 10:33:39 +02:00
Myna V
ddae848062 doc: erasure-code cleanup of clay plugin documentation
Signed-off-by: Myna <mynaramana@gmail.com>
2018-10-17 09:59:39 +05:30
hsiang41
31c26279bb mgr/diskprediction: Solve predictor model file not backward compatibility
Use pickle library instead of joblib library. It can avoid library not compatible with different operation system.

Signed-off-by: Rick Chen <rick.chen@prophetstor.com>
2018-10-17 10:10:59 +08:00
Dongsheng Yang
9a2b1f2623 TokenBucketThrottle: use reference to m_blockers.front() and then update it
As we need to update the blocker below, then we need to use reference to front object,
rather than a new object of blocker.

Fixes: http://tracker.ceph.com/issues/36475
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
2018-10-16 21:00:46 -04:00
Sage Weil
369a272abb Merge PR #24578 into master
* refs/pull/24578/head:
	pybind/ceph_argparse.py: do not create file for validating CephFilepath

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2018-10-16 17:57:24 -05:00
Sage Weil
862dd2117c Merge PR #24565 into master
* refs/pull/24565/head:
	mgr: python 3 compat fixes

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2018-10-16 17:56:59 -05:00
Sage Weil
06af843bbc Merge PR #24558 into master
* refs/pull/24558/head:
	pybind/mgr: Fix Python 3 imports in diskprediction & insights

Reviewed-by: Noah Watkins <nwatkins@redhat.com>
2018-10-16 17:56:43 -05:00
Sage Weil
c92787c34a Merge PR #24528 into master
* refs/pull/24528/head:
	common/condition_variable_debug: fix wait hooks
	common/mutex_debug: remove no-op before/after hooks
	common/mutex_debug: do lockdep post-lock step in caller
	os/bluestore: {Mutex,Cond} -> ceph::{mutex,condition_variable}
	os/bluestore: std::recursive_mutex -> ceph::recursive_mutex
	os/bluestore: re-add is_locked assert
	os/bluestore: std::{mutex,condition_variable} -> ceph::{mutex,condition_variable}
	os/bluestore: use deduction for lock_guard<>, unique_lock<>

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Adam Kupczyk <akucpzyk@redhat.com>
2018-10-16 17:55:59 -05:00
Sage Weil
7f5d42fef1 Merge PR #24151 into master
* refs/pull/24151/head:
	mgr/devicehealth: use is_valid_daemon_name helper
	mgr/devicehealth: generalize to mon and osd daemons
	mon: implement 'smart [devid]' tell command
	mgr: parse mon metadata properly
	mon: report device id used by mon
	common/blkdev: add get_device_by_path
	common/blkdev: migrate block_device_run_smartctl from OSD.cc

Reviewed-by: John Spray <john.spray@redhat.com>
2018-10-16 17:43:02 -05:00
Sage Weil
8e2ed7796c Merge PR #24566 into master
* refs/pull/24566/head:
	osd,mon: keep last_epoch_started along with last_epoch_clean premerge

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-10-16 14:34:19 -05:00
Sage Weil
948635a8b2 mgr: Mutex::Locker -> std::lock_guard
Signed-off-by: Sage Weil <sage@redhat.com>
2018-10-16 14:11:33 -05:00
Sage Weil
209ec5d4ec kv: Mutex::Locker -> std::lock_guard
Signed-off-by: Sage Weil <sage@redhat.com>
2018-10-16 14:11:21 -05:00
Sage Weil
993db49e20 librados: Mutex::Locker -> std::lock_guard
Signed-off-by: Sage Weil <sage@redhat.com>
2018-10-16 14:10:37 -05:00
Sage Weil
de8153fba6 client: Mutex::Locker -> std::lock_guard
Signed-off-by: Sage Weil <sage@redhat.com>
2018-10-16 14:08:46 -05:00
Sage Weil
b023007be7 mds: Mutex::Locker -> std::lock_guard
Signed-off-by: Sage Weil <sage@redhat.com>
2018-10-16 14:08:46 -05:00
Sage Weil
35df0deac6 mon: Mutex::Locker -> std::lock_guard
Signed-off-by: Sage Weil <sage@redhat.com>
2018-10-16 13:44:55 -05:00
Sage Weil
84358a04b5 osd: Mutex::Locker -> std::lock_guard
Signed-off-by: Sage Weil <sage@redhat.com>
2018-10-16 13:43:33 -05:00
Sage Weil
f9cf93584f Merge PR #24598 into master
* refs/pull/24598/head:
	.github/stale.yml: configure probot/stale to automatically close stale issues

Reviewed-by: Erwan Velu <erwan@redhat.com>
Reviewed-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
2018-10-16 13:41:28 -05:00
Kefu Chai
6c00b11ba9
Merge pull request #24619 from tchaikov/wip-crimson-mon-client-better-encapsulation
crimson/mon: move mon::Connection into .cc

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-10-17 00:45:19 +08:00
Kefu Chai
311c6371f8 crimson/mon: move mon::Connection into .cc
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-10-17 00:07:41 +08:00
Neha Ojha
bc13cfd035
Merge pull request #23849 from tchaikov/wip-crimson-monc
crimson: add MonClient

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-10-16 08:10:36 -07:00
Casey Bodley
1d9f7b117e rgw: remove old PutObjProcessor stack
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-10-16 11:06:14 -04:00
Casey Bodley
28f194d8c7 rgw: copy_obj uses AtomicObjectProcessor
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-10-16 11:06:14 -04:00
Casey Bodley
cdbc18254d rgw: remove RGWPutObj::select_processor
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-10-16 11:06:14 -04:00
Casey Bodley
8e030b35f1 rgw: RGWBulkUploadOp uses AtomicObjectProcessor
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-10-16 11:06:14 -04:00
Casey Bodley
ee8bc41329 rgw: PostObj uses AtomicObjectProcessor
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-10-16 11:06:14 -04:00
Casey Bodley
522e2718ce rgw: fetch_remote_obj() uses AtomicObjectProcessor
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-10-16 11:06:14 -04:00
Casey Bodley
1ecd78b2da rgw: prepare RGWRadosPutObj for fetch_remote_obj
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-10-16 11:06:14 -04:00
Casey Bodley
a7eab94ba8 rgw: RGWObjectCtxImpl::invalidate takes const ref
also removes the default implementation, which is duplicated in the
specialization for rgw_obj

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-10-16 11:06:14 -04:00
Casey Bodley
dd472ab0cf rgw: rgw_file uses AtomicObjectProcessor
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-10-16 11:06:14 -04:00
Casey Bodley
47b1754e47 rgw: PutObj::execute() uses new ObjectProcessors
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-10-16 11:06:14 -04:00
Casey Bodley
d6b28cdb39 rgw: compression filter uses rgw::putobj::Pipe
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-10-16 11:06:14 -04:00
Casey Bodley
70c8c8110c rgw: encryption filter uses rgw::putobj::Pipe
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-10-16 11:06:14 -04:00
Casey Bodley
d0c9798eb5 rgw: temporarily disable putobj filters
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-10-16 11:06:14 -04:00
Casey Bodley
6907e85d9d rgw: read multipart params in RGWPutObj_ObjStore_S3::get_params
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-10-16 11:06:14 -04:00
Casey Bodley
f6a6aedab5 rgw: PutObj avoids some static_casts to RGWObjectCtx
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-10-16 11:06:14 -04:00
Casey Bodley
572d47bfdb rgw: remove gotos from PutObj
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-10-16 11:06:14 -04:00
Casey Bodley
6d94a5d204 rgw: PutObj uses unique_ptr to manage PutObjProcessor
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-10-16 11:06:14 -04:00
Casey Bodley
6b6002a802 rgw: PutObj uses scope_guard to update perf counter on return
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-10-16 11:06:14 -04:00
Casey Bodley
5de7718f45 rgw: add rgw::putobj::MultipartObjectProcessor
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-10-16 11:06:14 -04:00
Casey Bodley
9ff79e39dc rgw: add rgw::putobj::AtomicObjectProcessor
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-10-16 11:06:14 -04:00
Casey Bodley
5c0ee28731 rgw: add const to some RGWBucketInfo helpers
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-10-16 11:06:14 -04:00
Casey Bodley
65a1340c58 rgw: add rgw::putobj::ManifestObjectProcessor
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-10-16 11:06:14 -04:00
Casey Bodley
93a0024982 rgw: add const to some manifest generator functions
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-10-16 11:06:14 -04:00
Casey Bodley
53a22e8862 rgw: add rgw::putobj::RadosWriter adapter
implements the DataProcessor interface by writing its buffers with Aio,
and tracks the set of successful writes so they can be deleted on
failure/cancelation

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-10-16 11:06:14 -04:00
Patrick Donnelly
299fc82ded
Merge PR #24505 into master
* refs/pull/24505/head:
	mds: wait shorter intervals if beacon not sent

Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-10-16 07:52:54 -07:00
Marcin Juszkiewicz
ee3af68dd9 cmake: mark gcc 7 as minimum C++ compiler (due to std++17)
Ceph requires C++17 support from compiler. This means gcc 7.x being
minimal version supported.

This also allows to fail quick on Debian 'stretch' with it's gcc 6.3
compiler.

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
2018-10-16 16:34:03 +02:00
Kefu Chai
dd460032dd
Merge pull request #24373 from mogeb/build-cls-rbd
osd: add required cls_* libraries as dependencies of osd

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-10-16 22:12:53 +08:00