Commit Graph

115797 Commits

Author SHA1 Message Date
Kefu Chai
2263511c93 doc: move dev/crimson.rst into dev/crimson/
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-10-07 12:54:42 +08:00
Samuel Just
699c2740fe
Merge pull request #36343 from myoungwon/wip-doc-poseidon-store
doc: introduce PoseidonStore

Reviewed-by: Samuel Just <sjust@redhat.com>
2020-10-06 17:28:43 -07:00
Josh Durgin
935359d8b9
Merge pull request #37567 from liewegas/wip-stable-mod
include: ceph_stable_mod in public domain

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-10-06 11:54:04 -07:00
Kefu Chai
befe3bc77a
Merge pull request #37565 from tchaikov/wip-crimson-cleanup
crimson: do not capture unused variables

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
2020-10-06 23:21:51 +08:00
Kefu Chai
55216a78ab crimson/os: mark class with "final" dtor "final"
to silence warning like

scheduler.cc:145:30: warning: class with destructor marked 'final' cannot be inherited from [-Wfinal-dtor-non-final-class]
  ~ClassedOpQueueScheduler() final {};
                             ^
/home/jenkins-build/build/workspace/ceph-perf-crimson/ceph-pr/src/crimson/osd/scheduler/scheduler.cc:52:7: note: mark 'ClassedOpQueueScheduler<T>' as 'final' to silence this warning
class ClassedOpQueueScheduler : public Scheduler {
      ^

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-10-06 22:22:25 +08:00
Kefu Chai
6336f72244 crimson/os: mark dtor of interface class "virtual"
we use a smart_ptr in Seastore to manage the life cycle of
`TransactionManager` which is in turn a subclass
`ExtentCallbackInterface`, so should declare the dtor of latter as
virtual.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-10-06 22:22:25 +08:00
Sage Weil
fa5d9f8846 include: ceph_stable_mod in public domain
Signed-off-by: Sage Weil <sage@newdream.net>
2020-10-06 08:30:08 -05:00
Kefu Chai
37e7425552
Merge pull request #37395 from tchaikov/wip-doc-crimson
doc/dev/crimson: add instruction on running install-deps.sh for build…

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-10-06 19:15:34 +08:00
Kefu Chai
427b244b84 crimson: do not capture unused variables
also silence warnings like:

Signe-off-by: Kefu Chai <kchai@redhat.cop_btree_node.h:103:36: warning: lambda capture 'this' is not used [-Wunused-lambda-capture]
                                  [this, ec, len, &extents] (auto i) {
                                   ^

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-10-06 19:12:33 +08:00
Kefu Chai
16ae762eb2 seastar: pick up document fixes
pick up changes to address the split script failure with HTML generated
with the latest pandoc.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-10-06 17:59:11 +08:00
Kefu Chai
a9ed9b15c2 doc/dev/crimson: add links to seastar documents
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-10-06 17:59:11 +08:00
Lenz Grimmer
67efea0e79
Merge pull request #37523 from Exotelis/wip-42404
mgr/dashboard: Show warning when replicated size is 1 

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2020-10-06 11:11:49 +02:00
Kefu Chai
3c3c2f6ea0 doc/dev/crimson: add instruction on running install-deps.sh for building crimson
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-10-06 17:06:35 +08:00
myoungwon oh
9261c747f0 doc: introduce Poseidon store
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
Signed-off-by: Jiwoong Park <jw12.park@samsung.com>
Signed-off-by: Kyuho Son <kyuho.son@samsung.com>
Signed-off-by: Sungkyu Park <sk921.park@samsung.com>
2020-10-06 16:22:53 +09:00
Samuel Just
5d7d30f8e3
Merge pull request #37134 from myoungwon/wip-tier-evict
osd: add tier_evict

Reviewed-by: Samuel Just <sjust@redhat.com>
2020-10-05 23:06:21 -07:00
Jason Dillaman
42227097c1
Merge pull request #37189 from orozery/striper-assemble-multiple-extents
librbd: support assembling results of multiple object extents

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-10-05 18:51:29 -04:00
Jason Dillaman
8772316a05
Merge pull request #37509 from lixiaoy1/fix_rwl
rbd/tools: fix rwl related names

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-10-05 16:19:20 -04:00
lixiaoy1
be08a85dde rbd/tools: fix rwl related names
These attributes have been renamed.

Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>
2020-10-05 14:20:21 -04:00
Ali Maredia
d4f15c75d6
Merge pull request #37507 from ofriedma/wip-ofriedma-leaked-logs
rgw: print to log leaked obj for any debug level
2020-10-05 11:29:39 -04:00
Jan Fajerski
2db4684432 Merge PR #37531 into master
* refs/pull/37531/head:
	ceph-volume batch: return valid empty json reports

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Joshua Schmid <jschmid@suse.de>
2020-10-05 16:24:38 +02:00
Jan Fajerski
f8ea1f38ae Merge PR #37545 into master
* refs/pull/37545/head:
	ceph-volume: pass filter_for_batch as keyword argument

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
2020-10-05 15:37:46 +02:00
Or Ozeri
4f36d3e936 librbd: support assembling sparse results of multiple object extents
Currently, Striper supports assembling results representing a single object extent.
Recently, the object dispatch API was extended allowing to read multiple object extents per rados operation.
This commit enables the Striper to correctly un-sparsify the results of the new read extents API.

Signed-off-by: Or Ozeri <oro@il.ibm.com>
2020-10-05 16:01:57 +03:00
Jan Fajerski
c5a711e5b6 ceph-volume: pass filter_for_batch as keyword argument
This PR also removes an unused ctor argument in the Devices class.

Fixes: 7d168ad7bd

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2020-10-05 13:58:59 +02:00
Lenz Grimmer
bfdeff1ed1
Merge pull request #37414 from votdev/issue_47647_pylint_isort
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-10-05 10:54:54 +02:00
Jan Fajerski
edb851be09 Merge PR #37221 into master
* refs/pull/37221/head:
	ceph-volume: add no-systemd argument to zap

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
2020-10-05 09:29:07 +02:00
Kefu Chai
17105e54e6
Merge pull request #37532 from tchaikov/wip-crimson-more-privacy
crimson: mark more methods private

Reviewed-by: Samuel Just <sjust@redhat.com>
2020-10-05 12:00:45 +08:00
zdover23
8e530674ff
Merge pull request #37516 from anthonyeleven/anthonyeleven/misc-doc-tweaks
doc/rbd: readability and spelling

Reviewed-by: Zac Dover <zac.dover@gmail.com>
2020-10-05 06:24:41 +10:00
Kefu Chai
0a92d5094f
Merge pull request #37085 from sunnyku/wip-fix-46743
mgr/devicehealth: device_health_metrics pool gets created even without any OSDs in the cluster

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Yaarit Hatuka <yaarit@redhat.com>
2020-10-04 13:51:26 +08:00
Kefu Chai
2bb2dae218
Merge pull request #37487 from tchaikov/wip-backtrace
common/BackTrace: print path without symbol

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-10-04 13:48:29 +08:00
Kefu Chai
35779eb327
Merge pull request #37489 from Rethan/remove_address_helper
common/address_helper: remove address_helper* 

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-10-04 13:48:07 +08:00
Kefu Chai
3829f3c853
Merge pull request #37494 from idryomov/wip-mon-session-timeout-fix
mon: set session_timeout when adding to session_map

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-10-04 13:47:36 +08:00
Kefu Chai
dd617a42d4
Merge pull request #37526 from ifed01/wip-ifed-verify-range
os/bluestore: kill BitmapFreeListManager::_verify_range()

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-10-04 13:47:03 +08:00
Kefu Chai
70033c0ac2
Merge pull request #37423 from ronen-fr/wip-rf-scrub6
mon: fixing extra copying in some loops

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2020-10-04 13:45:24 +08:00
Kefu Chai
abbd7fdb95
Merge pull request #37524 from jschmid1/dont_skip_unavailable_devices
python-common: do not skip unavailable devices

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
2020-10-04 13:44:17 +08:00
Kefu Chai
86d597c7b9
Merge pull request #37525 from ifed01/wip-ifed-no-recursion-clist
os/bluestore: avoid recursive calls in SimpleCollectionListIterator.

Reviewed-by: Mykola Golub <mgolub@suse.com>
2020-10-04 13:40:49 +08:00
Kefu Chai
d4cb26296f
Merge pull request #37528 from batrick/i47689
qa: ignore evicted client warnings 

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-10-04 13:39:08 +08:00
Kefu Chai
3dcaf8c56a
Merge pull request #33963 from rosinL/wip-40668
mon/OSDMonitor: Add a safety builtin to mon_osd_report_timeout

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
2020-10-04 13:32:09 +08:00
Kefu Chai
1b2dfcf4a2
Merge pull request #37289 from pcuzner/prometheus-add-compr
mgr/prometheus: add pool compression stats

Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2020-10-04 13:31:23 +08:00
Kefu Chai
9d90be42a2
Merge pull request #36234 from vshankar/wip-rados-pybind-aio-notify
pybind/rados: add aio_notify()

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-10-04 13:29:42 +08:00
Kefu Chai
fbb2cc49bf
Merge pull request #36732 from rishabh-d-dave/vr-rotate-logs
vstart_runner: rotate logs between testcases

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-10-04 13:28:39 +08:00
Kefu Chai
c96d5eb2a1
Merge pull request #37304 from tchaikov/wip-osd-message-ref
osd,crimson/osd: pass message using intrusive_ptr<>

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
2020-10-04 13:26:59 +08:00
Kefu Chai
f46e58305d
Merge pull request #37076 from changchengx/env_to_args
common: refine env_to_vec implementation

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-10-04 12:28:49 +08:00
Kefu Chai
ff981063d2
Merge pull request #34906 from ErwanAliasr1/patch-1
doc/config: osd_scrub_during_recovery is disabled by default

Reviewed-by: Sébastien Han <seb@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-10-04 12:27:36 +08:00
Jan Fajerski
ab59269a6c ceph-volume batch: return valid empty json reports
Fixes: https://tracker.ceph.com/issues/47729

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2020-10-03 15:47:27 +02:00
Kefu Chai
68c5be0a5a crimson/osd: mark Operation::dump_detail() private
Operation::dump_detail() is called by Operation::dump(), the latter is a
member of Blocker. so there is no need to mark dump_detail() protected
or public to grant the access Operation::dump() the access to this method.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-10-03 19:07:46 +08:00
Kefu Chai
903f4b47e8 crimson/osd: mark md_config_obs_t a private parent class
it registers itself as an observer in its ctor, so there is no need to
mark md_config_obs_t a public parent class.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-10-03 19:07:46 +08:00
Kefu Chai
3a93bc2d43 crimson/osd: mark dump_detail() private
Blocker::dump_detail() is called by Blocker::dump(), the latter is a
member of Blocker. so there is no need to mark dump_detail() protected
or public to grant the access Blocker::dump() the access to this method.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-10-03 19:07:46 +08:00
Kefu Chai
a8b35f00cc crimson/osd: make OrderedPipelinePhase::mutex private
as inner class has access to all outers class's members, even if they
are private.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-10-03 19:07:46 +08:00
Kefu Chai
dc23260dfb
Merge pull request #37527 from tchaikov/wip-admin-use-feature
admin: be compatible with pip shipped by distro older than v20.2

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-10-03 10:15:34 +08:00
Sebastian Wagner
2d5bf454b7
Merge pull request #37502 from neha-ojha/wip-symlink-cephadm
qa/suites/rados: move thrash-old-clients under cephadm

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-10-03 01:07:10 +02:00