]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 days agocrimson/os/seastore/lba_manager: add the interface method to remove
Xuehan Xu [Fri, 22 Aug 2025 07:58:08 +0000 (07:58 +0000)]
crimson/os/seastore/lba_manager: add the interface method to remove
indirect mapping without touching the corresponding direct one

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
8 days agocrimson/os/seastore/transaction_manager: rewrite remove_mappings_in_range with coroutine
Xuehan Xu [Fri, 22 Aug 2025 14:59:09 +0000 (22:59 +0800)]
crimson/os/seastore/transaction_manager: rewrite remove_mappings_in_range with coroutine

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
8 days agoMerge pull request #65018 from athanatos/sjust/wip-store-bench-2
Samuel Just [Thu, 21 Aug 2025 23:05:10 +0000 (16:05 -0700)]
Merge pull request #65018 from athanatos/sjust/wip-store-bench-2

crimson/tool/crimson-store-bench: rework command line parsing, other fixes

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
8 days agoMerge pull request #62017 from anthonyeleven/pg-target
Anthony D'Atri [Thu, 21 Aug 2025 21:22:22 +0000 (16:22 -0500)]
Merge pull request #62017 from anthonyeleven/pg-target

src/common/options: Clarify mon_target_pg_per_osd in mgr.yaml.in

8 days agoMerge pull request #65052 from anthonyeleven/pending
Anthony D'Atri [Thu, 21 Aug 2025 21:14:23 +0000 (16:14 -0500)]
Merge pull request #65052 from anthonyeleven/pending

doc: Improve PendingReleaseNotes

8 days agoMerge pull request #63858 from anthonyeleven/crimsoneye
Anthony D'Atri [Thu, 21 Aug 2025 21:12:20 +0000 (16:12 -0500)]
Merge pull request #63858 from anthonyeleven/crimsoneye

src/crimson: Improve message

8 days agoMerge pull request #64053 from anthonyeleven/oompaloompa
Anthony D'Atri [Thu, 21 Aug 2025 21:10:52 +0000 (16:10 -0500)]
Merge pull request #64053 from anthonyeleven/oompaloompa

doc: Improve central config log documentation

8 days agodoc: Improve PendingReleaseNotes 65052/head
Anthony D'Atri [Thu, 14 Aug 2025 16:54:13 +0000 (09:54 -0700)]
doc: Improve PendingReleaseNotes

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
8 days agoMerge pull request #63594 from ifed01/wip-ifed-max-perf-count
Igor Fedotov [Thu, 21 Aug 2025 19:13:21 +0000 (22:13 +0300)]
Merge pull request #63594 from ifed01/wip-ifed-max-perf-count

common/perf_counters: track maximum increment value for LONGRUNAVG perf

Reviewed-by: Ronnen Friedman <rfriedma@ibm.com>
8 days agoMerge pull request #65174 from JonBailey1993/fix-signed-compare-warning
Ronen Friedman [Thu, 21 Aug 2025 18:13:12 +0000 (21:13 +0300)]
Merge pull request #65174 from JonBailey1993/fix-signed-compare-warning

erasure-code/consistency: Fixed signed-compare warning in Consistency Checker

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
8 days agocrimson/.../store-bench: refactor arguments and workloads 65018/head
Samuel Just [Tue, 12 Aug 2025 00:36:16 +0000 (17:36 -0700)]
crimson/.../store-bench: refactor arguments and workloads

- Adds a workload abstraction grouping arguments with associated
  workload.
- Reworks argument parsing to occur prior to seastar app, allows
  passing unparsed arguments to ceph.
- Refactors time usages as necessary to use std::chrono types.
- Removes LOG_PREFIX usages that don't currently have log lines.
- Other minor cleanups not worth separating out.

Signed-off-by: Samuel Just <sjust@redhat.com>
8 days agocrimson/tools/CMakeLists: store-bench to use lsan_suppressions
Matan Breizman [Mon, 11 Aug 2025 09:45:38 +0000 (09:45 +0000)]
crimson/tools/CMakeLists: store-bench to use lsan_suppressions

```
=================================================================
==598386==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 8 byte(s) in 1 object(s) allocated from:
    #0 0x7fc37fefd578 in operator new(unsigned long) (/lib64/libasan.so.8+0xfd578) (BuildId: 8843146064a37d00e17ca27fd774b31ebc6d40e2)
    #1 0x7fc37fa2fb71 in MallocExtension::Register(MallocExtension*) (/lib64/libtcmalloc.so.4+0x2fb71) (BuildId: 5fec9a5a81e329ba0c333f14020599650d07af6f)

SUMMARY: AddressSanitizer: 8 byte(s) leaked in 1 allocation(s).
```

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
8 days agocrimson/tools/store_bench: bump up blocked_reactor_notify_ms
Matan Breizman [Mon, 11 Aug 2025 10:34:03 +0000 (10:34 +0000)]
crimson/tools/store_bench: bump up blocked_reactor_notify_ms

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
8 days agoMerge pull request #65017 from athanatos/sjust/wip-72579
Samuel Just [Thu, 21 Aug 2025 15:53:47 +0000 (08:53 -0700)]
Merge pull request #65017 from athanatos/sjust/wip-72579

crimson/.../fixed_kv_node: don't call copy_out if delta_buffer is empty

Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
8 days agoerasure-code/consistency: Fixed signed-compare warning in ConsistencyChecker 65174/head
Jon [Thu, 21 Aug 2025 15:43:06 +0000 (16:43 +0100)]
erasure-code/consistency: Fixed signed-compare warning in ConsistencyChecker

Signed-off-by: Jon Bailey <jonathan.bailey1@ibm.com>
9 days agoMerge pull request #64564 from JonBailey1993/ceph_test_rados_io_sequence_set_optimisa...
Jon Bailey [Thu, 21 Aug 2025 08:07:45 +0000 (09:07 +0100)]
Merge pull request #64564 from JonBailey1993/ceph_test_rados_io_sequence_set_optimisations_earlier

test/osd: Move initialisation of overwrites and optimisation earlier in ceph_test_rados_io_sequence

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
9 days agoMerge pull request #65139 from zdover23/wip-doc-2025-08-20-releases-squid-indentation
Zac Dover [Thu, 21 Aug 2025 07:50:56 +0000 (17:50 +1000)]
Merge pull request #65139 from zdover23/wip-doc-2025-08-20-releases-squid-indentation

doc/releases: remove RST-breaking indentation

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
9 days agoMerge pull request #65075 from tchaikov/wip-transaction-set-unused
Kefu Chai [Thu, 21 Aug 2025 07:18:06 +0000 (15:18 +0800)]
Merge pull request #65075 from tchaikov/wip-transaction-set-unused

os/Transaction: initialize unused fields in TransactionData

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Bill Scales <bill_scales@uk.ibm.com>
9 days agoMerge pull request #64833 from exkson/wip-exkson-ignore-invalid-loop-devices
Guillaume Abrioux [Thu, 21 Aug 2025 06:51:42 +0000 (08:51 +0200)]
Merge pull request #64833 from exkson/wip-exkson-ignore-invalid-loop-devices

ceph-volume: avoid RuntimeError on ceph-volume raw list with non-existent loop devices

9 days agoMerge pull request #65156 from phlogistonjohn/jjm-make-rpm-nicer
Dan Mick [Wed, 20 Aug 2025 23:34:23 +0000 (16:34 -0700)]
Merge pull request #65156 from phlogistonjohn/jjm-make-rpm-nicer

build-with-container:  improve source rpm detection

9 days agoMerge pull request #65055 from dmick/build-with-container-npmcache
John Mulligan [Wed, 20 Aug 2025 21:05:54 +0000 (17:05 -0400)]
Merge pull request #65055 from dmick/build-with-container-npmcache

pybind/mgr/dashboard/frontend: add NPM_CACHEDIR envvar, use in bwc

Reviewed-by: John Mulligan <jmulligan@redhat.com>
9 days agoMerge pull request #65069 from phlogistonjohn/jjm-fix-ports-remotectl
Adam King [Wed, 20 Aug 2025 20:55:33 +0000 (16:55 -0400)]
Merge pull request #65069 from phlogistonjohn/jjm-fix-ports-remotectl

smb: fix custom ports feature with remote-control sidecar

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anoop C S <anoopcs@samba.org>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
9 days agoMerge pull request #65147 from gbregman/main
Gil Bregman [Wed, 20 Aug 2025 19:22:25 +0000 (22:22 +0300)]
Merge pull request #65147 from gbregman/main

cephadm/cephadmlib: Eliminate false warnings about old sysctl conf files

9 days agoMerge pull request #65012 from aainscow/clang_signed_compare
Alex Ainscow [Wed, 20 Aug 2025 15:59:43 +0000 (16:59 +0100)]
Merge pull request #65012 from aainscow/clang_signed_compare

src: Add sign-compare warnings to clang

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
9 days agobuild-with-container: improve source rpm detection 65156/head
John Mulligan [Tue, 19 Aug 2025 23:12:07 +0000 (19:12 -0400)]
build-with-container: improve source rpm detection

Improve source rpm detection by adding a new detection method that
executes and rpm command in a container to get exactly the version of
the source rpm that the ceph.spec file would have generated.  For
backwards compatibility and that I don't entirely trust myself to have
tested this the old methods are still available.

The old `--rpm-no-match-sha` is now an alias for `--srpm-match=any` to
cause it to build any (unique) ceph srpm it finds.
`--srpm-match=versionglob` retains the previous default behavior of
using a glob matching on the git id or ceph version value.  The new
default of `--srpm-match=auto` implements the rpm command based behavior
described above.

All of this is wrapped in a new step `find-rpm` but that's mostly an
implementation detail and for testing.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
9 days agomake-srpm.sh: don't shell out redundantly to pwd
John Mulligan [Tue, 19 Aug 2025 19:03:51 +0000 (15:03 -0400)]
make-srpm.sh: don't shell out redundantly to pwd

Just something that annoyed me while reading the script.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
10 days agoMerge pull request #65140 from rhcs-dashboard/shared-component-style-fixes
afreen23 [Wed, 20 Aug 2025 12:11:36 +0000 (17:41 +0530)]
Merge pull request #65140 from rhcs-dashboard/shared-component-style-fixes

mgr/dashboard: style fixes for shared components

Reviewed-by: Afreen Misbah <afreen@ibm.com>
10 days agocephadm/cephadmlib: Eliminate false warnings about old sysctl conf files. 65147/head
Gil Bregman [Wed, 20 Aug 2025 09:48:54 +0000 (12:48 +0300)]
cephadm/cephadmlib: Eliminate false warnings about old sysctl conf files.

Fixes: https://tracker.ceph.com/issues/72657
Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
10 days agoMerge pull request #64979 from zhscn/fix-2q-empty-extents
Matan Breizman [Wed, 20 Aug 2025 08:38:24 +0000 (11:38 +0300)]
Merge pull request #64979 from zhscn/fix-2q-empty-extents

crimson/os/seastore/2Q: don't add empty extents to the warm out queue

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
10 days agosrc: Add sign-compare warnings to clang 65012/head
Alex Ainscow [Wed, 13 Aug 2025 11:03:21 +0000 (12:03 +0100)]
src: Add sign-compare warnings to clang

For a while, GCC has generated warnings about sign errors. A common
mistake if compiling with clang was to accidentally introduce signedness
errors, which were picked up by the GCC builds.

This occurs due to an inconsistency in -Wall implementation between clang
and gcc: gcc includes sign-compare, clang does not.

See:
https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wall
vs
https://clang.llvm.org/docs/DiagnosticsReference.html#wall

Note that sign-compare is included under -Wextra for clang:
https://clang.llvm.org/docs/DiagnosticsReference.html#wextra

Clang will now generate similar warnings with -Wsign-compare:
https://clang.llvm.org/docs/DiagnosticsReference.html#wsign-compare

Interestingly, if specified on its own, -Wsign-compare will include
C, whereas gcc -Wall affects C++ only. Therefore we must work around
this in the make file to emulate the GCC behaviour in clang builds.

Also fix a couple of warnings found in some tests.

Signed-off-by: Alex Ainscow <aainscow@uk.ibm.com>
10 days agomgr/dashboard: style fixes for shared components 65140/head
Naman Munet [Wed, 20 Aug 2025 06:11:20 +0000 (11:41 +0530)]
mgr/dashboard: style fixes for shared components

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

Signed-off-by: Naman Munet <naman.munet@ibm.com>
10 days agodoc/releases: remove RST-breaking indentation 65139/head
Zac Dover [Wed, 20 Aug 2025 05:55:08 +0000 (15:55 +1000)]
doc/releases: remove RST-breaking indentation

Add a blank line before an unordered list so that Sphinx stops crying
every time we build the docs.

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

10 days agoMerge pull request #65128 from zdover23/wip-doc-2025-08-19-rados-config-mon-config-ref
Zac Dover [Wed, 20 Aug 2025 05:45:18 +0000 (15:45 +1000)]
Merge pull request #65128 from zdover23/wip-doc-2025-08-19-rados-config-mon-config-ref

doc/rados: repair short underline

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
10 days agoos/Transaction: initialize unused fields in TransactionData 65075/head
Kefu Chai [Mon, 18 Aug 2025 02:41:07 +0000 (10:41 +0800)]
os/Transaction: initialize unused fields in TransactionData

Initialize unused1, unused2, and unused3 fields to zero in TransactionData
to ensure consistent encoding/decoding behavior.

Background:
In commit a0c9fec7, we updated TransactionData encoding/decoding and bumped
the Transaction encoding version from 9 to 10. As part of this change, we
renamed three fields to mark them as unused:
- largest_data_len → unused1
- largest_data_off → unused2
- largest_data_off_in_data_bl → unused3

The move constructor was also updated to stop setting these fields, leaving
them uninitialized after move operations.

Problem:
This worked with existing tests because check-generated.sh reused struct
instances, preserving stale values across encode/decode cycles. However,
an upcoming test change will stop reusing instances and compare hexdumps
of encoded/re-encoded values to verify consistency. Uninitialized fields
cause these comparisons to fail due to garbage values.

Solution:
Initialize the unused fields to zero in the move constructor. This preserves
existing behavior while ensuring consistent encoding. These fields can be
removed entirely in a future change.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
10 days agoMerge pull request #65103 from ljflores/wip-tracker-72594
Yuri Weinstein [Wed, 20 Aug 2025 01:50:33 +0000 (18:50 -0700)]
Merge pull request #65103 from ljflores/wip-tracker-72594

debian/control: install libnuma-dev unconditionally

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Matan Breizman <Matan.Brz@gmail.com>
10 days agoMerge pull request #64988 from joscollin/wip-update-mirror-doc
Jos Collin [Wed, 20 Aug 2025 00:37:34 +0000 (06:07 +0530)]
Merge pull request #64988 from joscollin/wip-update-mirror-doc

doc: update cephfs-mirror replication

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
10 days agocrimson/.../fixed_kv_node: don't call copy_out if delta_buffer is empty 65017/head
Samuel Just [Wed, 13 Aug 2025 16:54:35 +0000 (09:54 -0700)]
crimson/.../fixed_kv_node: don't call copy_out if delta_buffer is empty

Cache::mark_transaction_conflicted calls get_delta(), which in turn
calls FixedKVNodeLayout::copy_out for lba nodes. If the mutation_pending
extent happens not to have any deltas, it'll fail in memcpy in
FixedKVNodeLayout::copy_out.

I think this is valid because a transaction may become conflicted
between when duplicate_for_write is called and when the actual mutation
is performed on the extent.

Fixes: https://tracker.ceph.com/issues/72579
Signed-off-by: Samuel Just <sjust@redhat.com>
11 days agoMerge pull request #64864 from chrisphoffman/wip-choffman-72355
Christopher Hoffman [Tue, 19 Aug 2025 14:07:28 +0000 (10:07 -0400)]
Merge pull request #64864 from chrisphoffman/wip-choffman-72355

client: use path supplied in statfs

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Reviewed-by: Frank S. Filz <ffilzlnx@mindspring.com>
11 days agodoc/rados: repair short underline 65128/head
Zac Dover [Tue, 19 Aug 2025 13:42:49 +0000 (23:42 +1000)]
doc/rados: repair short underline

Repair a too-short underline that was introduced in
https://github.com/ceph/ceph/commit/babd3c00341c59cb82e66f93f41c687ab4fc6928.

Signed-off-by: Zac Dover <zac.dover@proton.me>
11 days agoMerge pull request #64929 from zdover23/wip-doc-2025-08-10-cephfs-troubleshooting-2
Zac Dover [Tue, 19 Aug 2025 13:00:29 +0000 (23:00 +1000)]
Merge pull request #64929 from zdover23/wip-doc-2025-08-10-cephfs-troubleshooting-2

doc/cephfs: edit troubleshooting.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
11 days agoMerge pull request #65084 from avanthakkar/fix-smb-metadata-collection
Adam King [Tue, 19 Aug 2025 12:47:10 +0000 (08:47 -0400)]
Merge pull request #65084 from avanthakkar/fix-smb-metadata-collection

mgr/prometheus: fix enabled_modules check for smb metadata

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
11 days agoMerge pull request #65048 from ronen-fr/wip-rf-newdump
Ronen Friedman [Tue, 19 Aug 2025 11:38:25 +0000 (14:38 +0300)]
Merge pull request #65048 from ronen-fr/wip-rf-newdump

qa/standalone/scrub: re-code osd-scrub-dump.sh to test scrub repair

Reviewed-by: Jon Bailey <jonathan.bailey1@ibm.com>
11 days agoMerge pull request #64835 from cloudbehl/rbd-metadata
Aashish Sharma [Tue, 19 Aug 2025 10:00:30 +0000 (15:30 +0530)]
Merge pull request #64835 from cloudbehl/rbd-metadata

prometheus: Add RBD image metadata to prometheus

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
11 days agodoc/cephfs: edit troubleshooting.rst 64929/head
Zac Dover [Sun, 10 Aug 2025 10:38:33 +0000 (20:38 +1000)]
doc/cephfs: edit troubleshooting.rst

Edit the section "ceph-fuse" in the file doc/cephfs/troubleshooting.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
11 days agoMerge pull request #65021 from zdover23/wip-doc-2025-08-14-cephfs-troubleshooting
Zac Dover [Tue, 19 Aug 2025 08:44:40 +0000 (18:44 +1000)]
Merge pull request #65021 from zdover23/wip-doc-2025-08-14-cephfs-troubleshooting

doc/cephfs: edit troubleshooting.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
11 days agoqa/standalone/scrub: re-code osd-scrub-dump.sh to test scrub repair functionality. 65048/head
Ronen Friedman [Thu, 7 Aug 2025 04:54:30 +0000 (23:54 -0500)]
qa/standalone/scrub: re-code osd-scrub-dump.sh to test scrub repair functionality.

The new version of osd-scrub-dump.sh is designed to
allow multiple "corruption methods" on a subset of objects.
The functionality includes specifying:
- the number of objects created;
- the number to have their Primary version modified;
- the number to have their Replicas modified;
- the set of "manipulations" to perform on the objects.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
11 days agodebian/control: install libnuma-dev unconditionally 65103/head
Dan Mick [Mon, 18 Aug 2025 19:15:42 +0000 (12:15 -0700)]
debian/control: install libnuma-dev unconditionally

The arm64-only module uadk needs numa.h to build; nothing else
ensures it's available.  Make it an unconditional ceph build
dependency on behalf of the arm64 build.

Fixes: https://tracker.ceph.com/issues/72594
Signed-off-by: Dan Mick <dan.mick@redhat.com>
11 days agoMerge pull request #65020 from rhcs-dashboard/tiering-glacier-target-sc
afreen23 [Mon, 18 Aug 2025 15:25:43 +0000 (20:55 +0530)]
Merge pull request #65020 from rhcs-dashboard/tiering-glacier-target-sc

mgr/dashboard: [RGW] - Target Storage Class in s3 tiering Config

Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
12 days agoMerge pull request #64940 from zdover23/wip-doc-2025-08-11-cephfs-troubleshooting-2
Zac Dover [Mon, 18 Aug 2025 13:50:53 +0000 (23:50 +1000)]
Merge pull request #64940 from zdover23/wip-doc-2025-08-11-cephfs-troubleshooting-2

doc/cephfs: edit troubleshooting.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
12 days agoMerge pull request #64931 from zdover23/wip-doc-2025-08-10-cephfs-troubleshooting-4
Zac Dover [Mon, 18 Aug 2025 13:48:36 +0000 (23:48 +1000)]
Merge pull request #64931 from zdover23/wip-doc-2025-08-10-cephfs-troubleshooting-4

doc/cephfs: edit troubleshooting.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
12 days agoMerge pull request #64928 from zdover23/wip-doc-2025-08-10-cephfs-troubleshooting
Zac Dover [Mon, 18 Aug 2025 13:45:42 +0000 (23:45 +1000)]
Merge pull request #64928 from zdover23/wip-doc-2025-08-10-cephfs-troubleshooting

doc/cephfs: edit troubleshooting.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
12 days agoMerge pull request #64921 from zdover23/wip-doc-2025-08-09-cephfs-troubleshooting
Zac Dover [Mon, 18 Aug 2025 13:43:05 +0000 (23:43 +1000)]
Merge pull request #64921 from zdover23/wip-doc-2025-08-09-cephfs-troubleshooting

doc/cephfs: edit troubleshooting.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
12 days agotasks/cephfs: Use different errmsg for invalid dir 64864/head
Christopher Hoffman [Mon, 18 Aug 2025 13:02:59 +0000 (13:02 +0000)]
tasks/cephfs: Use different errmsg for invalid dir

During test_df_for_invalid_directory, path_walk is now called.
Use a more general error message as more errnos can be returned
and this will be a better catch all.

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
12 days agodoc/cephfs: edit troubleshooting.rst 65021/head
Zac Dover [Thu, 14 Aug 2025 05:20:53 +0000 (15:20 +1000)]
doc/cephfs: edit troubleshooting.rst

Edit the section "In-memory log dumps" in
doc/cephfs/troubleshooting.rst.

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

fixup

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
12 days agomgr/prometheus: fix enabled_modules check for smb metadata 65084/head
Avan Thakkar [Mon, 18 Aug 2025 09:12:12 +0000 (14:42 +0530)]
mgr/prometheus: fix enabled_modules check for smb metadata

For get_smb_metadata check for enabled modules from mgr_map instead of available modules
to get list of mgr modules which are enabled on active mgr.

Signed-off-by: Avan Thakkar <athakkar@redhat.com>
12 days agoMerge pull request #64626 from xxhdx1985126/wip-72173
Matan Breizman [Mon, 18 Aug 2025 09:11:45 +0000 (12:11 +0300)]
Merge pull request #64626 from xxhdx1985126/wip-72173

crimson/os/seastore: add support for OP_SPLIT_COLLECTION2

Reviewed-by: Samuel Just <sjust@redhat.com>
12 days agoMerge pull request #64828 from xxhdx1985126/wip-71363
Matan Breizman [Mon, 18 Aug 2025 09:09:56 +0000 (12:09 +0300)]
Merge pull request #64828 from xxhdx1985126/wip-71363

crimson/os/seastore: link RetiredExtentPlaceholder up to lba leaf nodes

Reviewed-by: Samuel Just <sjust@redhat.com>
12 days agoMerge pull request #64698 from rhcs-dashboard/72044-make-grafana-iframe-scrollable...
Nizamudeen A [Mon, 18 Aug 2025 09:04:27 +0000 (14:34 +0530)]
Merge pull request #64698 from rhcs-dashboard/72044-make-grafana-iframe-scrollable-and-height-consistent

mgr/dashboard: Made expandable table row height consistent across the cluster

12 days agoMerge pull request #65051 from jannisspeer/patch-4
Zac Dover [Mon, 18 Aug 2025 08:53:12 +0000 (18:53 +1000)]
Merge pull request #65051 from jannisspeer/patch-4

doc/cephfs: Update quota.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
12 days agoMerge pull request #64772 from rhcs-dashboard/form-and-style-fixes
afreen23 [Mon, 18 Aug 2025 07:40:03 +0000 (13:10 +0530)]
Merge pull request #64772 from rhcs-dashboard/form-and-style-fixes

mgr/dashboard: form and style fixes

Reviewed-by: Afreen Misbah <afreen@ibm.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
12 days agodoc/cephfs: Update quota.rst 65051/head
Jannis Speer [Thu, 14 Aug 2025 16:49:48 +0000 (18:49 +0200)]
doc/cephfs: Update quota.rst

Make the user aware to adapt the client capabilities to enable the configuration of quotas.

Signed-off-by: Jannis Speer <Jannis.speer@tutanota.com>
doc/cephfs: fix broken link

Signed-off-by: Zac Dover <zac.dover@proton.me>
12 days agoMerge pull request #64939 from zdover23/wip-doc-2025-08-11-cephfs-troubleshooting
Zac Dover [Mon, 18 Aug 2025 06:26:47 +0000 (16:26 +1000)]
Merge pull request #64939 from zdover23/wip-doc-2025-08-11-cephfs-troubleshooting

doc/cephfs: edit troubleshooting.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
12 days agodoc/cephfs: edit troubleshooting.rst 64939/head
Zac Dover [Mon, 11 Aug 2025 04:30:22 +0000 (14:30 +1000)]
doc/cephfs: edit troubleshooting.rst

Edit the section "Slow requests" in the file
doc/cephfs/troubleshooting.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
12 days agoMerge pull request #65022 from gbregman/main
Ilya Dryomov [Sun, 17 Aug 2025 19:37:06 +0000 (21:37 +0200)]
Merge pull request #65022 from gbregman/main

pybind/rados: Add list_lockers() and break_lock() to Rados Python interface

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
13 days agoMerge pull request #64980 from rhcs-dashboard/multi-cluster-subs-close
afreen23 [Sun, 17 Aug 2025 12:00:42 +0000 (17:30 +0530)]
Merge pull request #64980 from rhcs-dashboard/multi-cluster-subs-close

mgr/dashboard: close token status subscription properly

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
13 days agoMerge pull request #64945 from afreen23/fix-cap-thresholds
afreen23 [Sun, 17 Aug 2025 11:58:22 +0000 (17:28 +0530)]
Merge pull request #64945 from afreen23/fix-cap-thresholds

Replace capacity threshold data with prometheus metrics

Reviewed-by: Nizamudeen A <nia@redhat.com>
13 days agoMerge pull request #64731 from rishabh-d-dave/test_for_6_ongoing_clones
Venky Shankar [Sun, 17 Aug 2025 11:02:31 +0000 (16:32 +0530)]
Merge pull request #64731 from rishabh-d-dave/test_for_6_ongoing_clones

qa/cephfs: increase clones for test_for_6_ongoing_clones

Reviewed-by: Venky Shankar <vshankar@redhat.com>
13 days agoMerge PR #64702 into main
Venky Shankar [Sun, 17 Aug 2025 10:57:43 +0000 (16:27 +0530)]
Merge PR #64702 into main

* refs/pull/64702/head:

Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
13 days agoMerge pull request #64701 from izxl007/getattr
Venky Shankar [Sun, 17 Aug 2025 10:56:57 +0000 (16:26 +0530)]
Merge pull request #64701 from izxl007/getattr

fuse: improve error handling in fuse_ll_getattr

Reviewed-by: Venky Shankar <vshankar@redhat.com>
13 days agopybind/mgr/dashboard/frontend: add NPM_CACHEDIR envvar, use in bwc 65055/head
Dan Mick [Wed, 13 Aug 2025 19:16:45 +0000 (12:16 -0700)]
pybind/mgr/dashboard/frontend: add NPM_CACHEDIR envvar, use in bwc

Add an optional NPM_CACHEDIR environment variable to serve as the
cache parameter for npm in the dashboard frontend build.  The idea
is to allow it to persist across builds so that we decrease the load
on registry.npmjs.org, which has been throttling our requests when
using build-with-container.py, and also hopefully improve the time
of the frontend npm operations.

build-with-container.py also grows a --npm-cache-path option to allow
setting it for container builds and passing the envvar to the build.

Fixes: https://tracker.ceph.com/issues/72298
Signed-off-by: Dan Mick <dan.mick@redhat.com>
13 days agocephadm/smb: fix issue setting port of remote-control sidecar 65069/head
John Mulligan [Wed, 13 Aug 2025 16:59:24 +0000 (12:59 -0400)]
cephadm/smb: fix issue setting port of remote-control sidecar

Use the new set of constants to ensure all components that touch the smb
services use the same set of ports and port names.  Ensure that the
remote-control sidecar service's port can be customized.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
13 days agomgr/smb: update port validation to use new smb constants
John Mulligan [Wed, 13 Aug 2025 16:58:06 +0000 (12:58 -0400)]
mgr/smb: update port validation to use new smb constants

Make behavior consistent across the smb mgr module and the service spec
class by using the same set of constants.
Fix an issue supporting the customization of the `remote-control`
sidecar's port.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
13 days agoMerge pull request #64804 from soumyakoduri/wip-skoduri-restore-expdate
Soumya Koduri [Sat, 16 Aug 2025 17:48:59 +0000 (23:18 +0530)]
Merge pull request #64804 from soumyakoduri/wip-skoduri-restore-expdate

rgw/restore: Update expiry-date of restored copies

Reviewed-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 weeks agorgw/restore: Update expiry-date of restored copies 64804/head
Soumya Koduri [Thu, 31 Jul 2025 19:19:44 +0000 (00:49 +0530)]
rgw/restore: Update expiry-date of restored copies

As per AWS spec (https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html),
if a `restore-object` request is re-issued on already restored copy, server needs to
update restoration period relative to the current time. These changes handles the same.

Note: this applies to only temporary restored copies

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
2 weeks agopython-common: update smb service spec to use new smb constants
John Mulligan [Wed, 13 Aug 2025 15:08:40 +0000 (11:08 -0400)]
python-common: update smb service spec to use new smb constants

Update the SMBSpec class to use the new constants provided by the
recently added python-common smb package.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 weeks agopython-common: add a new smb sub package
John Mulligan [Wed, 13 Aug 2025 15:06:35 +0000 (11:06 -0400)]
python-common: add a new smb sub package

Add a new smb sub package for smb related things that are meant to
be shared throughout the Ceph python code related to smb and the
smb management stack.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2 weeks agoMerge pull request #64372 from phlogistonjohn/jjm-smb-remotectl
Adam King [Fri, 15 Aug 2025 16:03:42 +0000 (12:03 -0400)]
Merge pull request #64372 from phlogistonjohn/jjm-smb-remotectl

smb: add remote control server

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anoop C S <anoopcs@samba.org>
2 weeks agoMerge pull request #64787 from vshankar/wip-improve-cephfs-dr-doc
Zac Dover [Fri, 15 Aug 2025 02:12:25 +0000 (12:12 +1000)]
Merge pull request #64787 from vshankar/wip-improve-cephfs-dr-doc

doc/cephfs: update cephfs disaster recovery documentation

Reviewed-by: Zac Dover <zac.dover@proton.me>
2 weeks agoMerge pull request #64981 from zdover23/wip-doc-2025-08-12-cephfs-troubleshooting
Zac Dover [Thu, 14 Aug 2025 13:45:16 +0000 (23:45 +1000)]
Merge pull request #64981 from zdover23/wip-doc-2025-08-12-cephfs-troubleshooting

doc/cephfs: edit troubleshooting.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 weeks agoMerge pull request #64930 from zdover23/wip-doc-2025-08-10-cephfs-troubleshooting-3
Zac Dover [Thu, 14 Aug 2025 13:40:22 +0000 (23:40 +1000)]
Merge pull request #64930 from zdover23/wip-doc-2025-08-10-cephfs-troubleshooting-3

doc/cephfs: edit troubleshooting.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 weeks agoMerge pull request #64923 from zdover23/wip-doc-2025-08-09-cephfs-troubleshooting-3
Zac Dover [Thu, 14 Aug 2025 13:35:30 +0000 (23:35 +1000)]
Merge pull request #64923 from zdover23/wip-doc-2025-08-09-cephfs-troubleshooting-3

doc/cephfs: edit troubleshooting.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 weeks agoMerge pull request #64922 from zdover23/wip-doc-2025-08-09-cephfs-troubleshooting-2
Zac Dover [Thu, 14 Aug 2025 13:12:39 +0000 (23:12 +1000)]
Merge pull request #64922 from zdover23/wip-doc-2025-08-09-cephfs-troubleshooting-2

doc/cephfs: edit troubleshooting.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 weeks agoMerge pull request #64811 from ceph/fix-dependabot_dashboard_upgrades-main
Ernesto Puerta [Thu, 14 Aug 2025 12:09:31 +0000 (14:09 +0200)]
Merge pull request #64811 from ceph/fix-dependabot_dashboard_upgrades-main

dependabot: stop dashboard npm upgrade PRs

2 weeks agoerasure-code/consistency: Allow consistency checker to be able to deal with non-4k... 64564/head
Jon Bailey [Mon, 11 Aug 2025 11:51:42 +0000 (12:51 +0100)]
erasure-code/consistency: Allow consistency checker to be able to deal with non-4k aligned buffers

A parity returned to the client will be the size of shard 0, which may not be 4k aligned in optimised erasure coding. A parity returned through the encode function will always be 4k aligned. This change makes it so we truncate the encoded data down to the size of the client write before comparing them together in the consistency check so we know we are comparing them like-for-like

Signed-off-by: Jon Bailey <jonathan.bailey1@ibm.com>
2 weeks agotest/osd: Move initialisation of overwrites and optimisation earlier in ceph_test_rad...
Jon Bailey [Thu, 17 Jul 2025 15:51:58 +0000 (16:51 +0100)]
test/osd: Move initialisation of overwrites and optimisation earlier in ceph_test_rados_io_sequence

All other pool initialisation happens straight after pool creation, however these two items happen later on. This is just due to them being the first two rest calls added. We now have better and more logical places for this code and this commit is moving it into this structure.

Signed-off-by: Jon Bailey <jonathan.bailey1@ibm.com>
2 weeks agodoc/cephfs: edit troubleshooting.rst 64981/head
Zac Dover [Tue, 12 Aug 2025 06:44:05 +0000 (16:44 +1000)]
doc/cephfs: edit troubleshooting.rst

Edit the "Mount 5 Error" and "Mount 12 Error" sections of
doc/cephfs/troubleshooting.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 weeks agoMerge pull request #64982 from zdover23/wip-doc-2025-08-12-cephfs-troubleshooting-2
Zac Dover [Thu, 14 Aug 2025 08:32:36 +0000 (18:32 +1000)]
Merge pull request #64982 from zdover23/wip-doc-2025-08-12-cephfs-troubleshooting-2

doc/cephfs: edit troubleshooting.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 weeks agoMerge pull request #65008 from chanyoung/omap-fast-check-mappings
Matan Breizman [Thu, 14 Aug 2025 07:12:09 +0000 (10:12 +0300)]
Merge pull request #65008 from chanyoung/omap-fast-check-mappings

test/crimson/seastore/test_omap_manager: faster check mappings

Reviewed-by: Samuel Just <sjust@redhat.com>
2 weeks agopybind/rados: Add list_lockers() and break_lock() to Rados Python interface. 65022/head
Gil Bregman [Thu, 14 Aug 2025 05:55:49 +0000 (08:55 +0300)]
pybind/rados: Add list_lockers() and break_lock() to Rados Python interface.

Fixes: https://tracker.ceph.com/issues/72544
Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
2 weeks agomgr/dashboard: [RGW] - Target Storage Class in s3 tiering config 65020/head
Dnyaneshwari [Thu, 14 Aug 2025 05:15:52 +0000 (10:45 +0530)]
mgr/dashboard: [RGW] - Target Storage Class in s3 tiering config

Fixes: https://tracker.ceph.com/issues/72583
Signed-off-by: Dnyaneshwari Talwekar <dtalweka@redhat.com>
2 weeks agoMerge pull request #65013 from Naveenaidu/wip-naveen-update-cephadm-docs 64991/head
Naveen Naidu [Thu, 14 Aug 2025 03:44:39 +0000 (09:14 +0530)]
Merge pull request #65013 from Naveenaidu/wip-naveen-update-cephadm-docs

doc/man/cephadm: update `--orphan-initial-daemons` argument description

2 weeks agodoc: update cephfs-mirror replication 64988/head
Jos Collin [Tue, 12 Aug 2025 08:58:45 +0000 (14:28 +0530)]
doc: update cephfs-mirror replication

Mention cephfs-mirror replication is push-based

Signed-off-by: Jos Collin <jcollin@redhat.com>
2 weeks agoMerge pull request #63938 from tchaikov/wip-osd-recalc-decode
Kefu Chai [Thu, 14 Aug 2025 01:04:07 +0000 (09:04 +0800)]
Merge pull request #63938 from tchaikov/wip-osd-recalc-decode

osd: recalculate coll_t::_str during decode() to fix stale values

Reviewed-by: Samuel Just <sjust@redhat.com>
2 weeks agomgr/dashboard: Replace capacity threshold data with prometheus metrics 64945/head
Afreen Misbah [Mon, 11 Aug 2025 09:03:32 +0000 (14:33 +0530)]
mgr/dashboard: Replace capacity threshold data with prometheus metrics

- Fixes https://tracker.ceph.com/issues/72519
- the osd dump metrics is used in /api/osd/settings
- this metrics creates perf bottleneck when osds are 1000s
- replacing with similar prometheus metrics
- minor refactors - including renaming, comments.

Signed-off-by: Afreen Misbah <afreen@ibm.com>
2 weeks agoMerge pull request #61770 from rkachach/fix_issue_69484
Redouane Kachach [Wed, 13 Aug 2025 17:05:08 +0000 (19:05 +0200)]
Merge pull request #61770 from rkachach/fix_issue_69484

Prometheus configuration generation improvements

Reviewed-by: nizamial09 <nia@redhat.com>
2 weeks agoclient: bring client_lock out of statfs helper method
Christopher Hoffman [Mon, 11 Aug 2025 14:33:24 +0000 (14:33 +0000)]
client: bring client_lock out of statfs helper method

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
2 weeks agoclient: move mref_reader check in statfs out of helper
Christopher Hoffman [Mon, 11 Aug 2025 14:30:05 +0000 (14:30 +0000)]
client: move mref_reader check in statfs out of helper

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
2 weeks agotest: Add test for libcephfs statfs
Christopher Hoffman [Wed, 6 Aug 2025 15:47:46 +0000 (15:47 +0000)]
test: Add test for libcephfs statfs

Signed-off-by: Christopher Hoffman <choffman@redhat.com>
2 weeks agoclient: get quota root based off of provided inode in statfs
Christopher Hoffman [Tue, 5 Aug 2025 19:39:29 +0000 (19:39 +0000)]
client: get quota root based off of provided inode in statfs

In statfs, get quota_root for inode provided. Check if a quota
is directly applied to inode. If not, reverse tree walk up and
maybe find a quota set higher up the tree.

Fixes: https://tracker.ceph.com/issues/72355
Signed-off-by: Christopher Hoffman <choffman@redhat.com>
2 weeks agomgr/dashboard: form and style fixes 64772/head
Naman Munet [Thu, 31 Jul 2025 12:29:31 +0000 (17:59 +0530)]
mgr/dashboard: form and style fixes

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

Signed-off-by: Naman Munet <naman.munet@ibm.com>