]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
3 years agoqa/vstart_runner: fix args to os.path.join() 46164/head
Rishabh Dave [Thu, 5 May 2022 14:12:55 +0000 (19:42 +0530)]
qa/vstart_runner: fix args to os.path.join()

Result of os.path.join() before "./bin/ceph-mds" and after
"./bin/./ceph-mds".

Before -

2022-05-05 19:36:11,100.100 DEBUG:__main__:> ./bin/./ceph-mds -i a

After -

2022-05-05 19:38:48,179.179 DEBUG:__main__:> ./bin/ceph-mds -i a

Signed-off-by: Rishabh Dave <ridave@redhat.com>
3 years agoqa/vstart_runner: minor bug fix and minor adjustments
Rishabh Dave [Thu, 5 May 2022 13:17:08 +0000 (18:47 +0530)]
qa/vstart_runner: minor bug fix and minor adjustments

The message regarding deletion of helper tools is printed for every
command. This message should be printed only when applicable.

Besides -

* Move XXX comments to _do_run() since it increases visibility of
  these messages.
* Move omission of arguments stuff to new method clear up the clutter.
* And remove shell as a parameter from _perform_checks_and_adjustments
  since it's redundant.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
3 years agoMerge pull request #37667 from rishabh-d-dave/vr-inherit-Remote
Venky Shankar [Tue, 10 May 2022 05:00:22 +0000 (10:30 +0530)]
Merge pull request #37667 from rishabh-d-dave/vr-inherit-Remote

vstart_runner: let LocalRemote inherit Remote

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #46194 from athanatos/sjust/wip-55565
Samuel Just [Tue, 10 May 2022 00:31:54 +0000 (17:31 -0700)]
Merge pull request #46194 from athanatos/sjust/wip-55565

crimson: fix op tracking related bugs

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
3 years agocrimson/common/operation: trim AggregateBlockingEvent::events entries 46194/head
Samuel Just [Sat, 7 May 2022 07:02:58 +0000 (07:02 +0000)]
crimson/common/operation: trim AggregateBlockingEvent::events entries

PglogBasedRecovery and BackfillRecovery reuse the same Operation
until their respective operations are complete.  Each recovery
operation adds an entry to AggregateBlockingEvent::events.  This
way, we only retain entries that are currently blocking.

Signed-off-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #46127 from Matan-B/wip-matanb-cyan-clone
Samuel Just [Mon, 9 May 2022 19:53:30 +0000 (12:53 -0700)]
Merge pull request #46127 from Matan-B/wip-matanb-cyan-clone

crimson/os: Add OP_CLONE to cyanstore

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #46205 from rzarzynski/wip-crimson-cls_rgw-objapi
Samuel Just [Mon, 9 May 2022 19:47:17 +0000 (12:47 -0700)]
Merge pull request #46205 from rzarzynski/wip-crimson-cls_rgw-objapi

crimson/osd, rgw: implement the new Objclass API methods for cls_rgw

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #44418 from AmnonHanuhov/wip-fix_futurized_store
Samuel Just [Mon, 9 May 2022 19:46:25 +0000 (12:46 -0700)]
Merge pull request #44418 from AmnonHanuhov/wip-fix_futurized_store

crimson/os: Don't limit the amount of returned keys per omap get call

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agocrimson/osd, rgw: implement the new Objclass API methods for cls_rgw 46205/head
Radosław Zarzyński [Mon, 9 May 2022 12:43:34 +0000 (14:43 +0200)]
crimson/osd, rgw: implement the new Objclass API methods for cls_rgw

They were introduced by 3877c1e37f2fa4e1574b57f05132288f210835a7.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agoMerge pull request #45732 from mchangir/mgr-snap_schedule-validate-fs-for-all-commands
Venky Shankar [Mon, 9 May 2022 14:00:45 +0000 (19:30 +0530)]
Merge pull request #45732 from mchangir/mgr-snap_schedule-validate-fs-for-all-commands

mgr/snap_schedule: validate fs name argument

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #46064 from liu-chunmei/crimson-pool-quota
Liu-Chunmei [Mon, 9 May 2022 02:29:39 +0000 (19:29 -0700)]
Merge pull request #46064 from liu-chunmei/crimson-pool-quota

Crimson pool quota

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agocrimson/os: Add OP_CLONE to cyanstore 46127/head
Matan Breizman [Tue, 3 May 2022 14:15:57 +0000 (14:15 +0000)]
crimson/os: Add OP_CLONE to cyanstore

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
3 years agocrimson/osd: check full 46064/head
chunmei-liu [Sat, 7 May 2022 23:42:11 +0000 (16:42 -0700)]
crimson/osd: check full

need check if pool exceeds its quota

Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
3 years agocrimson/errorator: change errorator template to int
chunmei-liu [Wed, 27 Apr 2022 08:52:06 +0000 (01:52 -0700)]
crimson/errorator: change errorator template to int

need define EDQUOT which is not included in std::errc.

Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
3 years agocrimson/osd/pg_recovery: remove new_started, fix parallel_for_each call
Samuel Just [Sat, 7 May 2022 06:55:31 +0000 (23:55 -0700)]
crimson/osd/pg_recovery: remove new_started, fix parallel_for_each call

Presumably typo from b7e2b11595c6e2cd2c638135ef6f044c40efaa87.

Fixes: https://tracker.ceph.com/issues/55565
Signed-off-by: Samuel Just <sjust@redhat.com>
3 years agocrimson/common/operation: use std::list for AggregateBlockingEvent::events
Samuel Just [Sat, 7 May 2022 05:42:47 +0000 (22:42 -0700)]
crimson/common/operation: use std::list for AggregateBlockingEvent::events

std::vector's references aren't stable after emplace_back.

Fixes: https://tracker.ceph.com/issues/55565
Signed-off-by: Samuel Just <sjust@redhat.com>
3 years agocrimson/osd/pg_recovery: avoid using create_part_trigger() directly
Samuel Just [Sat, 7 May 2022 01:05:15 +0000 (18:05 -0700)]
crimson/osd/pg_recovery: avoid using create_part_trigger() directly

AggregateBlockingEvent::TriggerI::maybe_record_blocking() should handle
invoking create_part_trigger().

Signed-off-by: Samuel Just <sjust@redhat.com>
3 years agocrimson: retain reference to WaitForObjectRecovery until blocker resolves
Samuel Just [Fri, 6 May 2022 05:05:31 +0000 (05:05 +0000)]
crimson: retain reference to WaitForObjectRecovery until blocker resolves

PGRecovery::on_global_recover destroys the map entry without waiting for
the future returned from

    seastar::future<> wait_for_recovered(BlockingEvent::TriggerI& trigger) {

This commit changes WaitForObjectRecovery to be refcounted and retains a
reference until the future resolves.

Fixes: https://tracker.ceph.com/issues/55565
Signed-off-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #46170 from elacunza/patch-1
Anthony D'Atri [Fri, 6 May 2022 15:42:41 +0000 (08:42 -0700)]
Merge pull request #46170 from elacunza/patch-1

doc/rados/operations: Add missing required parameters to stretch-mode CRUSH rule example

3 years agoMerge pull request #46108 from rhcs-dashboard/fix-ingress-ssl-cert-validation
Ernesto Puerta [Fri, 6 May 2022 11:52:13 +0000 (13:52 +0200)]
Merge pull request #46108 from rhcs-dashboard/fix-ingress-ssl-cert-validation

mgr/dashboard: fix ssl cert validation for ingress service creation

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: sunilangadi2 <NOT@FOUND>
3 years agodoc/rados/operations: Add missing required parameters to stretch-mode CRUSH rule... 46170/head 46189/head
Eneko Lacunza [Thu, 5 May 2022 15:41:51 +0000 (17:41 +0200)]
doc/rados/operations: Add missing required parameters to stretch-mode CRUSH rule example

Rule example is missing min_size and max_size, both are required.

Signed-off-by: Eneko Lacunza <elacunza@binovo.es>
3 years agocrimson: remove unused PGRecovery method declarations
Samuel Just [Fri, 6 May 2022 07:11:52 +0000 (07:11 +0000)]
crimson: remove unused PGRecovery method declarations

Signed-off-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #45935 from dparmar18/cephfs-shell-doc-update
Venky Shankar [Fri, 6 May 2022 04:22:03 +0000 (09:52 +0530)]
Merge pull request #45935 from dparmar18/cephfs-shell-doc-update

doc/man/cephfs-shell.rst: add use of exclamation mark with cmds

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #46097 from tchaikov/wip-crimson-cleanups
Kefu Chai [Fri, 6 May 2022 00:02:08 +0000 (08:02 +0800)]
Merge pull request #46097 from tchaikov/wip-crimson-cleanups

crimson/osd/main: s/values/config_values/

Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
3 years agoMerge pull request #45788 from rzarzynski/wip-crimson-op-tracking-2
Samuel Just [Thu, 5 May 2022 19:56:42 +0000 (12:56 -0700)]
Merge pull request #45788 from rzarzynski/wip-crimson-op-tracking-2

crimson: bring the core of op tracking

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #46006 from phlogistonjohn/jjm-nfs-cleanups-pt4
Adam King [Thu, 5 May 2022 18:59:39 +0000 (14:59 -0400)]
Merge pull request #46006 from phlogistonjohn/jjm-nfs-cleanups-pt4

mgr/nfs: minor organizational cleanups

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
3 years agoMerge pull request #46035 from rkachach/fix_issue_52906
Adam King [Thu, 5 May 2022 18:52:07 +0000 (14:52 -0400)]
Merge pull request #46035 from rkachach/fix_issue_52906

mgr/cephadm: adding logic to close ports when removing a daemon

Reviewed-by: Adam King <adking@redhat.com>
3 years agocrimson/osd: drop legacy base classes for pipeline stages 45788/head
Radosław Zarzyński [Thu, 28 Apr 2022 15:02:09 +0000 (17:02 +0200)]
crimson/osd: drop legacy base classes for pipeline stages

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: drop the old blocking infrastructure
Radosław Zarzyński [Thu, 28 Apr 2022 10:02:28 +0000 (12:02 +0200)]
crimson/osd: drop the old blocking infrastructure

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: strip blokcing_future from OperationT
Radosław Zarzyński [Wed, 27 Apr 2022 14:51:35 +0000 (16:51 +0200)]
crimson/osd: strip blokcing_future from OperationT

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: migrate OperationThrottler to new tracking infra.
Radosław Zarzyński [Wed, 27 Apr 2022 13:51:33 +0000 (15:51 +0200)]
crimson/osd: migrate OperationThrottler to new tracking infra.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: crimson/osd: drop blocking_future from PGActivationBlocker
Radosław Zarzyński [Wed, 27 Apr 2022 12:17:33 +0000 (14:17 +0200)]
crimson/osd: crimson/osd: drop blocking_future from PGActivationBlocker

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: crimson/osd: drop blocking_future from PGMap
Radosław Zarzyński [Wed, 27 Apr 2022 11:29:28 +0000 (13:29 +0200)]
crimson/osd: crimson/osd: drop blocking_future from PGMap

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: drop blocking_future from OSDMapGate
Radosław Zarzyński [Wed, 27 Apr 2022 11:04:37 +0000 (13:04 +0200)]
crimson/osd: drop blocking_future from OSDMapGate

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson: bring the WaitBarrier tracking
Radosław Zarzyński [Wed, 27 Apr 2022 00:12:21 +0000 (02:12 +0200)]
crimson: bring the WaitBarrier tracking

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agovstart_runner: make LocalRemote inherit RemoteShell 37667/head
Rishabh Dave [Wed, 14 Oct 2020 09:29:50 +0000 (14:59 +0530)]
vstart_runner: make LocalRemote inherit RemoteShell

And therefore get rid of methods duplicated in LocalRemote and add a
call to empty constructor of RemoteShell in LocalRemote.__init__().

Signed-off-by: Rishabh Dave <ridave@redhat.com>
3 years agoMerge pull request #46033 from iqbalredkhan/quota2
Ali Maredia [Thu, 5 May 2022 04:42:26 +0000 (00:42 -0400)]
Merge pull request #46033 from iqbalredkhan/quota2

rgw: Refactoring Quota Management

3 years agocrimson: move PipelineStageIT::enter() dispatch to compile-time
Radosław Zarzyński [Tue, 26 Apr 2022 20:15:17 +0000 (22:15 +0200)]
crimson: move PipelineStageIT::enter() dispatch to compile-time

The optimization isn't the goal (but rather a side effect). The
reason behind this change is to let pipeline stages define exit
barriers incorporating `OpT`-dependant `Triggers` to track blocking
that happens on the barriers.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/os: add junction between OSD's ops and Seastore's OrderingHandle.
Radosław Zarzyński [Tue, 26 Apr 2022 13:50:32 +0000 (15:50 +0200)]
crimson/os: add junction between OSD's ops and Seastore's OrderingHandle.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: migrate AggregateBlocker-related ops to new tracking infra
Radosław Zarzyński [Fri, 22 Apr 2022 14:50:47 +0000 (16:50 +0200)]
crimson/osd: migrate AggregateBlocker-related ops to new tracking infra

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: bring AggregateBlockingEvent.
Radosław Zarzyński [Fri, 22 Apr 2022 14:48:54 +0000 (16:48 +0200)]
crimson/osd: bring AggregateBlockingEvent.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: migrate PeeringEvent to new tracking infra, part 2
Radosław Zarzyński [Wed, 20 Apr 2022 21:55:30 +0000 (23:55 +0200)]
crimson/osd: migrate PeeringEvent to new tracking infra, part 2

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: add BlockingEvent-aware variant of OSD::get_or_create_pg
Radosław Zarzyński [Wed, 20 Apr 2022 21:53:52 +0000 (23:53 +0200)]
crimson/osd: add BlockingEvent-aware variant of OSD::get_or_create_pg

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: migrate InternalClientRequest to new tracking infra.
Radosław Zarzyński [Tue, 19 Apr 2022 15:32:40 +0000 (17:32 +0200)]
crimson/osd: migrate InternalClientRequest to new tracking infra.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: migrate RecoverySubRequest to new tracking infra.
Radosław Zarzyński [Tue, 19 Apr 2022 12:04:45 +0000 (14:04 +0200)]
crimson/osd: migrate RecoverySubRequest to new tracking infra.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: migrate RepRequest to new tracking infra
Radosław Zarzyński [Fri, 15 Apr 2022 18:16:09 +0000 (20:16 +0200)]
crimson/osd: migrate RepRequest to new tracking infra

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: migrate PGAdvanceMap to new tracking infra.
Radosław Zarzyński [Fri, 15 Apr 2022 16:10:20 +0000 (18:10 +0200)]
crimson/osd: migrate PGAdvanceMap to new tracking infra.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: reduce unnecessary indentation level in PGAdvanceMap::start()
Radosław Zarzyński [Fri, 15 Apr 2022 14:48:10 +0000 (16:48 +0200)]
crimson/osd: reduce unnecessary indentation level in PGAdvanceMap::start()

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: migrate PeeringEvent to new tracking infra.
Radosław Zarzyński [Thu, 14 Apr 2022 11:23:12 +0000 (13:23 +0200)]
crimson/osd: migrate PeeringEvent to new tracking infra.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: migrate BackgroundRecovery to new tracking infra.
Radosław Zarzyński [Thu, 14 Apr 2022 11:19:36 +0000 (13:19 +0200)]
crimson/osd: migrate BackgroundRecovery to new tracking infra.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: migrate BackfillRecoveryPipeline to new tracking infra.
Radosław Zarzyński [Thu, 14 Apr 2022 11:18:35 +0000 (13:18 +0200)]
crimson/osd: migrate BackfillRecoveryPipeline to new tracking infra.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: CompoundPeeringRequest tracks its start and completion too
Radosław Zarzyński [Wed, 13 Apr 2022 15:08:33 +0000 (17:08 +0200)]
crimson/osd: CompoundPeeringRequest tracks its start and completion too

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: migrate CompoundPeeringRequest into new tracking infra
Radosław Zarzyński [Wed, 13 Apr 2022 11:24:03 +0000 (13:24 +0200)]
crimson/osd: migrate CompoundPeeringRequest into new tracking infra

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: move SubOpBlocker from .cc to header
Radosław Zarzyński [Wed, 13 Apr 2022 10:01:18 +0000 (12:01 +0200)]
crimson/osd: move SubOpBlocker from .cc to header

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: PGActivationBlocker does support new tracking infra
Radosław Zarzyński [Wed, 13 Apr 2022 07:26:29 +0000 (09:26 +0200)]
crimson/osd: PGActivationBlocker does support new tracking infra

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: dissect PG::WaitForActiveBlocker into PGActivationBlocker
Radosław Zarzyński [Wed, 13 Apr 2022 07:22:22 +0000 (09:22 +0200)]
crimson/osd: dissect PG::WaitForActiveBlocker into PGActivationBlocker

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: PGMap blocker does support new tracking infra
Radosław Zarzyński [Wed, 13 Apr 2022 07:19:33 +0000 (09:19 +0200)]
crimson/osd: PGMap blocker does support new tracking infra

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: make PhaseOperationT able to deal with interruptors
Radosław Zarzyński [Wed, 13 Apr 2022 07:17:46 +0000 (09:17 +0200)]
crimson/osd: make PhaseOperationT able to deal with interruptors

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: pg_map.h doesn't pull pg.h anymore
Radosław Zarzyński [Wed, 13 Apr 2022 07:10:24 +0000 (09:10 +0200)]
crimson/osd: pg_map.h doesn't pull pg.h anymore

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: convert entire ClientRequest to the new infra
Radosław Zarzyński [Tue, 12 Apr 2022 08:37:16 +0000 (10:37 +0200)]
crimson/osd: convert entire ClientRequest to the new infra

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: slightly optimize OperationRegistryT::do_register()
Radosław Zarzyński [Mon, 11 Apr 2022 14:50:31 +0000 (16:50 +0200)]
crimson/osd: slightly optimize OperationRegistryT::do_register()

There is no need to call the virtual op::get_type() twice.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: fix an assertion failure in Formatter when dumping ops
Radosław Zarzyński [Mon, 11 Apr 2022 14:49:22 +0000 (16:49 +0200)]
crimson/osd: fix an assertion failure in Formatter when dumping ops

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: implement dump_ops_in_flight
Radosław Zarzyński [Mon, 11 Apr 2022 14:47:54 +0000 (16:47 +0200)]
crimson/osd: implement dump_ops_in_flight

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: track start and completion of ClientRequest
Radosław Zarzyński [Mon, 11 Apr 2022 14:46:07 +0000 (16:46 +0200)]
crimson/osd: track start and completion of ClientRequest

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: bring boilerplate for LTTng-based external tracking backend
Radosław Zarzyński [Wed, 6 Apr 2022 13:50:09 +0000 (15:50 +0200)]
crimson/osd: bring boilerplate for LTTng-based external tracking backend

At the moment it's mostly for verification & demonstration purposes.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: drop forward declaration of OSDMap osd.h
Radosław Zarzyński [Wed, 6 Apr 2022 13:41:59 +0000 (15:41 +0200)]
crimson/osd: drop forward declaration of OSDMap osd.h

Having it doesn't make sense as we already include the header.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: add registry of external handlers of tracking events
Radosław Zarzyński [Wed, 6 Apr 2022 11:32:43 +0000 (13:32 +0200)]
crimson/osd: add registry of external handlers of tracking events

This commit intentionally fails the build. It does that to verify
the static assertion on per-op-type lookup of event registry.

The concrete assertion is the one about `ClientRequest` as we
already moved two of its blocker into the new op tracking infra.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: switch one OSDMapGate of ClientRequest to new blocking infra
Radosław Zarzyński [Tue, 5 Apr 2022 22:42:38 +0000 (00:42 +0200)]
crimson/osd: switch one OSDMapGate of ClientRequest to new blocking infra

This time the demo of `BlockerT::BlockingEvent::TriggerI` which
is supposed to handle situations where:

1) `BlockerT` is separated from `TrackableOperationT` by many
intermediaries while
2) we don't want to templatize them all.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: switch a stage of ClientRequest to new blocking infra
Radosław Zarzyński [Tue, 5 Apr 2022 22:03:29 +0000 (00:03 +0200)]
crimson/osd: switch a stage of ClientRequest to new blocking infra

This is a debut of the new blocking & tracking infrastructure
using the type-aware `BlockerT::BlockingEvent::Trigger<T>`.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: introduce PhasedOperationT to deduplicate PipelineHandles
Radosław Zarzyński [Tue, 5 Apr 2022 21:59:47 +0000 (23:59 +0200)]
crimson/osd: introduce PhasedOperationT to deduplicate PipelineHandles

This new class in the hierarchy will be handy when it will come to
introduce helpers for deailing with entering a pipeline stage.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: switch all OSD operations to TrackableOperationT
Radosław Zarzyński [Tue, 5 Apr 2022 21:10:17 +0000 (23:10 +0200)]
crimson/osd: switch all OSD operations to TrackableOperationT

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: get rid of unnecessary private in ClientRequest
Radosław Zarzyński [Sun, 3 Apr 2022 11:31:08 +0000 (13:31 +0200)]
crimson/osd: get rid of unnecessary private in ClientRequest

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: switch all ClientRequest-related pipeline stages to the new infra
Radosław Zarzyński [Sun, 3 Apr 2022 11:23:53 +0000 (13:23 +0200)]
crimson/osd: switch all ClientRequest-related pipeline stages to the new infra

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: pipeline stage classes can be bases for CRTP now
Radosław Zarzyński [Sat, 2 Apr 2022 12:42:35 +0000 (14:42 +0200)]
crimson/osd: pipeline stage classes can be bases for CRTP now

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: pipeline stage classes derive from BlockerT now
Radosław Zarzyński [Sat, 2 Apr 2022 12:14:21 +0000 (14:14 +0200)]
crimson/osd: pipeline stage classes derive from BlockerT now

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: document OperationThrottler's behavior towards op's blocker list.
Radosław Zarzyński [Sat, 2 Apr 2022 09:22:19 +0000 (11:22 +0200)]
crimson/osd: document OperationThrottler's behavior towards op's blocker list.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: simplify OperationThrottler::with_throttle()
Radosław Zarzyński [Sat, 2 Apr 2022 09:13:18 +0000 (11:13 +0200)]
crimson/osd: simplify OperationThrottler::with_throttle()

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: move with_blocking_future from Operation to OperationT.
Radosław Zarzyński [Fri, 1 Apr 2022 18:55:42 +0000 (20:55 +0200)]
crimson/osd: move with_blocking_future from Operation to OperationT.

Buildability of this commit proves all users of `with_blocking_future()`
have the concrete operation type which is necessary on the the way
to the compile-time defined op's blocker registry.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/os/seastore: migrate OrderingHandle away from blocking_future
Radosław Zarzyński [Fri, 1 Apr 2022 18:54:34 +0000 (20:54 +0200)]
crimson/os/seastore: migrate OrderingHandle away from blocking_future

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: OperationThrottler derives from BlockerT instead of Blocker.
Radosław Zarzyński [Fri, 1 Apr 2022 18:05:11 +0000 (20:05 +0200)]
crimson/osd: OperationThrottler derives from BlockerT instead of Blocker.

One another step closer. See the previous' commit description.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: make OperationThrottler aware about exact type of operation
Radosław Zarzyński [Fri, 1 Apr 2022 18:03:15 +0000 (20:03 +0200)]
crimson/osd: make OperationThrottler aware about exact type of operation

This is a step towards making op's blocker registry static and
compile-time checked.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: make the OperationThrottler::with_throttle private
Radosław Zarzyński [Fri, 1 Apr 2022 17:46:15 +0000 (19:46 +0200)]
crimson/osd: make the OperationThrottler::with_throttle private

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/osd: add types PG and OSD-hosted OSDMapGate instances.
Radosław Zarzyński [Fri, 1 Apr 2022 16:42:08 +0000 (18:42 +0200)]
crimson/osd: add types PG and OSD-hosted OSDMapGate instances.

`ClientRequest` is going to hold all tracking events as a `std::tuple`
instance and access them through the type-related variant of `std::get`.
As two instances of `OSDMapGate` are used there, a need to differentiate
at the type level arises.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agocrimson/common: add basic infrastructure for op tracking
Radosław Zarzyński [Fri, 1 Apr 2022 16:40:42 +0000 (18:40 +0200)]
crimson/common: add basic infrastructure for op tracking

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agorgw: user_quota and bucket_quota are defined under RGWQuota 46033/head
Iqbal Khan [Thu, 28 Apr 2022 18:54:29 +0000 (00:24 +0530)]
rgw: user_quota and bucket_quota are defined under RGWQuota

struct RGWQuota {
      RGWQuotaInfo user_quota;
      RGWQuotaInfo bucket_quota;
};

Signed-off-by: Iqbal Khan <iqkhan@redhat.com>
3 years agoMerge pull request #46080 from cbodley/wip-55420
Casey Bodley [Wed, 4 May 2022 13:36:12 +0000 (09:36 -0400)]
Merge pull request #46080 from cbodley/wip-55420

cmake/rgw: add missing dependency on Arrow::Arrow

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Reviewed-by: Gal Salomon <gsalomon@redhat.com>
3 years agoMerge pull request #45341 from idryomov/wip-use-system-libpmem-on-c9s
Ilya Dryomov [Wed, 4 May 2022 12:49:37 +0000 (14:49 +0200)]
Merge pull request #45341 from idryomov/wip-use-system-libpmem-on-c9s

rpm: use system libpmem on Centos 9 Stream

Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
3 years agoMerge pull request #46073 from idryomov/wip-rbd-mirror-exit-code
Ilya Dryomov [Wed, 4 May 2022 12:45:57 +0000 (14:45 +0200)]
Merge pull request #46073 from idryomov/wip-rbd-mirror-exit-code

rbd-mirror,immutable-object-cache: exit code is inverted

Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
3 years agoMerge pull request #46103 from tchaikov/cmake-alloc-cleanup
Kefu Chai [Wed, 4 May 2022 11:28:48 +0000 (19:28 +0800)]
Merge pull request #46103 from tchaikov/cmake-alloc-cleanup

cmake: re-enable TCMalloc and allocator related cleanups

Reviewed-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #45845 from SUSE/wip-fix-55237
Ilya Dryomov [Wed, 4 May 2022 09:54:21 +0000 (11:54 +0200)]
Merge pull request #45845 from SUSE/wip-fix-55237

ceph.spec.in: openSUSE: require gcc11-c++, disable parquet

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
3 years agocrimson/common: abstract from staticness of BlockerT::type_name.
Radosław Zarzyński [Fri, 1 Apr 2022 15:02:08 +0000 (17:02 +0200)]
crimson/common: abstract from staticness of BlockerT::type_name.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
3 years agoMerge pull request #37655 from rishabh-d-dave/vr-run-multiple-cmds
Venky Shankar [Wed, 4 May 2022 09:33:30 +0000 (15:03 +0530)]
Merge pull request #37655 from rishabh-d-dave/vr-run-multiple-cmds

vstart_runner: accepts multiple commands as str too

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #45473 from neesingh-rh/fix_50470
Venky Shankar [Wed, 4 May 2022 09:30:15 +0000 (15:00 +0530)]
Merge pull request #45473 from neesingh-rh/fix_50470

cephfs-top: Multiple filesystem support

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #45776 from neesingh-rh/fix_48863
Venky Shankar [Wed, 4 May 2022 09:29:10 +0000 (14:59 +0530)]
Merge pull request #45776 from neesingh-rh/fix_48863

cephfs-shell: chmod should be allowed for changing all mode bits.

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #45974 from rishabh-d-dave/shell-unrecognized-cmds
Venky Shankar [Wed, 4 May 2022 09:27:40 +0000 (14:57 +0530)]
Merge pull request #45974 from rishabh-d-dave/shell-unrecognized-cmds

cephfs-shell: exit with non-zero on getting unrecognized cmd

Reviewed-by: Venky Shankar <vshankar@redhat.com>
3 years agoMerge pull request #46135 from athanatos/sjust/wip-vstart-asok
Samuel Just [Wed, 4 May 2022 03:57:51 +0000 (20:57 -0700)]
Merge pull request #46135 from athanatos/sjust/wip-vstart-asok

vstart.sh: default CEPH_ASOK_DIR to out/

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
3 years agoMerge pull request #46137 from athanatos/sjust/wip-crimson-typos
Samuel Just [Wed, 4 May 2022 03:57:16 +0000 (20:57 -0700)]
Merge pull request #46137 from athanatos/sjust/wip-crimson-typos

crimson: misc typos

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
3 years agoMerge pull request #46134 from athanatos/sjust/wip-55326
Samuel Just [Wed, 4 May 2022 03:56:14 +0000 (20:56 -0700)]
Merge pull request #46134 from athanatos/sjust/wip-55326

crimson/common/format: remove ceph::coarse_real_clock format speciali…

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
3 years agocrimson/common/format: remove ceph::coarse_real_clock format specialization 46134/head
Samuel Just [Wed, 13 Apr 2022 23:59:45 +0000 (23:59 +0000)]
crimson/common/format: remove ceph::coarse_real_clock format specialization

...
..., value=..., loc=...) at /usr/include/fmt/ostream.h:114
...

Introduced: e9784125241064709d25e9c64d16e1c72b4d7bed
Fixes: https://tracker.ceph.com/issues/55326
Signed-off-by: Samuel Just <sjust@redhat.com>
3 years agoMerge pull request #46128 from vumrao/wip-vumrao-quincy-release-note-update
Vikhyat Umrao [Tue, 3 May 2022 17:59:35 +0000 (10:59 -0700)]
Merge pull request #46128 from vumrao/wip-vumrao-quincy-release-note-update

docs/releases: update quincy release notes tracker 55383 known issue