Samuel Just
ac83a7cb76
crimson/.../transaction_manager: skip zero mappings in mount
...
Signed-off-by: Samuel Just <sjust@redhat.com>
2021-05-07 00:36:34 -07:00
Samuel Just
820dcce6f2
crimson/os/seastore: fix read() to use onode.size for len=0
...
Signed-off-by: Samuel Just <sjust@redhat.com>
2021-05-07 00:36:34 -07:00
Samuel Just
6969160c5a
crimson/os/seastore: fix do_transaction -- transactions may be empty
...
Signed-off-by: Samuel Just <sjust@redhat.com>
2021-05-07 00:36:34 -07:00
Samuel Just
75e547ac17
crimson/os/seastore: wire up get_fsid
...
Signed-off-by: Samuel Just <sjust@redhat.com>
2021-05-07 00:36:34 -07:00
Samuel Just
f5ffc8630a
crimson/os/seastore: wire up stat
...
Signed-off-by: Samuel Just <sjust@redhat.com>
2021-05-07 00:36:34 -07:00
Samuel Just
c973d0c447
crimson/os/seastore/seastore.cc: update to use new debug macros
...
Signed-off-by: Samuel Just <sjust@redhat.com>
2021-05-07 00:36:32 -07:00
Samuel Just
1dd10f1267
crimson/os/seastore: convert cache and transaction_manager to use new debugging macros
...
The goal here is to capture the transaction address and to standardize the
prefix format.
Signed-off-by: Samuel Just <sjust@redhat.com>
2021-05-07 00:22:43 -07:00
Lucian Petrut
c6404e15cb
win32*.sh: ensure that the build dir exists
...
The Windows build scripts try to use the build dir before
actually creating it.
We'll have to move up the "mkdir" command a few lines.
Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2021-05-07 07:20:05 +00:00
Kefu Chai
a4ceaa9fa0
Merge pull request #41214 from tchaikov/wip-crimson-clang-cleanups
...
crimson: clang related cleanups
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2021-05-07 14:59:41 +08:00
Kefu Chai
7bed9716a3
crimson/common/config_proxy: add a helper for get_val<>()
...
otherwise we have to put something like
local_conf().template get_val<T>(name)
which is not quite convenient or readable.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-05-07 13:55:51 +08:00
Kefu Chai
e77f5f7f75
crimson/os/seastore: do not redefine default argument
...
we should not redefine a default argument of a method of templated class.
this change also address following error from clang:
../src/crimson/os/seastore/onode_manager/staged-fltree/node.cc:621:30: error: template parameter redefines default argument
template <bool FORCE_MERGE = false>
^
../src/crimson/os/seastore/onode_manager/staged-fltree/node.h:438:32: note: previous default template argument defined here
template <bool FORCE_MERGE = false>
^
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-05-07 13:55:51 +08:00
Kefu Chai
8d1a1cb627
crimson/os/seastore: do not capture non-variables
...
merge_stage and merge_size are structured bindings, they are not
variables. so cannot be captured without defining variables in
capture list.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-05-07 13:55:51 +08:00
Kefu Chai
88e7356af1
crimson/os/seastore: do not capture unused variable
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-05-07 13:55:48 +08:00
Neha Ojha
b95c48aac1
Merge pull request #41211 from neha-ojha/wip-remove-mon-election
...
qa/suites/rados/standalone: remove mon_election symlink
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2021-05-06 19:10:28 -07:00
Neha Ojha
c8e48c5c25
qa/suites/rados/standalone: remove mon_election symlink
...
The standalone tests need parameters to be passed as ceph_args to
override defaults.
This was just doubling the number of standalone tests being run in each rados
run with no effect!
Signed-off-by: Neha Ojha <nojha@redhat.com>
2021-05-07 00:42:53 +00:00
Sage Weil
7934141f69
Merge PR #41201 into master
...
* refs/pull/41201/head:
doc/releases: 16.2.3
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: David Galloway <dgallowa@redhat.com>
2021-05-06 16:55:16 -04:00
Sage Weil
c690065423
Merge PR #41179 into master
...
* refs/pull/41179/head:
qa/tasks/cephadm_cases: longer wait for osd to start
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2021-05-06 16:01:57 -04:00
Sage Weil
b11226d3ee
doc/releases: 16.2.3
...
Signed-off-by: Sage Weil <sage@newdream.net>
2021-05-06 15:00:36 -05:00
Paul Reece
eafa979b79
doc: added documentation on additional throttling options for the PG balancer module
...
Signed-off-by: Paul Reece <paul@reece.cc>
2021-05-06 14:09:34 -04:00
Sridhar Seshasayee
cc1fc98ea4
qa/suites/rados/mgr/tasks/progress: use high_recovery_ops for faster recovery
...
Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
2021-05-06 17:54:38 +00:00
Neha Ojha
ba27bfa53f
PendingReleaseNotes: mclock_scheduler is the default scheduler for quincy
...
Signed-off-by: Neha Ojha <nojha@redhat.com>
2021-05-06 17:54:38 +00:00
Neha Ojha
b6e9c0903d
qa/standalone: use osd op queue = wpq
...
mclock_scheduler is now the default and some of these tests need to be modified
to run well with it. Continue using wpq until
https://tracker.ceph.com/issues/50574 is addressed.
Signed-off-by: Neha Ojha <nojha@redhat.com>
2021-05-06 17:54:38 +00:00
Neha Ojha
8537dff175
common/options/global.yaml.in: use mclock_scheduler as the default scheduler
...
The aim is to default to mclock_scheduler in quincy, so start early and
get more testing.
Signed-off-by: Neha Ojha <nojha@redhat.com>
2021-05-06 17:54:38 +00:00
Navin Barnwal
15b3665f27
mgr/dashboard: fix rename inventory to disks
...
Fix Orchestrator e2e tests
Fixes: https://tracker.ceph.com/issues/50314
Signed-off-by: Navin Barnwal <knbarnwal@gmail.com>
2021-05-06 22:56:05 +05:30
Amnon Hanuhov
88eaaf6725
crimson/osd: Use crimson::net::make_message() in ReplicatedRecoveryBackend
...
Signed-off-by: Amnon Hanuhov <ahanukov@redhat.com>
2021-05-06 20:22:06 +03:00
Amnon Hanuhov
1420ed154b
crimson/osd: Use crimson::net::make_message() in ReplicatedBackend
...
Signed-off-by: Amnon Hanuhov <ahanukov@redhat.com>
2021-05-06 20:22:06 +03:00
Amnon Hanuhov
36ce6578ee
crimson/osd: Use crimson::net::make_message() in PGRecovery
...
Signed-off-by: Amnon Hanuhov <ahanukov@redhat.com>
2021-05-06 20:22:06 +03:00
Amnon Hanuhov
76f7b5ce35
crimson/osd: Overload ShardServices::send_to_osd() to take unique_ptr
...
Signed-off-by: Amnon Hanuhov <ahanukov@redhat.com>
2021-05-06 20:22:06 +03:00
Amnon Hanuhov
64a68c2fc1
crimson/osd: Use crimson::net::make_message() in ShardServices
...
Signed-off-by: Amnon Hanuhov <ahanukov@redhat.com>
2021-05-06 20:22:06 +03:00
Amnon Hanuhov
31cab8821d
crimson/osd: Use crimson::net::make_message() in Watch
...
Signed-off-by: Amnon Hanuhov <ahanukov@redhat.com>
2021-05-06 20:22:06 +03:00
Amnon Hanuhov
ac2725389f
crimson/admin: Use crimson::net::make_message() in AdminSocket
...
Signed-off-by: Amnon Hanuhov <ahanukov@redhat.com>
2021-05-06 20:22:05 +03:00
Amnon Hanuhov
44c1c09550
crimson/osd: Use crimson::net::make_message() in RecoveryBackend
...
Signed-off-by: Amnon Hanuhov <ahanukov@redhat.com>
2021-05-06 20:22:05 +03:00
Amnon Hanuhov
2cece59218
crimson/osd_operations: Use crimson::net::make_message() in client_request
...
Signed-off-by: Amnon Hanuhov <ahanukov@redhat.com>
2021-05-06 20:22:05 +03:00
Amnon Hanuhov
b25a2dca15
crimson/osd: Use crimson::net::make_message() in osd
...
Signed-off-by: Amnon Hanuhov <ahanukov@redhat.com>
2021-05-06 20:22:05 +03:00
Amnon Hanuhov
e509d1b682
crimson/osd: Use crimson::net::make_message() in Heartbeat
...
Signed-off-by: Amnon Hanuhov <ahanukov@redhat.com>
2021-05-06 20:22:05 +03:00
Amnon Hanuhov
4215aa7f89
crimson/mon: Use crimson::net::make_message() in MonClient
...
Signed-off-by: Amnon Hanuhov <ahanukov@redhat.com>
2021-05-06 20:22:05 +03:00
Amnon Hanuhov
ade9dc93c4
crimson/mon: Refactor mon::send_message() to take unique_ptr
...
Signed-off-by: Amnon Hanuhov <ahanukov@redhat.com>
2021-05-06 20:22:05 +03:00
Amnon Hanuhov
c81e08ea58
crimson/osd: Refactor heartbeat::connection::send() to take unique_ptr
...
Signed-off-by: Amnon Hanuhov <ahanukov@redhat.com>
2021-05-06 20:22:05 +03:00
Amnon Hanuhov
4aad45133a
messages: Add crimson's make_message as friend to messages classes with
...
protected and/or private ctors
Signed-off-by: Amnon Hanuhov <ahanukov@redhat.com>
2021-05-06 20:22:05 +03:00
Amnon Hanuhov
1f6e664705
crimson/net: Overload conn::send() method to take unique_ptr
...
Signed-off-by: Amnon Hanuhov <ahanukov@redhat.com>
2021-05-06 20:22:05 +03:00
Amnon Hanuhov
bee890ab34
msg: Define a new make_message that returns the message inside a unique_ptr
...
Currently under the crimson::net namespace
Signed-off-by: Amnon Hanuhov <ahanukov@redhat.com>
2021-05-06 20:22:05 +03:00
Amnon Hanuhov
8586cf7358
msg: Define unique_ptr messages
...
Signed-off-by: Amnon Hanuhov <ahanukov@redhat.com>
2021-05-06 20:22:05 +03:00
Amnon Hanuhov
0133c7ab4e
common: Added a custom deleter to make a sub-class work with std::unique_ptr
...
Signed-off-by: Amnon Hanuhov <ahanukov@redhat.com>
2021-05-06 20:22:05 +03:00
Kefu Chai
00c5d1889f
Merge pull request #41192 from petrutlucian94/boost_url
...
win32*.sh: Update boost URL, fix windows build
Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-05-07 00:34:25 +08:00
Kefu Chai
34a6edde49
Merge pull request #41198 from tchaikov/wip-doc-mgr-options
...
doc/_ext: load options defined by mgr modules
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2021-05-07 00:33:16 +08:00
Sage Weil
0b0705cdf5
Merge PR #41163 into master
...
* refs/pull/41163/head:
doc/releases/releases.yml: add 16.2.2
doc/releases/pacific: note cepahdm ingress+rgw support
doc: 16.2.2 Release Notes
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2021-05-06 11:24:38 -04:00
Sage Weil
f102251de1
Merge PR #41183 into master
...
* refs/pull/41183/head:
cephadm: normalize image digest in 'ls' output too
Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2021-05-06 11:10:49 -04:00
Ernesto Puerta
fb48f1882b
Merge pull request #40311 from rhcs-dashboard/refactor-crushmap-component
...
mgr/dashboard: avoid data processing in crush-map component
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2021-05-06 16:36:26 +02:00
Sage Weil
16c2f14b01
Merge PR #41107 into master
...
* refs/pull/41107/head:
mgr/cephadm: apply hostname/addr checks to 'orch host set-addr' too
mgr/cephadm: make 'host add' idempotent
mgr/cephadm: set host crush location based on HostSpec
python-common: add location property to HostSpec, + tests
Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
2021-05-06 10:33:00 -04:00
Kefu Chai
e6254a9dcb
doc/_ext: rewrite directive using ObjectDescription
...
which allows us to use different scheme when defining an option,
without this change, if two options in different mgr module share the
same name we cannot differentiate them, after this change, their id
would prefixed with the module name.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-05-06 22:21:43 +08:00