]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 weeks agocrimson/osd/osd_operations/pg_advance_map: Use new macro for logging
Aishwarya Mathuria [Fri, 16 May 2025 11:16:18 +0000 (11:16 +0000)]
crimson/osd/osd_operations/pg_advance_map: Use new macro for logging

Signed-off-by: Aishwarya Mathuria <amathuri@redhat.com>
7 weeks agocrimson/osd/osd_operations/pg_advance_map: Add splitting as a function
Aishwarya Mathuria [Wed, 23 Apr 2025 13:21:23 +0000 (13:21 +0000)]
crimson/osd/osd_operations/pg_advance_map: Add splitting as a function

As we initiate pg splitting as part of the PGAdvanceMap workflow, it is not required
to maintain it as a separate osd_operation.
A new function in PGAdvanceMap - split_pg(), will now take care of the splitting workflow
if we detect split children in an OSD map.

Since we do not follow the same queuing system as classical OSD in crimson, we will not
need to maintain pg_num_history. This makes the splitting check simpler.
With most of the splitting code being part of PGAdvanceMap, it makes sense to have the
splitting check there as well and leave broadcast_map_to_pgs untouched.

Signed-off-by: Aishwarya Mathuria <amathuri@redhat.com>
8 weeks agocrimson/osd/shard_services: make use of PGCreationBlockingEvent
Aishwarya Mathuria [Thu, 17 Apr 2025 14:02:37 +0000 (14:02 +0000)]
crimson/osd/shard_services: make use of PGCreationBlockingEvent

For every split child PG being created, make an entry in the wait_for_pg map using
a PGCreationBlockingEvent trigger.
This change ensures that even split PGs are part of the pgs_creating map that tracks
PGCreationState of a PG by the addition of the create_split_pg method.

Signed-off-by: Aishwarya Mathuria <amathuri@redhat.com>
8 weeks agocrimson/osd/shard_services: Remove implicit capture of this
Aishwarya Mathuria [Thu, 10 Apr 2025 06:27:25 +0000 (06:27 +0000)]
crimson/osd/shard_services: Remove implicit capture of this

Implicit capture of this with a capture default of = is deprecated.

Signed-off-by: Aishwarya Mathuria <amathuri@redhat.com>
8 weeks agocrimson/osd/shard_services: Add function create_split_pg_mapping for PG splitting
Aishwarya Mathuria [Wed, 19 Mar 2025 10:25:47 +0000 (10:25 +0000)]
crimson/osd/shard_services: Add function create_split_pg_mapping for PG splitting

Previously, get_or_create_pg_mapping was used to assign a new child PG to a specific core. When a peering operation occurred, it determined the core responsible for the PG and forwarded the operation there using get_or_create_pg_mapping.

However, earlier changes did not ensure that the split child PG creation logic ran on the same core to which it was mapped. This led to an issue where PGMap::pg_created could be updated on shard 0, while the child PG was actually mapped to shard 1. When a peering operation for the new PG arrived, it was forwarded to shard 1. Since the PG had been created on shard 0, shard 1 had no record of it and attempted to create it again. This resulted in an assertion failure in BlueStore due to an attempt to create a collection for an already existing PG.

This commit adds a function create_split_pg_mapping that will resolve the issue by ensuring that child PG creation always occurs on the core to which the PG is mapped.

Signed-off-by: Aishwarya Mathuria <amathuri@redhat.com>
8 weeks agomon/OSDMonitor: Remove check for FLAG_NOPGCHANGE for crimson pools
Aishwarya Mathuria [Mon, 3 Feb 2025 12:15:34 +0000 (12:15 +0000)]
mon/OSDMonitor: Remove check for FLAG_NOPGCHANGE for crimson pools

With PG Splitting introduced, we can remove the check that previously stopped changes in pg_num for crimson pools.

Note: `nopgchange` is set to true by default with Crimson pools,
      for pg_num changes to actually take place we should also set `nopgchange` to false.
      Currently, this is used for (PG splitting) testing only. Once PG merging is in place as well,
      we could revert `nopgchange` to be false by default in Crimson.

Signed-off-by: Aishwarya Mathuria <amathuri@redhat.com>
8 weeks agocrimson/osd/pg: Add helper functions for PG splitting in Crimson
Aishwarya Mathuria [Mon, 3 Feb 2025 11:54:30 +0000 (11:54 +0000)]
crimson/osd/pg: Add helper functions for PG splitting in Crimson

This change adds functions that would perform the tasks of splitting
stats and splitting collections during PG splitting in Crimson

Signed-off-by: Aishwarya Mathuria <amathuri@redhat.com>
2 months agoMerge pull request #63308 from Hezko/nvmeof-cli-align-subsys-list
afreen23 [Wed, 21 May 2025 19:45:18 +0000 (01:15 +0530)]
Merge pull request #63308 from Hezko/nvmeof-cli-align-subsys-list

mgr/dashboard: Add missing fields to subsytem list API/CLI

Reviewed-by: Afreen Misbah <afreen@ibm.com>
2 months agoMerge pull request #63048 from JoshuaGabriel/joshua_71135
Adam King [Wed, 21 May 2025 17:30:53 +0000 (13:30 -0400)]
Merge pull request #63048 from JoshuaGabriel/joshua_71135

orch/module: Make orch unpause an alias for orch resume

Reviewed-by: Adam King <adking@redhat.com>
2 months agoMerge pull request #63371 from bluikko/doc-cephfs-mirroring-formatting-cephfs
Anthony D'Atri [Wed, 21 May 2025 16:56:06 +0000 (12:56 -0400)]
Merge pull request #63371 from bluikko/doc-cephfs-mirroring-formatting-cephfs

doc/cephfs: Cosmetic changes and small fixes in cephfs-mirroring.rst

2 months agoMerge pull request #63379 from ronen-fr/wip-rf-noloadavg
Ronen Friedman [Wed, 21 May 2025 14:26:15 +0000 (17:26 +0300)]
Merge pull request #63379 from ronen-fr/wip-rf-noloadavg

osd/scrub: remove OsdScrub::LoadTracker

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2 months agoMerge pull request #63368 from zdover23/wip-doc-2025-05-20-mgr-dashboard_plugins...
Zac Dover [Wed, 21 May 2025 13:41:37 +0000 (23:41 +1000)]
Merge pull request #63368 from zdover23/wip-doc-2025-05-20-mgr-dashboard_plugins-motd-inc-62782-followup

doc/mgr: edit motd.inc.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 months agoMerge pull request #62906 from rhcs-dashboard/fix-70276-main
afreen23 [Wed, 21 May 2025 12:05:47 +0000 (17:35 +0530)]
Merge pull request #62906 from rhcs-dashboard/fix-70276-main

mgr/dashboard: Allow the user to re-use existing realm/zg/zone and setup replication

Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Naman Munet <nmunet@redhat.com>
2 months agodoc/mgr: edit motd.inc.rst 63368/head
Zac Dover [Tue, 20 May 2025 05:44:48 +0000 (15:44 +1000)]
doc/mgr: edit motd.inc.rst

Edit doc/mgr/dashboard_plugins/motd.inc.rst.

This commit is part of a project to separate out the twenty-five files
that were committed to https://github.com/ceph/ceph/pull/62782.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 months agoMerge pull request #63367 from zdover23/wip-doc-2025-05-20-mgr-dashboard_plugins...
Zac Dover [Wed, 21 May 2025 11:24:39 +0000 (21:24 +1000)]
Merge pull request #63367 from zdover23/wip-doc-2025-05-20-mgr-dashboard_plugins-feature_toggles-inc-62782-followup

doc/mgr: edit feature_toggles.inc.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 months agoMerge pull request #63365 from zdover23/wip-doc-2025-05-15-mgr-dashboard_plugins...
Zac Dover [Wed, 21 May 2025 11:18:09 +0000 (21:18 +1000)]
Merge pull request #63365 from zdover23/wip-doc-2025-05-15-mgr-dashboard_plugins-debug-inc-rst-62782-followup

doc/mgr: edit debug.inc.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 months agoMerge PR #62934 into main
Venky Shankar [Wed, 21 May 2025 08:54:03 +0000 (14:24 +0530)]
Merge PR #62934 into main

* refs/pull/62934/head:
libcephfs / pybind: use uid_t and gid_t instead of int

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 months agoMerge pull request #63331 from Matan-B/wip-matanb-crimson-tentacle-nightlies
Matan Breizman [Wed, 21 May 2025 07:53:57 +0000 (10:53 +0300)]
Merge pull request #63331 from Matan-B/wip-matanb-crimson-tentacle-nightlies

qa/crontab: run Crimson tentacle nightly

Reviewed-by: Aishwarya Mathuria <amathuri@redhat.com>
2 months agodoc/cephfs: Cosmetic changes and small fixes in cephfs-mirroring.rst 63371/head
Ville Ojamo [Tue, 20 May 2025 06:10:18 +0000 (13:10 +0700)]
doc/cephfs: Cosmetic changes and small fixes in cephfs-mirroring.rst

Don't format an unordered list as preformatted block.

Fix (not linked) reference to a section name that doesn't exist.

Don't call systemd unit files "systemctl unit files", add an "and"
between them.

Clarify by means of inline formatting and whitespace that config value
is "60" and the unit for that is seconds (as opposed to value being
"60s").

Use double backticks consistently when listing commands, file names or
paths, command parameters, syntaxes, etc.

Use star for inline italic instead of single backtick (to differentiate
from the previous).

Don't use double backticks for "cephadm" when talking about the concept.

Don't capitalize a few words that didn't need it.
Capitalize table data for consistency.
All caps for "MDS".

Small updates to language in text.

Call it "cephfs-mirror" everywhere and not "cephfs_mirror" at one place.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2 months agomgr/dashboard: Allow the user to re-use existing r 62906/head
Aashish Sharma [Wed, 16 Apr 2025 11:19:23 +0000 (16:49 +0530)]
mgr/dashboard: Allow the user to re-use existing r
ealm/zg/zone and setup replication

1. Currently, we just allow the user to create a new realm/zg/zone and setup replication using the multi-site replication wizard. The ask is to allow the user to select the pre-existing realm/zg/zone and setup replication via automatic export and import of token as well.

2. Enable rgw module automatically in the selected cluster if its not
   enabled

Fixes: https://tracker.ceph.com/issues/70276
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2 months agoMerge pull request #62071 from zhscn/wip-lba-mapping-refactor
Yingxin Cheng [Wed, 21 May 2025 06:27:35 +0000 (14:27 +0800)]
Merge pull request #62071 from zhscn/wip-lba-mapping-refactor

crimson/os/seastore: introduce BtreeCursor to simplify the implementation of LBAMapping/BackrefMapping

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2 months agoMerge pull request #62684 from mchangir/mds-use-already-avaialble-CInode-in-uninline...
Venky Shankar [Wed, 21 May 2025 05:33:33 +0000 (11:03 +0530)]
Merge pull request #62684 from mchangir/mds-use-already-avaialble-CInode-in-uninline-path

mds: use available CInode* for uninline data

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 months agoMerge pull request #63099 from phlogistonjohn/jjm-dash-node-chown
Dan Mick [Wed, 21 May 2025 02:07:57 +0000 (19:07 -0700)]
Merge pull request #63099 from phlogistonjohn/jjm-dash-node-chown

dashboard: ensure nodeenv downloaded content is owned by current user

2 months agoMerge pull request #62507 from NVShawn/main
Dan Mick [Wed, 21 May 2025 01:20:04 +0000 (18:20 -0700)]
Merge pull request #62507 from NVShawn/main

[Packaging]: Use system-defined location for home directories

2 months agoMerge pull request #63370 from zdover23/wip-doc-2025-05-20-mgr-hello-62782-followup
Anthony D'Atri [Tue, 20 May 2025 15:41:13 +0000 (11:41 -0400)]
Merge pull request #63370 from zdover23/wip-doc-2025-05-20-mgr-hello-62782-followup

doc/mgr: edit hello.rst

2 months agoMerge pull request #63181 from shraddhaag/wip-shraddhaag-availability-docs
Anthony D'Atri [Tue, 20 May 2025 14:57:17 +0000 (10:57 -0400)]
Merge pull request #63181 from shraddhaag/wip-shraddhaag-availability-docs

docs: add release notes and docs for availability score feature

2 months agoMerge pull request #62946 from MaxKellermann/rgw_cksum__unreachable
Casey Bodley [Tue, 20 May 2025 14:43:51 +0000 (10:43 -0400)]
Merge pull request #62946 from MaxKellermann/rgw_cksum__unreachable

rgw/rgw_cksum: work around -Wsometimes-uninitialized

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 months agoosd: move load avg units conversion to the client 63379/head
Ronen Friedman [Tue, 20 May 2025 07:29:04 +0000 (02:29 -0500)]
osd: move load avg units conversion to the client

The OSD calls OsdScrub::update_load_average() to find out the load
average, and notes it down in a performance counter. The system
load average is multipled by 100 (to improve precision). That
multiplication should be on the side of the client, not the
scrub queue service.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2 months agoosd/scrub: remove OsdScrub::LoadTracker
Ronen Friedman [Tue, 20 May 2025 05:21:37 +0000 (00:21 -0500)]
osd/scrub: remove OsdScrub::LoadTracker

As we no longer maintain a 'daily average', and as the interaction
between the load tracker and the scrub scheduler is now much simplified,
we can remove the load tracker entirely.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2 months agodoc: address review comments 63181/head
Shraddha Agrawal [Tue, 20 May 2025 10:19:19 +0000 (15:49 +0530)]
doc: address review comments

Signed-off-by: Shraddha Agrawal <shraddha.agrawal000@gmail.com>
2 months agocrimson/os/seastore/FixedKVBtree: correct MAX_DEPTH 62071/head
Zhang Song [Mon, 12 May 2025 07:14:55 +0000 (15:14 +0800)]
crimson/os/seastore/FixedKVBtree: correct MAX_DEPTH

Signed-off-by: Zhang Song <zhangsong02@qianxin.com>
2 months agocrimson/os/seastore/FixedKVBtree: remove with_btree_ret helper function
Zhang Song [Mon, 12 May 2025 06:36:16 +0000 (14:36 +0800)]
crimson/os/seastore/FixedKVBtree: remove with_btree_ret helper function

Signed-off-by: Zhang Song <zhangsong02@qianxin.com>
2 months agocrimson/os/seastore/lba: flatten lba namespace to keep consistent with backref
Zhang Song [Fri, 9 May 2025 08:12:16 +0000 (16:12 +0800)]
crimson/os/seastore/lba: flatten lba namespace to keep consistent with backref

Signed-off-by: Zhang Song <zhangsong02@qianxin.com>
2 months agocrimson/os/seastore/BtreeLBAManager: support refresh LBAMapping
Zhang Song [Thu, 24 Apr 2025 09:42:10 +0000 (17:42 +0800)]
crimson/os/seastore/BtreeLBAManager: support refresh LBAMapping

Signed-off-by: Zhang Song <zhangsong02@qianxin.com>
2 months agocrimson/os/seastore: simplify the processing of indirect LBAMapping
Zhang Song [Thu, 24 Apr 2025 09:39:50 +0000 (17:39 +0800)]
crimson/os/seastore: simplify the processing of indirect LBAMapping

Signed-off-by: Zhang Song <zhangsong02@qianxin.com>
2 months agocrimson/os/seastore: fix LBAMapping/BackrefMapping usages
Zhang Song [Thu, 24 Apr 2025 09:33:17 +0000 (17:33 +0800)]
crimson/os/seastore: fix LBAMapping/BackrefMapping usages

Signed-off-by: Zhang Song <zhangsong02@qianxin.com>
2 months agocrimson/os/seastore/BackrefManager: adpat new BackrefMapping
Zhang Song [Thu, 24 Apr 2025 09:26:57 +0000 (17:26 +0800)]
crimson/os/seastore/BackrefManager: adpat new BackrefMapping

Signed-off-by: Zhang Song <zhangsong02@qianxin.com>
2 months agocrimson/os/seastore/BtreeLBAManager: cleanup the impl of alloc mapping and remap
Zhang Song [Thu, 24 Apr 2025 09:25:37 +0000 (17:25 +0800)]
crimson/os/seastore/BtreeLBAManager: cleanup the impl of alloc mapping and remap

Signed-off-by: Zhang Song <zhangsong02@qianxin.com>
2 months agocrimson/os/seastore/BtreeLBAManager: refactor update_mapping_ret_bare_t
Zhang Song [Thu, 24 Apr 2025 08:26:33 +0000 (16:26 +0800)]
crimson/os/seastore/BtreeLBAManager: refactor update_mapping_ret_bare_t

Signed-off-by: Zhang Song <zhangsong02@qianxin.com>
2 months agocrimson/os/seastore/BtreeLBAManager: refactor with LBACursorRef
Zhang Song [Thu, 24 Apr 2025 06:40:42 +0000 (14:40 +0800)]
crimson/os/seastore/BtreeLBAManager: refactor with LBACursorRef

Signed-off-by: Zhang Song <zhangsong02@qianxin.com>
2 months agocrimson/os/seastore/BtreeLBAManager: split _alloc_extents implementation
Zhang Song [Thu, 24 Apr 2025 06:23:38 +0000 (14:23 +0800)]
crimson/os/seastore/BtreeLBAManager: split _alloc_extents implementation

Signed-off-by: Zhang Song <zhangsong02@qianxin.com>
2 months agocrimson/os/seastore/BtreeLBAManager: cleanup alloc_mapping_info_t
Zhang Song [Thu, 24 Apr 2025 06:11:55 +0000 (14:11 +0800)]
crimson/os/seastore/BtreeLBAManager: cleanup alloc_mapping_info_t

Signed-off-by: Zhang Song <zhangsong02@qianxin.com>
2 months agocrimson/os/seastore: rename type remap_entry to remap_entry_t
Zhang Song [Thu, 24 Apr 2025 05:57:04 +0000 (13:57 +0800)]
crimson/os/seastore: rename type remap_entry to remap_entry_t

Signed-off-by: Zhang Song <zhangsong02@qianxin.com>
2 months agocrimson/os/seastore: refactor LBAMapping and BackrefMapping
Zhang Song [Tue, 22 Apr 2025 08:25:28 +0000 (16:25 +0800)]
crimson/os/seastore: refactor LBAMapping and BackrefMapping

Signed-off-by: Zhang Song <zhangsong02@qianxin.com>
2 months agocrimson/os/seastore/FixedKVBtree: return BtreeCursor instead of BtreeMapping
Zhang Song [Thu, 10 Apr 2025 03:18:01 +0000 (11:18 +0800)]
crimson/os/seastore/FixedKVBtree: return BtreeCursor instead of BtreeMapping

Signed-off-by: Zhang Song <zhangsong02@qianxin.com>
2 months agocrimson/os/seastore/btree: introduce BtreeCursor
Zhang Song [Tue, 22 Apr 2025 08:16:12 +0000 (16:16 +0800)]
crimson/os/seastore/btree: introduce BtreeCursor

Signed-off-by: Zhang Song <zhangsong02@qianxin.com>
2 months agocrimson/os/seastore/btree: move lba/backref_map_val_t to the common header file
Zhang Song [Wed, 26 Feb 2025 09:58:50 +0000 (17:58 +0800)]
crimson/os/seastore/btree: move lba/backref_map_val_t to the common header file

rename btree_range_pin.h to btree_types.h

Signed-off-by: Zhang Song <zhangsong02@qianxin.com>
2 months agocrimson/os/seastore: remove child_pos in LBAMapping
Xuehan Xu [Mon, 21 Apr 2025 06:39:08 +0000 (14:39 +0800)]
crimson/os/seastore: remove child_pos in LBAMapping

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
2 months agocrimson/os/seastore: remove PhysicalNodeMapping and BtreeNodeMapping
Zhang Song [Thu, 10 Apr 2025 03:15:11 +0000 (11:15 +0800)]
crimson/os/seastore: remove PhysicalNodeMapping and BtreeNodeMapping

Signed-off-by: Zhang Song <zhangsong02@qianxin.com>
2 months agocrimson/os/seastore: move BtreeNodeMapping::is_viewable_by_trans to CachedExtent
Zhang Song [Thu, 10 Apr 2025 03:11:15 +0000 (11:11 +0800)]
crimson/os/seastore: move BtreeNodeMapping::is_viewable_by_trans to CachedExtent

Signed-off-by: Zhang Song <zhangsong02@qianxin.com>
2 months agocrimson/os/seastore/btree: remove the unused template argument of op_context_t
Zhang Song [Mon, 7 Apr 2025 03:50:01 +0000 (11:50 +0800)]
crimson/os/seastore/btree: remove the unused template argument of op_context_t

Signed-off-by: Zhang Song <zhangsong02@qianxin.com>
2 months agocrimson/os/seastore/FixedKVBtree: use min_max_t<>::min to build begin iterator
Zhang Song [Wed, 26 Feb 2025 09:04:19 +0000 (17:04 +0800)]
crimson/os/seastore/FixedKVBtree: use min_max_t<>::min to build begin iterator

Signed-off-by: Zhang Song <zhangsong02@qianxin.com>
2 months agodoc/mgr: edit hello.rst 63370/head
Zac Dover [Tue, 20 May 2025 06:10:43 +0000 (16:10 +1000)]
doc/mgr: edit hello.rst

Edit doc/mgr/hello.rst. This includes the rewriting of sentences so that
they now appear in grammatically-correct English.

This is part of a project to separate out the twenty-five files that
were committed to https://github.com/ceph/ceph/pull/62782.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 months agoMerge pull request #63219 from xxhdx1985126/wip-seastore-omap-balance-pivot
Yingxin Cheng [Tue, 20 May 2025 05:52:13 +0000 (13:52 +0800)]
Merge pull request #63219 from xxhdx1985126/wip-seastore-omap-balance-pivot

crimson/os/seastore/linked_tree_node: correct balance pivots calculation for both fixed-kv tree and omap tree

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2 months agodoc/mgr: edit feature_toggles.inc.rst 63367/head
Zac Dover [Tue, 20 May 2025 05:37:55 +0000 (15:37 +1000)]
doc/mgr: edit feature_toggles.inc.rst

Edit doc/mgr/dashboard_plugins/features_toggles.inc.rst.

This commit is part of a project to separate out the twenty-five files
that were committed to https://github.com/ceph/ceph/pull/62782.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 months agoMerge PR #62631 into main
Venky Shankar [Tue, 20 May 2025 05:32:24 +0000 (11:02 +0530)]
Merge PR #62631 into main

* refs/pull/62631/head:
cephfs: session tracker accounts for killing sessions

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
2 months agodoc/mgr: edit debug.inc.rst 63365/head
Zac Dover [Tue, 20 May 2025 05:29:23 +0000 (15:29 +1000)]
doc/mgr: edit debug.inc.rst

Edit doc/mgr/dashboard_plugins/debug.inc.rst.

This commit is part of a project to separate out the twenty-five files
that were committed to https://github.com/ceph/ceph/pull/63255.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 months agoMerge PR #62632 into main
Venky Shankar [Tue, 20 May 2025 05:28:55 +0000 (10:58 +0530)]
Merge PR #62632 into main

* refs/pull/62632/head:
libcephfs: increment library minor version
test: add test to fetch perf counters via libcephfs API
libcephfs: add API to get client perf counters
client: fix total write operations perf counter name

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
2 months agoMerge PR #62698 into main
Venky Shankar [Tue, 20 May 2025 05:28:04 +0000 (10:58 +0530)]
Merge PR #62698 into main

* refs/pull/62698/head:
mds: add some perf counters about cache trimming

Reviewed-by: Kotresh Hiremath Ravishankar <khiremat@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 months agoMerge pull request #63151 from xxhdx1985126/wip-rgw-location-https
Casey Bodley [Mon, 19 May 2025 23:00:44 +0000 (19:00 -0400)]
Merge pull request #63151 from xxhdx1985126/wip-rgw-location-https

rgw/rgw_rest: determine the domain uri prefix by rgw_transport_is_secure

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 months agoMerge pull request #62510 from badone/wip-tracker-70645-mon_memory_target-fix
Brad Hubbard [Mon, 19 May 2025 22:39:00 +0000 (08:39 +1000)]
Merge pull request #62510 from badone/wip-tracker-70645-mon_memory_target-fix

OSDMonitor: Make sure pcm is initialised

Reviewed-by: Sridhar Seshasayee <sseshasa@redhat.com>
2 months agoMerge pull request #63266 from cbodley/wip-71291
Casey Bodley [Mon, 19 May 2025 19:50:00 +0000 (15:50 -0400)]
Merge pull request #63266 from cbodley/wip-71291

rgw/zone: remove duplicated startup logic in RGWSI_Zone

Reviewed-by: Ali Masarwa <amasarwa@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2 months agoMerge pull request #63357 from zdover23/wip-doc-2025-05-20-revert-merge-of-63351
Zac Dover [Mon, 19 May 2025 19:23:11 +0000 (05:23 +1000)]
Merge pull request #63357 from zdover23/wip-doc-2025-05-20-revert-merge-of-63351

doc: Revert "Merge pull request #63351 from anthonyeleven/document_HTTP_X_…

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 months agodoc: Revert "Merge pull request #63351 from anthonyeleven/document_HTTP_X_AMZ_DELETE_... 63357/head
Zac Dover [Mon, 19 May 2025 19:05:13 +0000 (05:05 +1000)]
doc: Revert "Merge pull request #63351 from anthonyeleven/document_HTTP_X_AMZ_DELETE_IF_UNMODIFIED_SINCE"

This reverts commit 6a054b06a6e60a9ded51b8be5357232b4177edb1, reversing
changes made to ff1d7c9e4efa195939b3d46a570f0d0242d54b97.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 months agoMerge pull request #63351 from anthonyeleven/document_HTTP_X_AMZ_DELETE_IF_UNMODIFIED...
Zac Dover [Mon, 19 May 2025 18:31:16 +0000 (04:31 +1000)]
Merge pull request #63351 from anthonyeleven/document_HTTP_X_AMZ_DELETE_IF_UNMODIFIED_SINCE

WIP DNM doc/radosgw/s3: Document delete-if-unmodified-since

Reviewed-by: Zac Dover <zac.dover@proton.me>
2 months agoqa/crontab: run Crimson nightly 63331/head
Matan Breizman [Sun, 18 May 2025 08:27:29 +0000 (08:27 +0000)]
qa/crontab: run Crimson nightly

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2 months agodoc/radosgw/s3: Document delete-if-unmodified-since 63351/head
Anthony D'Atri [Mon, 19 May 2025 14:14:00 +0000 (10:14 -0400)]
doc/radosgw/s3: Document delete-if-unmodified-since

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2 months agoMerge pull request #63325 from ronen-fr/wip-rf-load2
Ronen Friedman [Mon, 19 May 2025 12:32:50 +0000 (15:32 +0300)]
Merge pull request #63325 from ronen-fr/wip-rf-load2

osd/scrub: remove the 2'nd option for determining 'low load' for scrub

Reviewed-by: Adam Kupczyk <akupczyk@ibm.com>
2 months agoMerge pull request #63319 from rhcs-dashboard/accept-dot-in-uid
afreen23 [Mon, 19 May 2025 09:42:58 +0000 (15:12 +0530)]
Merge pull request #63319 from rhcs-dashboard/accept-dot-in-uid

mgr/dashboard: accept dot(.) in user_id & restrict tenant validation in user form

Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
2 months agoMerge PR #63281 into main
Venky Shankar [Mon, 19 May 2025 05:42:49 +0000 (11:12 +0530)]
Merge PR #63281 into main

* refs/pull/63281/head:
Revert "mgr/volumes: handle bad arguments during subvolume create"

Reviewed-by: Rishabh Dave <ridave@redhat.com>
2 months agoMerge pull request #63289 from tchaikov/ceph-dedup-cleanups
Ilya Dryomov [Mon, 19 May 2025 05:31:32 +0000 (07:31 +0200)]
Merge pull request #63289 from tchaikov/ceph-dedup-cleanups

tools/ceph_dedup: improve const-ness and use ranged-for loop when appropriate

Reviewed-by: Myoungwon Oh <myoungwon.oh@samsung.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 months agocrimson/os/seastore/btree: remove unused methods 63219/head
Xuehan Xu [Fri, 16 May 2025 09:16:22 +0000 (17:16 +0800)]
crimson/os/seastore/btree: remove unused methods

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
2 months agocrimson/os/seastore/omap_manager: limit the max size of kv inserted to
Xuehan Xu [Thu, 15 May 2025 10:18:12 +0000 (18:18 +0800)]
crimson/os/seastore/omap_manager: limit the max size of kv inserted to
the omap tree

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
2 months agocrimson/os/seastore: adjust and fix rebalance logic in lba/backref/omap tree
Xuehan Xu [Thu, 15 May 2025 09:00:17 +0000 (17:00 +0800)]
crimson/os/seastore: adjust and fix rebalance logic in lba/backref/omap tree

* For fixed_kv_btree, drop `prefer_left`.
* For omap btree, tolerate underflow nodes if rebalance has the same results.

Fixes: https://tracker.ceph.com/issues/71307
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2 months agoMerge pull request #63294 from bluikko/doc-architecture-ref
Anthony D'Atri [Sun, 18 May 2025 20:14:04 +0000 (16:14 -0400)]
Merge pull request #63294 from bluikko/doc-architecture-ref

doc: Use existing labels and ref for hyperlinks in architecture.rst

2 months agoMerge pull request #63330 from bluikko/doc-fix-bluestore-man-warning
Anthony D'Atri [Sun, 18 May 2025 19:58:47 +0000 (15:58 -0400)]
Merge pull request #63330 from bluikko/doc-fix-bluestore-man-warning

doc/man: Fix inline formatting in ceph-bluestore-tool.rst

2 months agoMerge pull request #63329 from bluikko/doc-fix-blank-line-warnings
Anthony D'Atri [Sun, 18 May 2025 19:58:16 +0000 (15:58 -0400)]
Merge pull request #63329 from bluikko/doc-fix-blank-line-warnings

doc: Fix missing blank line Sphinx warnings

2 months agoMerge pull request #63300 from tchaikov/assert-fix-leaks
Kefu Chai [Sun, 18 May 2025 13:49:16 +0000 (21:49 +0800)]
Merge pull request #63300 from tchaikov/assert-fix-leaks

common: fix backtrace leak in __ceph_abort and friends

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2 months agoMerge pull request #60963 from k0ste/mgr_DaemonServer_mistype
SrinivasaBharathKanta [Sun, 18 May 2025 12:03:02 +0000 (17:33 +0530)]
Merge pull request #60963 from k0ste/mgr_DaemonServer_mistype

mgr/DaemonServer: fixed mistype for mgr_osd_messages

2 months agoMerge pull request #63166 from Matan-B/wip-matanb-crimson-seastore-recovery
Matan Breizman [Sun, 18 May 2025 08:01:01 +0000 (11:01 +0300)]
Merge pull request #63166 from Matan-B/wip-matanb-crimson-seastore-recovery

qa/suites/crimson-rados: Seastore recovery tests

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2 months agodoc: Fix missing blank line Sphinx warnings 63329/head
Ville Ojamo [Sun, 18 May 2025 05:25:07 +0000 (12:25 +0700)]
doc: Fix missing blank line Sphinx warnings

Fix four warnings from Sphinx about missing blank line after explicit
markup.

Indent content in list items correctly, fixing formatting errors.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2 months agodoc/man: Fix inline formatting in ceph-bluestore-tool.rst 63330/head
Ville Ojamo [Sun, 18 May 2025 05:35:48 +0000 (12:35 +0700)]
doc/man: Fix inline formatting in ceph-bluestore-tool.rst

A space is missing between a token with emphasis and the following
token:
- Not consistent with other commands like "show-label" (has space).
- Inline formatting is rendered verbatim in the second occurrence, without
  the formatting being applied.
- Warning from Sphinx.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2 months agodoc: Use existing labels and ref for hyperlinks in architecture.rst 63294/head
Ville Ojamo [Thu, 15 May 2025 10:32:29 +0000 (17:32 +0700)]
doc: Use existing labels and ref for hyperlinks in architecture.rst

Use validated ":ref:" hyperlinks instead of "external links" in "target
definitions" when linking within the Ceph docs:
- Update to use existing labels when linkin from architecture.rst.
- Remove unused "target definitions".

Also use title case for section titles in
doc/start/hardware-recommendations.rst because change to use link text
generated from section title.

Other than generated link texts the rendered PR should look the same as
the old docs, only differing in the source RST.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2 months agomgr/dashboard: add missing fields to subsytem list command 63308/head
Tomer Haskalovitch [Tue, 13 May 2025 23:40:59 +0000 (02:40 +0300)]
mgr/dashboard: add missing fields to subsytem list command

Signed-off-by: Tomer Haskalovitch <il033030@Tomers-MBP.lan>
add a test

2 months agoosd/scrub: minimize calls to sysconf() in scrub_load_below_threshold() 63325/head
Ronen Friedman [Sat, 17 May 2025 07:17:42 +0000 (02:17 -0500)]
osd/scrub: minimize calls to sysconf() in scrub_load_below_threshold()

Return an 'all is OK' value if the 1min CPU load - even before being
divided by the number of CPUs - is below the configured threshold.
This is a very common case, and avoids the need to call sysconf()
to get the number of CPUs.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2 months agoosd/scrub: remove the 2'nd option for determining 'low load' for scrubbing
Ronen Friedman [Sat, 17 May 2025 06:04:22 +0000 (01:04 -0500)]
osd/scrub: remove the 2'nd option for determining 'low load' for scrubbing

Previously, there were two conditions under which the CPU load was
considered
low enough to allow scrubbing:
- the CPU load was below the configured threshold, or
- the load was below a calculated "daily" average, and lower than the
  15-min average.
That second condition was confusing and surprising, and is now removed.

As the scrubber logic no longer requires the 5m & 15m load averages,
scrub_load_below_threshold() can use the data gathered by the
periodic LoadTracker::update_load_average().

Fixes: https://tracker.ceph.com/issues/71347
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2 months agoMerge pull request #63318 from bluikko/doc-fix-crush-map-ref-rados
Anthony D'Atri [Sat, 17 May 2025 03:49:33 +0000 (23:49 -0400)]
Merge pull request #63318 from bluikko/doc-fix-crush-map-ref-rados

doc/rados/operations: Fix invalid hyperlink in crush-map-edits.rst

2 months agoMerge pull request #63320 from bluikko/doc-fix-health-checks-formatting-rados
Anthony D'Atri [Sat, 17 May 2025 03:46:58 +0000 (23:46 -0400)]
Merge pull request #63320 from bluikko/doc-fix-health-checks-formatting-rados

doc/rados/operations: Fix unordered list in health-checks.rst

2 months agoMerge pull request #63321 from bluikko/doc-fix-cloud-transition-formatting-radosgw
Anthony D'Atri [Sat, 17 May 2025 03:43:15 +0000 (23:43 -0400)]
Merge pull request #63321 from bluikko/doc-fix-cloud-transition-formatting-radosgw

doc/radosgw: Fix indentation in cloud-transition.rst

2 months agoMerge pull request #62186 from linuxbox2/wip-rgw-cb409
Matt Benjamin [Fri, 16 May 2025 21:32:22 +0000 (17:32 -0400)]
Merge pull request #62186 from linuxbox2/wip-rgw-cb409

rgw: introduce rgw_bucket_eexist_override

2 months agoMerge pull request #63317 from bluikko/doc-fix-mclock-conf-ref-rados
Anthony D'Atri [Fri, 16 May 2025 17:20:05 +0000 (13:20 -0400)]
Merge pull request #63317 from bluikko/doc-fix-mclock-conf-ref-rados

doc/rados/configuration: Fix invalid hyperlinks in mclock-config-ref.rst

2 months agoMerge pull request #63309 from JoshuaGabriel/joshua/cephfs-docs
Anthony D'Atri [Fri, 16 May 2025 16:00:08 +0000 (12:00 -0400)]
Merge pull request #63309 from JoshuaGabriel/joshua/cephfs-docs

doc/cephfs: specify mount path in example command

2 months agotools/ceph_dedup: Add const qualifiers and reference parameters 63289/head
Kefu Chai [Thu, 15 May 2025 07:41:07 +0000 (15:41 +0800)]
tools/ceph_dedup: Add const qualifiers and reference parameters

Improve code quality in ceph_dedup tool by:

- Adding const qualifiers to member functions and parameters where appropriate
- Converting parameter passing to use references instead of value copies
  for complex objects

These changes enhance code readability, better express intent through
const-correctness, and improve performance by avoiding unnecessary deep
copies.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2 months agotools/ceph_dedup: Replace iterator loops with range-based loops
Kefu Chai [Thu, 15 May 2025 07:03:42 +0000 (15:03 +0800)]
tools/ceph_dedup: Replace iterator loops with range-based loops

Refactor the code to use modern C++ range-based for loops instead of
traditional iterator-based loops, improving code readability

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2 months agomgr/dashboard: accept dot(.) in user_id & (alphanumeric chars, _) in tenant in user... 63319/head
Naman Munet [Fri, 16 May 2025 08:29:04 +0000 (13:59 +0530)]
mgr/dashboard: accept dot(.) in user_id & (alphanumeric chars, _) in tenant in user form

fixes: https://tracker.ceph.com/issues/71341

Signed-off-by: Naman Munet <naman.munet@ibm.com>
2 months agodoc/rados/configuration: Fix invalid hyperlinks in mclock-config-ref.rst 63317/head
Ville Ojamo [Fri, 16 May 2025 08:01:14 +0000 (15:01 +0700)]
doc/rados/configuration: Fix invalid hyperlinks in mclock-config-ref.rst

Fix two intradocument links that pointed to the same nonexisting section
title.
These were rendered "as-is" with backticks and everything, while still
linkified pointing to invalid "#idN" anchors.

Modify them to point to the correct section title text.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2 months agodoc/radosgw: Fix indentation in cloud-transition.rst 63321/head
Ville Ojamo [Fri, 16 May 2025 08:40:41 +0000 (15:40 +0700)]
doc/radosgw: Fix indentation in cloud-transition.rst

Indent the second paragraph of a list item at the same level as the
previous paragraph. The unexpected indentation resulted in an ERROR from
Sphinx but it was still rendered with increased indentation looking
rather out of place.

Capitalize the first letter similarly to the previous paragraph.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2 months agodoc/rados/operations: Fix unordered list in health-checks.rst 63320/head
Ville Ojamo [Fri, 16 May 2025 08:26:56 +0000 (15:26 +0700)]
doc/rados/operations: Fix unordered list in health-checks.rst

Fix missing empty line before an unordered list that caused it to be
rendered wrong.

Also, the sentences in each list item start with a capital case letter
so add the missing full stop at the end.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2 months agodoc/rados/operations: Fix invalid hyperlink in crush-map-edits.rst 63318/head
Ville Ojamo [Fri, 16 May 2025 08:14:09 +0000 (15:14 +0700)]
doc/rados/operations: Fix invalid hyperlink in crush-map-edits.rst

Fix attempted use of underscores for inline emphasis which resulted in
the text being emphasized to be considered a link. The text was rendered
partially as a link to an invalid anchor "#id3".

Instead use inline italic for formatting emphasis.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2 months agoMerge pull request #63293 from bluikko/doc-multisite-ref-radosgw
Zac Dover [Fri, 16 May 2025 03:14:36 +0000 (13:14 +1000)]
Merge pull request #63293 from bluikko/doc-multisite-ref-radosgw

doc/radosgw: Use ref for hyperlinking to multisite

Reviewed-by: Kefu Chai <tchaikov@gmail.com>