]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
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 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 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 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 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 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>
2 months agodoc/cephfs: specify mount path in example command 63309/head
Joshua Blanch [Fri, 16 May 2025 01:26:25 +0000 (01:26 +0000)]
doc/cephfs: specify mount path in example command

The example command for mounting CephFS was missing the local mount path.

Signed-off-by: Joshua Blanch <joshua.blanch@clyso.com>
2 months agotools/ceph_dedup: add modelines for emacs and vim
Kefu Chai [Thu, 15 May 2025 06:58:22 +0000 (14:58 +0800)]
tools/ceph_dedup: add modelines for emacs and vim

add modelines for emacs and vim so that the source code is formatted
with expected alignment even if the editor's default setting is not
match with the expected settings.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2 months agoMerge pull request #63279 from rhcs-dashboard/fix-promql-query-tests
Nizamudeen A [Thu, 15 May 2025 18:06:03 +0000 (23:36 +0530)]
Merge pull request #63279 from rhcs-dashboard/fix-promql-query-tests

mgr/dashboard: fix flaky promql query test

2 months agoMerge pull request #63301 from zdover23/wip-doc-2025-05-15-mgr-dashboard-62782-followup
Anthony D'Atri [Thu, 15 May 2025 15:45:54 +0000 (11:45 -0400)]
Merge pull request #63301 from zdover23/wip-doc-2025-05-15-mgr-dashboard-62782-followup

doc/mgr: edit dashboard.rst

2 months agoMerge pull request #61637 from Matan-B/wip-matanb-cmake-rel
Matan Breizman [Thu, 15 May 2025 13:38:02 +0000 (16:38 +0300)]
Merge pull request #61637 from Matan-B/wip-matanb-cmake-rel

CMakeLists: Fallback to RelWithDebInfo

Reviewed-by: Radosław Zarzyński <rzarzyns@redhat.com>
2 months agodoc/mgr: edit dashboard.rst 63301/head
Zac Dover [Thu, 15 May 2025 13:24:58 +0000 (23:24 +1000)]
doc/mgr: edit dashboard.rst

Edit doc/mgr/crash.rst. Add prompts.

This changes eighty-nine prompts. Because this makes so many changes,
all other edits included in https://github.com/ceph/ceph/pull/63255 will
be made in a separate commit. This done for the sake of the patience of
the reviewers (probably Anthony, if history is any guide).

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 agocommon: fix backtrace leak in __ceph_abort and friends 63300/head
Kefu Chai [Thu, 15 May 2025 13:03:33 +0000 (21:03 +0800)]
common: fix backtrace leak in __ceph_abort and friends

Previously, in __ceph_abort and related abort handlers, we allocated
ClibBackTrace instances using raw pointers without proper cleanup. Since
these handlers terminate execution, the leaks didn't affect production
systems but were correctly flagged by ASan during testing:

```
Direct leak of 288 byte(s) in 1 object(s) allocated from:
    #0 0x55aefe8cb65d in operator new(unsigned long) (/home/jenkins-build/build/workspace/ceph-pull-requests/build/bin/unittest_ceph_assert+0x1f465d) (BuildId: a4faeddac80b0d81062bd53ede3388c0c10680bc)
    #1 0x7f3b84da988d in ceph::__ceph_assertf_fail(char const*, char const*, int, char const*, char const*, ...) /home/jenkins-build/build/workspace/ceph-pull-requests/src/common/assert.cc:157:21
    #2 0x55aefe8cf04b in supressed_assertf_line22() /home/jenkins-build/build/workspace/ceph-pull-requests/src/test/ceph_assert.cc:22:3
    #3 0x55aefe8ce4e6 in CephAssertDeathTest_ceph_assert_supresssions_Test::TestBody() /home/jenkins-build/build/workspace/ceph-pull-requests/src/test/ceph_assert.cc:31:3
    #4 0x55aefe99135d in void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /home/jenkins-build/build/workspace/ceph-pull-requests/src/googletest/googletest/src/gtest.cc:2653:10
    #5 0x55aefe94f015 in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /home/jenkins-build/build/workspace/ceph-pull-requests/src/googletest/googletest/src/gtest.cc:2689:14
...
```

This commit resolves the issue by using std::unique_ptr to manage the
lifecycle of backtrace objects, ensuring proper cleanup even in
non-returning functions. While these leaks had no practical impact in
production (as the process terminates anyway), fixing them improves code
quality and eliminates false positives in memory analysis tools.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2 months agoMerge pull request #63256 from zdover23/wip-doc-2025-05-13-dev-cephfs-mirroring-63237...
Zac Dover [Thu, 15 May 2025 12:59:59 +0000 (22:59 +1000)]
Merge pull request #63256 from zdover23/wip-doc-2025-05-13-dev-cephfs-mirroring-63237-followup-1-of-x

doc/dev/cephfs-mirroring: edit file 1 of x

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 months agomgr/dashboard: fix flaky promql query test 63279/head
Aashish Sharma [Wed, 14 May 2025 08:05:10 +0000 (13:35 +0530)]
mgr/dashboard: fix flaky promql query test

There is a test collision in "promql-query-test" test suite because two different IOPS panels with the same title and legend labels (Read, Write) are present, and the test framework is not able to distinguish between them.
There are two panels with the same title IOPS and legends Read / Write, but different expressions:\
1. ceph-application-overview.json
2. ceph-cluster-advanced.json

Fixes: https://tracker.ceph.com/issues/71318
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2 months agocrimson/os/seastore/linked_tree_node: correct balance pivots calculation
Xuehan Xu [Sun, 11 May 2025 08:06:17 +0000 (16:06 +0800)]
crimson/os/seastore/linked_tree_node: correct balance pivots calculation
for both fixed-kv tree and omap tree

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
2 months agodoc/radosgw: Use ref for hyperlinking to multisite 63293/head
Ville Ojamo [Thu, 15 May 2025 09:46:21 +0000 (16:46 +0700)]
doc/radosgw: Use ref for hyperlinking to multisite

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

Also use existing label for linking from multisite.rst.
Fix a broken link within multisite.rst.

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 agoMerge pull request #63163 from bluikko/doc-dynreshard-cosmetic-radosgw
Anthony D'Atri [Thu, 15 May 2025 07:28:54 +0000 (03:28 -0400)]
Merge pull request #63163 from bluikko/doc-dynreshard-cosmetic-radosgw

doc/radosgw: Cosmetic improvements in dynamicresharding.rst

2 months agoMerge pull request #62926 from ankitk18/add/size-input
afreen23 [Thu, 15 May 2025 06:33:45 +0000 (12:03 +0530)]
Merge pull request #62926 from ankitk18/add/size-input

mgr/dashboard:Added a dropdown menu for all size inputs.

Reviewed-by: Afreen Misbah <afreen@ibm.com>
2 months agodoc/radosgw: Cosmetic improvements in dynamicresharding.rst 63163/head
Ville Ojamo [Wed, 7 May 2025 09:48:24 +0000 (16:48 +0700)]
doc/radosgw: Cosmetic improvements in dynamicresharding.rst

Make reference to config section a hyperlink.

Capitalization consistency: use title case in section titles, fix two
invalid capitalizations in text.

Promptify CLI example commands.

A JSON key-value pair is a "property" and not an "object".

Use an ordered list instead of inline code with hardcoded list numbers.

Use the American "canceled" (majority of occurrences in doc/) instead of
"cancelled".

Use admonitions instead of spelling out "Note:".
Clarify language on sharding cleanup for multisite.

Format JSON keys as inline code.

Indent example JSON output from radosgw-admin correctly (same as real
output) with 4 spaces.

Use colon instead of full stop at the end of text that describes the
following example command. Move admonition to after such example
command.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2 months agoRevert "mgr/volumes: handle bad arguments during subvolume create" 63281/head
Venky Shankar [Wed, 14 May 2025 10:17:21 +0000 (11:17 +0100)]
Revert "mgr/volumes: handle bad arguments during subvolume create"

PR https://github.com/ceph/ceph/pull/53989 is causing failures in
fs:upgrade. Also, @VallariAg reported an issue with something
similar. I don't think adequate tests were run to qualify the PR
as mergeable. Reverting the change for now.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2 months agoqa/suites/crimson-rados:Seastore (recovery) thrash tests 63166/head
Matan Breizman [Wed, 7 May 2025 12:34:35 +0000 (12:34 +0000)]
qa/suites/crimson-rados:Seastore (recovery) thrash tests

Seastore is currently only being tested with thrash_simpe without recovery.
This commit adds recovery thrash tests with radosbench only for now.
Other workloads, mainly `ceph_test_rados` (rados) are not yet supported.
See: https://tracker.ceph.com/issues/71237

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2 months agoMerge pull request #63226 from Matan-B/wip-matanb-crimson-thrash-stale-osdmaps
Matan Breizman [Wed, 14 May 2025 07:58:35 +0000 (10:58 +0300)]
Merge pull request #63226 from Matan-B/wip-matanb-crimson-thrash-stale-osdmaps

qa/suites/crimson-rados: disable chance_trim_stale_osdmaps

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2 months agodoc/dev/cephfs-mirroring: edit file 1 of x 63256/head
Zac Dover [Tue, 13 May 2025 06:31:42 +0000 (16:31 +1000)]
doc/dev/cephfs-mirroring: edit file 1 of x

Add prompts (and perform necessary corrections to glaring grammatical
errors) to doc/dev/cephfs-mirroring.rst, as requested by Jos Collin in https://github.com/ceph/ceph/pull/63237/files#r2085886075.

This commit edits the first quarter of the doc/dev/cephfs-mirroring.rst
file. This commit encompasses about one-hundred lines of RST.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 months agoMerge PR #63221 into main
Patrick Donnelly [Tue, 13 May 2025 15:35:19 +0000 (11:35 -0400)]
Merge PR #63221 into main

* refs/pull/63221/head:
script: ignore main branch when cleaning ci

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 months agoMerge pull request #63255 from zdover23/wip-doc-2025-05-13-mgr-crash-62782-followup
Anthony D'Atri [Tue, 13 May 2025 14:07:09 +0000 (10:07 -0400)]
Merge pull request #63255 from zdover23/wip-doc-2025-05-13-mgr-crash-62782-followup

doc/mgr: edit crash.rst

2 months agoMerge pull request #63259 from zdover23/wip-doc-2025-05-13-dev-cephfs-mirroring-63237...
Anthony D'Atri [Tue, 13 May 2025 14:05:26 +0000 (10:05 -0400)]
Merge pull request #63259 from zdover23/wip-doc-2025-05-13-dev-cephfs-mirroring-63237-followup-2-of-x

doc/dev/cephfs-mirroring: edit file 2 of x

2 months agoMerge pull request #63253 from zdover23/wip-doc-2025-05-13-monitoring-index
Anthony D'Atri [Tue, 13 May 2025 14:03:11 +0000 (10:03 -0400)]
Merge pull request #63253 from zdover23/wip-doc-2025-05-13-monitoring-index

doc/monitoring: correct list formatting

2 months agoMerge pull request #63254 from zdover23/wip-doc-2025-05-13-cephfs-link-fix
Anthony D'Atri [Tue, 13 May 2025 14:01:43 +0000 (10:01 -0400)]
Merge pull request #63254 from zdover23/wip-doc-2025-05-13-cephfs-link-fix

doc/cephfs: correct reference structure in fs-volumes.rst

2 months agoMerge pull request #63252 from zdover23/wip-doc-2025-05-13-mgr-dashboard-prompt-corre...
Anthony D'Atri [Tue, 13 May 2025 14:01:04 +0000 (10:01 -0400)]
Merge pull request #63252 from zdover23/wip-doc-2025-05-13-mgr-dashboard-prompt-correction

doc/mgr/dashboard: s/promt/prompt/ in dashboard.rst.

2 months agorgw/zone: remove duplicated startup logic in RGWSI_Zone 63266/head
Casey Bodley [Tue, 13 May 2025 13:42:32 +0000 (09:42 -0400)]
rgw/zone: remove duplicated startup logic in RGWSI_Zone

SiteConfig had already loaded the correct configuration without all of
the crazy search_realm_with_zone() stuff which is now confused by
defaults. remove all of this duplicated logic and rely on SiteConfig

removes functions search_realm_with_zone() create_default_zg() and
init_default_zone() which are no longer used

Fixes: https://tracker.ceph.com/issues/71291
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 months agoMerge pull request #63233 from Matan-B/wip-matanb-crimson-error-reply
Matan Breizman [Tue, 13 May 2025 13:01:52 +0000 (16:01 +0300)]
Merge pull request #63233 from Matan-B/wip-matanb-crimson-error-reply

crimson/osd/pg: set log_entry_update_waiting_on prior to sending requests

Reviewed-by: Samuel Just <sjust@redhat.com>
2 months agoMerge PR #63194 into main
Venky Shankar [Tue, 13 May 2025 12:58:44 +0000 (18:28 +0530)]
Merge PR #63194 into main

* refs/pull/63194/head:
tools/cephfs/first-damage: default conf if CEPH_CONF not set

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 months agoMerge pull request #62841 from cloudbehl/grafana-application-overview
afreen23 [Tue, 13 May 2025 12:27:57 +0000 (17:57 +0530)]
Merge pull request #62841 from cloudbehl/grafana-application-overview

mgr/dashboard: Add application overview page to grafana

Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
2 months agoMerge PR #62025 into main
Venky Shankar [Tue, 13 May 2025 10:21:10 +0000 (15:51 +0530)]
Merge PR #62025 into main

* refs/pull/62025/head:
client: disallow unprivileged users to escalate root privileges

Reviewed-by: Milind Changire <mchangir@redhat.com>
2 months agomgr/dashboard: Add application overview page to grafana 62841/head
Ankush Behl [Wed, 16 Apr 2025 07:53:57 +0000 (13:23 +0530)]
mgr/dashboard: Add application overview page to grafana

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

Signed-off-by: Ankush Behl <cloudbehl@gmail.com>
2 months agoMerge pull request #63231 from rhcs-dashboard/skip-cephfs-tests
Nizamudeen A [Tue, 13 May 2025 07:08:24 +0000 (12:38 +0530)]
Merge pull request #63231 from rhcs-dashboard/skip-cephfs-tests

qa/tests: skipping test_cephfs_clients_get_after_mds_down in test_cephfs

2 months agoqa/suites/crimson-rados: disable chance_trim_stale_osdmaps 63226/head
Matan Breizman [Mon, 12 May 2025 08:23:39 +0000 (08:23 +0000)]
qa/suites/crimson-rados: disable chance_trim_stale_osdmaps

Avoid "no valid command" in teuthology logs.
trim stale osdmaps is not planned to be introduce soon:
See: https://tracker.ceph.com/issues/65288

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2 months agodoc/dev/cephfs-mirroring: edit file 2 of x 63259/head
Zac Dover [Tue, 13 May 2025 06:58:39 +0000 (16:58 +1000)]
doc/dev/cephfs-mirroring: edit file 2 of x

Add prompts (and perform necessary corrections to glaring grammatical
errors) to doc/dev/cephfs-mirroring.rst, as requested by Jos Collin in
https://github.com/ceph/ceph/pull/63237/files#r2085886075.

This commit edits the second quarter of the doc/dev/cephfs-mirroring.rst
file. This commit encompasses about one-hundred lines of RST.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 months agodoc/mgr: edit crash.rst 63255/head
Zac Dover [Tue, 13 May 2025 06:17:39 +0000 (16:17 +1000)]
doc/mgr: edit crash.rst

Edit doc/mgr/crash.rst. Add prompts and correct some of the inelegant
English present in the file.

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.

Credit for this initiative should go to Ville Ojamo.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 months agodoc/cephfs: correct reference structure in fs-volumes.rst 63254/head
Zac Dover [Tue, 13 May 2025 05:58:57 +0000 (15:58 +1000)]
doc/cephfs: correct reference structure in fs-volumes.rst

Correct the links to cross-references in the cases of the following two
directives:

1. pause-clone-threads
2. pause-purge-threads

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit e59364f152847eabbedfe7fc72dfb66e7378b72b)