]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
17 months agofixup: don't store ref-to-on-stack-temporary in RecoveryBackend::coll 54930/head
Radoslaw Zarzynski [Mon, 12 Feb 2024 17:40:06 +0000 (17:40 +0000)]
fixup: don't store ref-to-on-stack-temporary in RecoveryBackend::coll

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
17 months agofixup: ECRcoveryBackend don't goes to disk as well
Radoslaw Zarzynski [Tue, 6 Feb 2024 17:52:56 +0000 (17:52 +0000)]
fixup: ECRcoveryBackend don't goes to disk as well

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
17 months agofixup: don't use obc.attr_cache; move back to disk
Radoslaw Zarzynski [Wed, 31 Jan 2024 14:47:23 +0000 (14:47 +0000)]
fixup: don't use obc.attr_cache; move back to disk

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
17 months agofixup: create in get_hash_info()
Radoslaw Zarzynski [Wed, 31 Jan 2024 14:47:11 +0000 (14:47 +0000)]
fixup: create in get_hash_info()

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
18 months agoosd: abstract EC recovery's dispatch_recovery_messages() from IO
Radosław Zarzyński [Fri, 15 Dec 2023 22:07:37 +0000 (23:07 +0100)]
osd: abstract EC recovery's dispatch_recovery_messages() from IO

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
18 months agoosd: abstract EC read pipeline's check_recovery_sources() from IO
Radosław Zarzyński [Fri, 15 Dec 2023 21:59:03 +0000 (22:59 +0100)]
osd: abstract EC read pipeline's check_recovery_sources() from IO

For the sake of crimson.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
18 months agoosd: move templated ReadPipeline::check_recovery_sources() to .h
Radosław Zarzyński [Wed, 13 Dec 2023 14:08:08 +0000 (15:08 +0100)]
osd: move templated ReadPipeline::check_recovery_sources() to .h

Behind shluffing, this commit includes also adding `std` namespaces
to dissecting the `schedule_recovery_work()` to keep it in .cc.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
18 months agoosd: make ECCommon compatible with libfmt
Radosław Zarzyński [Thu, 28 Sep 2023 16:23:47 +0000 (18:23 +0200)]
osd: make ECCommon compatible with libfmt

For the crimson's sake.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
18 months agoosd: dissect the recovery-related parts out from ECBackend
Radosław Zarzyński [Tue, 28 Nov 2023 11:58:01 +0000 (12:58 +0100)]
osd: dissect the recovery-related parts out from ECBackend

For the sake of sharing with crimson.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
18 months agoosd: shuffle UnstableHashInfoRegistry to ECCommon
Radosław Zarzyński [Tue, 28 Nov 2023 13:55:58 +0000 (14:55 +0100)]
osd: shuffle UnstableHashInfoRegistry to ECCommon

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
18 months agoosd: dissect get_hash_info() with the registry into a dedicated class
Radosław Zarzyński [Tue, 28 Nov 2023 13:14:51 +0000 (14:14 +0100)]
osd: dissect get_hash_info() with the registry into a dedicated class

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
18 months agoosd: ECBackend::get_hash_info() takes external object size
Radosław Zarzyński [Wed, 8 Nov 2023 17:41:19 +0000 (18:41 +0100)]
osd: ECBackend::get_hash_info() takes external object size

This allows to reduce the interactions with `ObjectStore`
by letting callers `get_hash_info()` to provide the object
size from external source, from a cache in partiular.

The same idea will be reused in crimson but with an extra
benefit: no need for green threads within `submit_transaction()`
of `ECBackend`.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
(cherry picked from commit 98347a6013c9244c8768b1e570d36d0e17cd45d3)

18 months agoosd: attrs are obligatory param for ECBackend::get_hash_info()
Radosław Zarzyński [Tue, 7 Nov 2023 16:30:51 +0000 (17:30 +0100)]
osd: attrs are obligatory param for ECBackend::get_hash_info()

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
(cherry picked from commit 149c61c180fadeae7fe5a1574aa8eba01bc0550b)

18 months agoosd: ECBackend::get_hash_info() makes use of the obc::attr_cache
Radosław Zarzyński [Tue, 7 Nov 2023 15:22:46 +0000 (16:22 +0100)]
osd: ECBackend::get_hash_info() makes use of the obc::attr_cache

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
(cherry picked from commit cf07db1a09044c689f5b595d5088a61e3d098e15)

18 months agomon/OSDMonitor: let crimson handle ECPools
Radosław Zarzyński [Tue, 24 Oct 2023 10:40:15 +0000 (12:40 +0200)]
mon/OSDMonitor: let crimson handle ECPools

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
18 months agoosd: improve comments in ECBackend::objects_read_async()
Radosław Zarzyński [Mon, 9 Oct 2023 19:40:47 +0000 (21:40 +0200)]
osd: improve comments in ECBackend::objects_read_async()

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
18 months agoosd: refactor ECTransaction with C++17 structured bindings
Radosław Zarzyński [Mon, 2 Oct 2023 19:52:44 +0000 (21:52 +0200)]
osd: refactor ECTransaction with C++17 structured bindings

For better understandability.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
18 months agoosd: finish shuffling ECCommon::ReadPipeline to ECCommon.cc
Radosław Zarzyński [Thu, 28 Sep 2023 16:22:41 +0000 (18:22 +0200)]
osd: finish shuffling ECCommon::ReadPipeline to ECCommon.cc

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
18 months agoosd: make {PG,EC}Transaction.h consumable for crimson
Radosław Zarzyński [Thu, 28 Sep 2023 16:17:59 +0000 (18:17 +0200)]
osd: make {PG,EC}Transaction.h consumable for crimson

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
18 months agoosd: consolidate RMWPipeline code
Radosław Zarzyński [Thu, 28 Sep 2023 12:51:56 +0000 (14:51 +0200)]
osd: consolidate RMWPipeline code

This commit just moved the code to have all methods of
`RMWPipeline` groupped in the file.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
18 months agoosd: shuffle the ECCommon
Radosław Zarzyński [Wed, 27 Sep 2023 12:17:06 +0000 (14:17 +0200)]
osd: shuffle the ECCommon

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
18 months agoosd: decouple classical and dummy ops for RMWPipeline::try_finish_rmw()
Radosław Zarzyński [Wed, 27 Sep 2023 10:46:12 +0000 (12:46 +0200)]
osd: decouple classical and dummy ops for RMWPipeline::try_finish_rmw()

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
18 months agoosd: make ECBackend::kick_reads() private
Radosław Zarzyński [Tue, 26 Sep 2023 15:46:58 +0000 (17:46 +0200)]
osd: make ECBackend::kick_reads() private

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
18 months agoosd: settle RMWPipeline and RMWPipeline within ECBackend
Radosław Zarzyński [Tue, 19 Dec 2023 17:13:56 +0000 (18:13 +0100)]
osd: settle RMWPipeline and RMWPipeline within ECBackend

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
18 months agoosd: dissect ECCommon and ECListener into separated header
Radosław Zarzyński [Tue, 19 Sep 2023 14:36:50 +0000 (16:36 +0200)]
osd: dissect ECCommon and ECListener into separated header

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
18 months agoosd, fixup: reindent ECListener
Radosław Zarzyński [Tue, 19 Sep 2023 14:26:54 +0000 (16:26 +0200)]
osd, fixup: reindent ECListener

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
18 months agoosd: move ReadPipeline from ECBackend to shareable ECCommon
Radosław Zarzyński [Tue, 19 Sep 2023 13:23:31 +0000 (15:23 +0200)]
osd: move ReadPipeline from ECBackend to shareable ECCommon

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
18 months agoosd: decouple RMWPipeline from ECBackend
Radosław Zarzyński [Tue, 19 Sep 2023 13:11:12 +0000 (15:11 +0200)]
osd: decouple RMWPipeline from ECBackend

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
18 months agoosd: ReadPipeline doesn't depend on classical ECBackend at all
Radosław Zarzyński [Tue, 19 Sep 2023 12:51:53 +0000 (14:51 +0200)]
osd: ReadPipeline doesn't depend on classical ECBackend at all

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
18 months agoosd: dissect crimson-shareable parts of ECBackend into ECCommon
Radosław Zarzyński [Tue, 19 Sep 2023 12:48:08 +0000 (14:48 +0200)]
osd: dissect crimson-shareable parts of ECBackend into ECCommon

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
18 months agoosd: lay down the ECListener for ECBackend::RMWPipeline
Radosław Zarzyński [Fri, 15 Sep 2023 13:15:01 +0000 (15:15 +0200)]
osd: lay down the ECListener for ECBackend::RMWPipeline

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
18 months agoosd: lay down the ECListener for ECBackend::ReadPipeline
Radosław Zarzyński [Fri, 15 Sep 2023 12:07:46 +0000 (14:07 +0200)]
osd: lay down the ECListener for ECBackend::ReadPipeline

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
18 months agoosd: drop unneeded get_hash_info() from EC's RMWPipeline
Radosław Zarzyński [Thu, 14 Sep 2023 13:03:00 +0000 (15:03 +0200)]
osd: drop unneeded get_hash_info() from EC's RMWPipeline

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
18 months agoosd: drop the lambda wrapping from objects_read_and_reconstruct()
Radosław Zarzyński [Thu, 14 Sep 2023 13:02:05 +0000 (15:02 +0200)]
osd: drop the lambda wrapping from objects_read_and_reconstruct()

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
18 months agoosd: ReadPipeline doesn't depend on ECBackend anymore
Radosław Zarzyński [Wed, 13 Sep 2023 16:20:31 +0000 (18:20 +0200)]
osd: ReadPipeline doesn't depend on ECBackend anymore

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
18 months agoosd: rework the callback infrastructure around read_pipeline
Radosław Zarzyński [Mon, 11 Sep 2023 12:00:16 +0000 (14:00 +0200)]
osd: rework the callback infrastructure around read_pipeline

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
18 months agoosd: refactor accessors of RecoveryBackend::temp_contents
Radosław Zarzyński [Thu, 7 Sep 2023 10:07:13 +0000 (12:07 +0200)]
osd: refactor accessors of RecoveryBackend::temp_contents

1. Move some of them to .cc and
2. switch their implementations to use lower-layer methods
   instead of touching `temp_contents` directly.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
18 months agofix a crash due to RecoveryMessages life-time mgmt
Radosław Zarzyński [Fri, 1 Sep 2023 14:42:54 +0000 (16:42 +0200)]
fix a crash due to RecoveryMessages life-time mgmt

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
18 months agoosd: decouple reads and recovery in ECBackend::check_recovery_sources()
Radosław Zarzyński [Thu, 6 Jul 2023 13:39:19 +0000 (15:39 +0200)]
osd: decouple reads and recovery in ECBackend::check_recovery_sources()

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
18 months agoosd: dissect the EC read pipeline from ECBackend into dedicated class
Radosław Zarzyński [Thu, 6 Jul 2023 11:30:53 +0000 (13:30 +0200)]
osd: dissect the EC read pipeline from ECBackend into dedicated class

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
18 months agoosd: drop unused param name in ECBackend::FinishReadOp::finish()
Radosław Zarzyński [Thu, 6 Jul 2023 10:17:45 +0000 (12:17 +0200)]
osd: drop unused param name in ECBackend::FinishReadOp::finish()

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
18 months agoosd: decouple client and recovery reads in ECBackend, part 2
Radoslaw Zarzynski [Thu, 29 Jun 2023 19:20:30 +0000 (19:20 +0000)]
osd: decouple client and recovery reads in ECBackend, part 2

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
18 months agoosd: decrease the coupling between client and recovery reads in ECBackend
Radoslaw Zarzynski [Thu, 29 Jun 2023 19:01:19 +0000 (19:01 +0000)]
osd: decrease the coupling between client and recovery reads in ECBackend

`complete_read_op()` being aware about `RecoveryMessages` was too much.

TODO:
  * rename or rework `RecoveryMessages`. Since now it's also
    a callack for `ReadOp::on_complete`. I don't like that.
  * drop the `pair<RecoveryMessages*, read_request_t&>`.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
18 months agoosd: s/pg/backend/ in ECBackend::OnRecoveryReadComplete
Radoslaw Zarzynski [Thu, 29 Jun 2023 14:34:45 +0000 (14:34 +0000)]
osd: s/pg/backend/ in ECBackend::OnRecoveryReadComplete

`pg` for `ECBackend*` is simply misleading.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
18 months agoosd: s/read/recovery_read/ in ECBackend::RecoveryMessages
Radoslaw Zarzynski [Thu, 29 Jun 2023 14:28:38 +0000 (14:28 +0000)]
osd: s/read/recovery_read/ in ECBackend::RecoveryMessages

`read()` is simply too common for grep. Also, this commit
will ensure there is no unnoticed new call site which
could be problematic in the spot of the upcoming recovery
read rework.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
18 months agoMerge pull request #54829 from awojno-bloomberg/wip-fix-role-delete-replication
Casey Bodley [Tue, 9 Jan 2024 14:53:46 +0000 (14:53 +0000)]
Merge pull request #54829 from awojno-bloomberg/wip-fix-role-delete-replication

rgw/iam: fix role deletion replication

Reviewed-by: Casey Bodley <cbodley@redhat.com>
18 months agoMerge pull request #53156 from qiuxinyidian/rgw-dev
Casey Bodley [Tue, 9 Jan 2024 14:53:22 +0000 (14:53 +0000)]
Merge pull request #53156 from qiuxinyidian/rgw-dev

rgw: modify string match_wildcards with fnmatch

Reviewed-by: Casey Bodley <cbodley@redhat.com>
18 months agoMerge pull request #55009 from ronen-fr/wip-rf-actpr-requeue
Ronen Friedman [Tue, 9 Jan 2024 12:37:03 +0000 (14:37 +0200)]
Merge pull request #55009 from ronen-fr/wip-rf-actpr-requeue

osd/scrub: remove scrub_clear_state()

Reviewed-by: Samuel Just <sjust@redhat.com>
18 months agoMerge pull request #54870 from Svelar/crimson_g_conf
Samuel Just [Tue, 9 Jan 2024 02:55:55 +0000 (18:55 -0800)]
Merge pull request #54870 from Svelar/crimson_g_conf

crimson: add set_val and rm_val to global conf

Reviewed-by: Samuel Just <sjust@redhat.com>
18 months agoMerge pull request #52315 from ronen-fr/wip-rf-rgw-tasserts
Casey Bodley [Mon, 8 Jan 2024 19:30:32 +0000 (19:30 +0000)]
Merge pull request #52315 from ronen-fr/wip-rf-rgw-tasserts

test/rgw: annotating variables with maybe_unused

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
18 months agoMerge pull request #55088 from cbodley/wip-make-dist-wget
Laura Flores [Mon, 8 Jan 2024 18:00:27 +0000 (12:00 -0600)]
Merge pull request #55088 from cbodley/wip-make-dist-wget

18 months agoMerge pull request #54587 from cbodley/wip-45736
Casey Bodley [Mon, 8 Jan 2024 17:49:38 +0000 (17:49 +0000)]
Merge pull request #54587 from cbodley/wip-45736

rgw: add headers to guide cache update in 304 response

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
18 months agoMerge pull request #54715 from rkachach/fix_issue_63678
Adam King [Mon, 8 Jan 2024 16:40:09 +0000 (11:40 -0500)]
Merge pull request #54715 from rkachach/fix_issue_63678

mgr/rook: fixing inconsistencies on the dashboard 'services' view

Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
18 months agoMerge pull request #54676 from rkachach/fix_list_devices_issue
Adam King [Mon, 8 Jan 2024 16:38:35 +0000 (11:38 -0500)]
Merge pull request #54676 from rkachach/fix_list_devices_issue

mgr/rook: fixing devices listing on rook

Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
18 months agomake-dist: don't use --continue option for wget 55088/head
Casey Bodley [Mon, 8 Jan 2024 16:24:18 +0000 (08:24 -0800)]
make-dist: don't use --continue option for wget

the boost jfrog mirror is broken and returns an HTML error page instead
of the archive. the file size of this page is 11534 bytes

when download_from() retries the download from download.ceph.com, the -c
option tells it to resume the download of the existing file. the
resulting boost_1_82_0.tar.bz2 ends up with the correct total file size
of 121325129 bytes, but the first 11534 bytes still correspond to the
HTML from jfrog. that causes the sha256sum mismatch

remove the -c option so that wget fetches the archive in its entirety

Signed-off-by: Casey Bodley <cbodley@redhat.com>
18 months agoMerge pull request #55081 from petrutlucian94/boost_mirror
Ilya Dryomov [Mon, 8 Jan 2024 11:56:51 +0000 (12:56 +0100)]
Merge pull request #55081 from petrutlucian94/boost_mirror

win32_deps_build.sh: change Boost URL

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
18 months agoMerge pull request #55075 from zdover23/wip-doc-2024-01-07-radosgw-admin-quota
zdover23 [Mon, 8 Jan 2024 10:31:21 +0000 (20:31 +1000)]
Merge pull request #55075 from zdover23/wip-doc-2024-01-07-radosgw-admin-quota

doc/radosgw: edit admin.rst - quota

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
18 months agodoc/radosgw: edit admin.rst - quota 55075/head
Zac Dover [Sun, 7 Jan 2024 12:10:59 +0000 (22:10 +1000)]
doc/radosgw: edit admin.rst - quota

Edit the "Quota Management" section (all of it) in
doc/radosgw/admin.rst.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
18 months agowin32_deps_build.sh: change Boost URL 55081/head
Lucian Petrut [Mon, 8 Jan 2024 08:44:51 +0000 (08:44 +0000)]
win32_deps_build.sh: change Boost URL

The Boost download URL is broken again [1], we'll switch to a
working mirror.

[1] https://github.com/boostorg/boost/issues/842

Fixes: https://tracker.ceph.com/issues/63952
Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
18 months agoMerge pull request #54525 from myoungwon/wip-delta-overwrite-inplace-replay
Yingxin [Mon, 8 Jan 2024 01:24:21 +0000 (09:24 +0800)]
Merge pull request #54525 from myoungwon/wip-delta-overwrite-inplace-replay

crimson/os/seastore:  introduce inplace rewrite for RBM

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
18 months agoMerge pull request #54613 from Matan-B/wip-matanb-crimson-build-inc-maps
Matan Breizman [Sun, 7 Jan 2024 12:38:19 +0000 (14:38 +0200)]
Merge pull request #54613 from Matan-B/wip-matanb-crimson-build-inc-maps

crimson/osd: Support incremental maps

Reviewed-by: Samuel Just <sjust@redhat.com>
18 months agoosd/scrub: remove scrub_clear_state() 55009/head
Ronen Friedman [Mon, 25 Dec 2023 18:57:26 +0000 (12:57 -0600)]
osd/scrub: remove scrub_clear_state()

Its functionality is now handled by the FSM when existing
'Session' or 'ActiveReplicaOp' states.
For a PG that is not active - no need to do anything.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
18 months agoMerge pull request #54996 from ronen-fr/wip-rf-active-primary
Ronen Friedman [Sat, 6 Jan 2024 06:06:16 +0000 (08:06 +0200)]
Merge pull request #54996 from ronen-fr/wip-rf-active-primary

osd/scrub: add a "clean primary" base state

Reviewed-by: Samuel Just <sjust@redhat.com>
18 months agoMerge pull request #55069 from ceph/wip-rgw-adminops-user-info-doc-update
zdover23 [Fri, 5 Jan 2024 23:20:39 +0000 (09:20 +1000)]
Merge pull request #55069 from ceph/wip-rgw-adminops-user-info-doc-update

doc: update rgw admin api req params for get user info

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
18 months agodoc: update rgw admin api req params for get user info 55069/head
Ali Maredia [Fri, 5 Jan 2024 20:13:41 +0000 (20:13 +0000)]
doc: update rgw admin api req params for get user info

Signed-off-by: Ali Maredia <amaredia@redhat.com>
18 months agoMerge pull request #54993 from ljflores/wip-balancer-status-detail-documentation
Laura Flores [Fri, 5 Jan 2024 18:30:02 +0000 (12:30 -0600)]
Merge pull request #54993 from ljflores/wip-balancer-status-detail-documentation

18 months agoMerge pull request #54890 from kamoltat/wip-ksirivad-fix-63389
Yuri Weinstein [Fri, 5 Jan 2024 15:40:50 +0000 (07:40 -0800)]
Merge pull request #54890 from kamoltat/wip-ksirivad-fix-63389

src/mon/OSDMonitor.cc: more descriptive loggings for crc mismatch

Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
18 months agoMerge pull request #54708 from amathuria/wip-amathuria-bz-2134786-fix-norecover
Yuri Weinstein [Fri, 5 Jan 2024 15:40:11 +0000 (07:40 -0800)]
Merge pull request #54708 from amathuria/wip-amathuria-bz-2134786-fix-norecover

mgr/pg_autoscaler: add check for norecover flag

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Kamoltat (Junior) Sirivadhna <ksirivad@redhat.com>
18 months agoMerge pull request #52380 from kamoltat/wip-ksirivad-fix-tracker-59564
Yuri Weinstein [Fri, 5 Jan 2024 15:38:53 +0000 (07:38 -0800)]
Merge pull request #52380 from kamoltat/wip-ksirivad-fix-tracker-59564

mon/ConnectionTracker.cc: disregard connection scores from mon_rank = -1

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
18 months agoMerge pull request #48175 from amathuria/wip-add-test-case-bz-2011756
Yuri Weinstein [Fri, 5 Jan 2024 15:37:54 +0000 (07:37 -0800)]
Merge pull request #48175 from amathuria/wip-add-test-case-bz-2011756

DaemonServer.cc: fix config show command for RGW daemons

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
18 months agoosd/scrub: avoid "over clearing" queued_or_active flag 54996/head
Ronen Friedman [Thu, 28 Dec 2023 19:41:19 +0000 (13:41 -0600)]
osd/scrub: avoid "over clearing" queued_or_active flag

If two StartScrub messages are received in quick succession, the earlier
one might clear the queued_or_active flag as it fails for being from an old
interval.
When that happens - a 3'rd scrub request will actually be allowed to go
through, while the scrubber is still handling the second one.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
18 months agoosd/scrub: manage queue registration lifetime in the FSM
Ronen Friedman [Sat, 23 Dec 2023 16:18:41 +0000 (10:18 -0600)]
osd/scrub: manage queue registration lifetime in the FSM

As the state of 'being registered in the OSDs scrub queue'
corresponds to the PrimaryActive FSM state.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
18 months agoMerge pull request #55065 from zdover23/wip-doc-2024-01-05-radosgw-admin-add-remove...
Anthony D'Atri [Fri, 5 Jan 2024 14:32:54 +0000 (09:32 -0500)]
Merge pull request #55065 from zdover23/wip-doc-2024-01-05-radosgw-admin-add-remove-admin-caps

doc/radosrgw: edit admin.rst

18 months agodoc/radosrgw: edit admin.rst 55065/head
Zac Dover [Fri, 5 Jan 2024 11:11:59 +0000 (21:11 +1000)]
doc/radosrgw: edit admin.rst

Edit "Add / Remove Admin Capabilities" in doc/radosgw/admin.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
18 months agocrimson/os/seastore/cache: return false explicitly if delta is not replayed 54525/head
Myoungwon Oh [Fri, 5 Jan 2024 06:46:43 +0000 (15:46 +0900)]
crimson/os/seastore/cache: return false explicitly if delta is not replayed

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
18 months agocrimson/os/seastore: check correct crc for inplace-rewritten extents after replay...
Myoungwon Oh [Wed, 20 Dec 2023 11:35:10 +0000 (20:35 +0900)]
crimson/os/seastore: check correct crc for inplace-rewritten extents  after replay is done

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
18 months agotest/crimson/seastore: fix overflow issue and make len > 0 when set_contents is called
Myoungwon Oh [Sun, 17 Dec 2023 09:04:10 +0000 (18:04 +0900)]
test/crimson/seastore: fix overflow issue and make len > 0 when set_contents is called

set_contents causes the overflow at times because
alloc_extent is allowed to use uint32_t.

Specifically, in random_writes case, PADDING_SIZE is 256<<10,
whereas set_contents's len is uint16_t.

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
18 months agocrimson/os/seastore/epm: detect transaction confict during rbm write using OOL
Myoungwon Oh [Tue, 12 Dec 2023 09:22:13 +0000 (18:22 +0900)]
crimson/os/seastore/epm: detect transaction confict during rbm write using OOL

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
18 months agocrimson/os/seastore: introduce modified_region in DATA_BLOCK to keep track of modifie...
Myoungwon Oh [Sun, 17 Dec 2023 08:51:22 +0000 (17:51 +0900)]
crimson/os/seastore: introduce modified_region in DATA_BLOCK to keep track of modified region

It has a limitation to keep track of the modified region using the existing
deltas because we can not get the correct region in two cases: 1) a case where replay
is done and 2) duplicate_for_write. This commit introduces modified region
to solve the problem.

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
18 months agocrimson/os/seastore: write only modified region when rewriting the extent in an inpla...
Myoungwon Oh [Sun, 10 Dec 2023 03:34:03 +0000 (12:34 +0900)]
crimson/os/seastore: write only modified region when rewriting the extent in an inplace manner

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
18 months agotest/crimson/seastore: add a random overwrite test to test_objec_date_handler
myoungwon oh [Thu, 16 Nov 2023 13:52:47 +0000 (13:52 +0000)]
test/crimson/seastore: add a random overwrite test to test_objec_date_handler

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
18 months agocrimson/os/seastore/cache: reset version to 1 if inplace write occurs before in prepa...
Myoungwon Oh [Tue, 12 Dec 2023 09:55:47 +0000 (18:55 +0900)]
crimson/os/seastore/cache: reset version to 1 if inplace write occurs before in prepare_record

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
18 months agoMerge pull request #54425 from linuxbox2/wip-lcnotify-cleanup
Matt Benjamin [Fri, 5 Jan 2024 02:37:24 +0000 (21:37 -0500)]
Merge pull request #54425 from linuxbox2/wip-lcnotify-cleanup

rgwlc:  additional lc notify cleanups

18 months agoMerge pull request #54889 from phlogistonjohn/jjm-cephadm-build-with-wheels
Adam King [Fri, 5 Jan 2024 01:12:30 +0000 (20:12 -0500)]
Merge pull request #54889 from phlogistonjohn/jjm-cephadm-build-with-wheels

cephadm: build with wheels, enabling pyyaml dependency

Reviewed-by: Guillaume Abrioux <gabrioux@ibm.com>
18 months agoMerge pull request #54722 from phlogistonjohn/jjm-cephadm-sidecars
Adam King [Fri, 5 Jan 2024 01:11:41 +0000 (20:11 -0500)]
Merge pull request #54722 from phlogistonjohn/jjm-cephadm-sidecars

cephadm: add support for sidecar containers

Reviewed-by: Adam King <adking@redhat.com>
18 months agorgwlc: even current object versions have a unique instance 54425/head
Matt Benjamin [Wed, 15 Nov 2023 18:39:18 +0000 (13:39 -0500)]
rgwlc:  even current object versions have a unique instance

Fixes: https://tracker.ceph.com/issues/63546
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
18 months agorgwlc: additional lc notify cleanups
Matt Benjamin [Wed, 8 Nov 2023 19:02:33 +0000 (14:02 -0500)]
rgwlc:  additional lc notify cleanups

Follow the same formula to build up obj_state and version_id
in all call sites.

Resolves: rhbz#2163667

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
18 months agoMerge pull request #50055 from cbodley/wip-rgw-polymorphic-executor
Casey Bodley [Thu, 4 Jan 2024 20:19:54 +0000 (20:19 +0000)]
Merge pull request #50055 from cbodley/wip-rgw-polymorphic-executor

rgw/beast: switch back to polymorphic executor

Reviewed-by: Mark Kogan <mkogan@ibm.com>
18 months agoMerge pull request #54903 from cbodley/wip-63829
Casey Bodley [Thu, 4 Jan 2024 20:19:08 +0000 (20:19 +0000)]
Merge pull request #54903 from cbodley/wip-63829

radosgw-admin: 'zone set' won't overwrite existing default-placement

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
18 months agoMerge pull request #54505 from adamemerson/wip-lazyfifo-no-mutex-over-coro
Casey Bodley [Thu, 4 Jan 2024 20:18:38 +0000 (20:18 +0000)]
Merge pull request #54505 from adamemerson/wip-lazyfifo-no-mutex-over-coro

rgw/multisite: Fix deadlock by not holding mutex over coroutine

Reviewed-by: Casey Bodley <cbodley@redhat.com>
18 months agoMerge pull request #49594 from Matan-B/wip-matanb-crimson-calc-subsets
Samuel Just [Thu, 4 Jan 2024 18:13:40 +0000 (10:13 -0800)]
Merge pull request #49594 from Matan-B/wip-matanb-crimson-calc-subsets

crimson: Support Partial Object Recovery

Reviewed-by: Samuel Just <sjust@redhat.com>
18 months agoMerge pull request #55022 from yuvalif/wip-yuval-63901
Yuval Lifshitz [Thu, 4 Jan 2024 17:19:43 +0000 (19:19 +0200)]
Merge pull request #55022 from yuvalif/wip-yuval-63901

rgw/kafka: make the connection idle timeout configurable

reviwed-by: cbodley

18 months agoMerge pull request #54967 from yuvalif/wip-yuval-63859
Yuval Lifshitz [Thu, 4 Jan 2024 17:19:01 +0000 (19:19 +0200)]
Merge pull request #54967 from yuvalif/wip-yuval-63859

rgw/notifications/lc: handle publish_commit() failures as warnings

reviewed-by: dang, thotz

18 months agocrimson/osd: Keep track of modified_ranges 49594/head
Matan Breizman [Sun, 1 Jan 2023 11:41:34 +0000 (11:41 +0000)]
crimson/osd: Keep track of modified_ranges

* `modifies_ranges` interval_set is added to osd_op_params_t
* keep track of modified_ranges while executing relevant ops
* Add `osd_op_params` parameter to `PGBackend::remove()`.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
18 months agocrimson/osd/replicated_recovery_backend: handle_pull_response() - recalc_subsets()
Matan Breizman [Wed, 4 Jan 2023 12:45:51 +0000 (12:45 +0000)]
crimson/osd/replicated_recovery_backend: handle_pull_response() - recalc_subsets()

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
18 months agomson/osd/replicated_recovery_backend: Introduce prep_push_to_repli…
Matan Breizman [Sun, 31 Dec 2023 15:28:12 +0000 (15:28 +0000)]
mson/osd/replicated_recovery_backend: Introduce prep_push_to_repli…
…ca()

Intelligently push an object to a replica.  make use of existing
clones/heads and dup data ranges where possible.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
18 months agocrimson/osd/replicated_recovery_backend: seperate prep_push_to_replica and prep_push
Matan Breizman [Sun, 31 Dec 2023 15:00:35 +0000 (15:00 +0000)]
crimson/osd/replicated_recovery_backend: seperate prep_push_to_replica and prep_push

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
18 months agorename prep_push to prep_push_to_replica
Matan Breizman [Sun, 31 Dec 2023 14:38:30 +0000 (14:38 +0000)]
rename prep_push to prep_push_to_replica

dismiss head_ctx

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
18 months agocrimson/osd/replicated_recovery_backend: prepare_pull to support calc_clone_subsets
Matan Breizman [Sun, 31 Dec 2023 12:09:38 +0000 (12:09 +0000)]
crimson/osd/replicated_recovery_backend: prepare_pull to support calc_clone_subsets

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
18 months agocrimson/osd/object_metadata_helper: Introduce calc_*_subsets
Matan Breizman [Mon, 9 Jan 2023 14:07:20 +0000 (16:07 +0200)]
crimson/osd/object_metadata_helper: Introduce calc_*_subsets

Signed-off-by: Matan Breizman <mbreizma@redhat.com>