Commit Graph

115829 Commits

Author SHA1 Message Date
Igor Fedotov
7801dc2909 os/bluestore: fix lack of blob unshare if 'root' onode is not present
in cache.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2020-11-18 12:15:44 +03:00
Igor Fedotov
2e9a804d9e test/store_test: add unshare blob tests cases
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2020-11-18 12:14:49 +03:00
Igor Fedotov
14c39d795d os/bluestore: Buffer's flag might be lost if it's partially discarded or
split.

Haven't seen any real issues due to this though.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2020-11-18 12:14:42 +03:00
Igor Fedotov
050873feae os/bluestore: do not assign already cached buffer to
mempool_bluestore_writing.

This spoils mempool stats with unexpectedly high mount of entries in
the bluestore_writing mempool.
The issue might occurs while handling partial overwrites in EC pools.
Unser some circumstances EC backend might rewrite data from read cache back to disk.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2020-10-08 15:14:58 +03:00
Lenz Grimmer
98a8f533b8
Merge pull request #37584 from rhcs-dashboard/report-preview-helper
mgr/dashboard: Add short descriptions to the telemetry report preview

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2020-10-08 13:15:58 +02:00
Jan Fajerski
f68197eca4 Merge PR #37591 into master
* refs/pull/37591/head:
	ceph-volume: don't exit before empty report can be printed

Reviewed-by: Joshua Schmid <jschmid@suse.de>
2020-10-08 11:52:56 +02:00
Jan Fajerski
0cc5604843 ceph-volume: don't exit before empty report can be printed
get_plan() called exit in case of an empty plan. This prevented a report
being printed under these circumstances. Avoid exit in this case. Also
adds tests to ensure an empty report is printed.

Fixes: https://tracker.ceph.com/issues/47760

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2020-10-08 08:50:59 +02:00
Kefu Chai
718d9c5997
Merge pull request #37561 from tchaikov/wip-cmake-node-mirror
cmake: support Node.js and npm registry mirror

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-10-08 14:50:30 +08:00
Josh Durgin
821b66e67c
Merge pull request #37570 from ceph/wip-install-ceph-deploy
doc: add a link to ceph-deploy document

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Zac Dover <zac.dover@gmail.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-10-07 17:56:22 -07:00
Patrick Donnelly
149a4a6cfd
Merge PR #37446 into master
* refs/pull/37446/head:
	mds: remove dead mdsmap broadcast code

Reviewed-by: Jos Collin <jcollin@redhat.com>
2020-10-07 13:35:18 -07:00
Patrick Donnelly
998149bef5
Merge PR #37497 into master
* refs/pull/37497/head:
	client,mds: Drop execute permission bits

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-10-07 12:39:04 -07:00
Patrick Donnelly
035ff8b827
Merge PR #37571 into master
* refs/pull/37571/head:
	qa/tasks/cephfs/nfs: Check ganesha daemon status after restarting mgr

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-10-07 12:38:04 -07:00
Patrick Donnelly
ebdb6da46b
Merge PR #37579 into master
* refs/pull/37579/head:
	SubmittingPatches: use "doc" prefix in title of doc-only commits

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-10-07 12:29:03 -07:00
Nizamudeen A
6b71e4aaf2 mgr/dashboard: Add short descriptions to the telemetry report preview
A small info icon with a popover on the telemetry report preview form step2 for
Report ID and Report Preview.

Report ID: "A randomized UUID to identify a particular cluster over the course of several telemetry reports."
Report preview: "The actual telemetry data that will be submitted."

Fixes: https://tracker.ceph.com/issues/47610
Signed-off-by: Nizamudeen A <nia@redhat.com>
2020-10-07 23:08:50 +05:30
Jan Fajerski
cdaaf754a4 Merge PR #37577 into master
* refs/pull/37577/head:
	PendingReleaseNotes: add note about batch refactor

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2020-10-07 15:19:54 +02:00
Jan Fajerski
485f0d797e PendingReleaseNotes: add note about batch refactor
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2020-10-07 13:12:14 +02:00
Kefu Chai
38ced60485 SubmittingPatches: use "doc" prefix in title of doc-only commits
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-10-07 17:43:57 +08:00
Joshua Schmid
99ebc0c458
Merge pull request #37498 from jan--f/cadm-new-batch-report
pybind/mgr/orchestrator: fix preview for new c-v batch output
2020-10-07 09:56:10 +02:00
Mykola Golub
e41e0a1217
Merge pull request #37556 from dillaman/wip-rbd-status
rbd: cleanup code and output formatting in status action

Reviewed-by: Mykola Golub <mgolub@suse.com>
2020-10-07 10:42:04 +03:00
Joshua Schmid
6d4896e5da
Merge pull request #37521 from jschmid1/remove_orch_osd_spec_mention
docs: <orch osd spec> is no longer present
2020-10-07 09:37:42 +02:00
Kefu Chai
2c6483f1b5
Merge pull request #37574 from tchaikov/wip-crimson-doc
doc/crimson: cleanups

Reviewed-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2020-10-07 13:45:35 +08:00
Kefu Chai
c7da693961 doc/crimson/poseidonstore: reformat
to render it as expected

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-10-07 12:54:42 +08:00
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
Varsha Rao
97959d249a qa/tasks/cephfs/nfs: Check ganesha daemon status after restarting mgr
Fixes: https://tracker.ceph.com/issues/47591
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-10-06 22:56:05 +05:30
Kefu Chai
fe785597e3
doc: add a link to ceph-deploy document 2020-10-07 00:20:58 +08: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
Jason Dillaman
00b86644cd rbd: cleanup code and output formatting in status action
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-10-06 09:35:24 -04: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
Kefu Chai
9a4fe29204 cmake: read $NPM_REGISTRY for npm registry mirror
in case the offical npm registry is slow or unreachable.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-10-06 15:01:11 +08:00
Kefu Chai
13f0667e5a cmake: extract add_npm_options()
for better readability

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-10-06 15:01:11 +08:00
Kefu Chai
67fa1fbd74 cmake: read $NODE_MIRROR for Node.js mirror
in case the offical Node.js https://nodejs.org/dist/ is slow or
unreachable.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-10-06 15:01:11 +08: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