]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
11 months agolibrbd: Reduce use of atomics in librbd throttling 58907/head
Adam Lyon-Jones [Thu, 25 Jul 2024 15:09:21 +0000 (16:09 +0100)]
librbd: Reduce use of atomics in librbd throttling

Signed-off-by: Adam Lyon-Jones <adamlyon@uk.ibm.com>
11 months agoMerge pull request #58722 from cbodley/wip-common-async-shared-mutex-impl
Casey Bodley [Thu, 25 Jul 2024 22:11:12 +0000 (23:11 +0100)]
Merge pull request #58722 from cbodley/wip-common-async-shared-mutex-impl

common/async: fix duplicate definition errors from SharedMutexImpl

Reviewed-by: Adam Emerson <aemerson@redhat.com>
11 months agoMerge pull request #58838 from idryomov/wip-rbd-lock-incompat-note
Ilya Dryomov [Thu, 25 Jul 2024 21:43:11 +0000 (23:43 +0200)]
Merge pull request #58838 from idryomov/wip-rbd-lock-incompat-note

doc/rbd/rbd-exclusive-locks: mention incompatibility with advisory locks

Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Zac Dover <zac.dover@proton.me>
11 months agodoc/rbd/rbd-exclusive-locks: mention incompatibility with advisory locks 58838/head
Ilya Dryomov [Thu, 25 Jul 2024 07:48:10 +0000 (09:48 +0200)]
doc/rbd/rbd-exclusive-locks: mention incompatibility with advisory locks

This is due to both using the same name for the lock at the RADOS level
("rbd_lock").

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
11 months agoMerge pull request #58348 from cbodley/wip-async-co-algorithms
Casey Bodley [Thu, 25 Jul 2024 14:39:25 +0000 (15:39 +0100)]
Merge pull request #58348 from cbodley/wip-async-co-algorithms

common/async: add primitives for structured concurrency with c++20 coroutines

Reviewed-by: Adam Emerson <aemerson@redhat.com>
11 months agoMerge pull request #58686 from clwluvw/rgw-noprinc-allow
Casey Bodley [Thu, 25 Jul 2024 14:31:28 +0000 (15:31 +0100)]
Merge pull request #58686 from clwluvw/rgw-noprinc-allow

rgw: donot allow NotPrincipal with Allow Effect

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
11 months agoMerge pull request #58406 from mohit84/issue_42884
Yuri Weinstein [Thu, 25 Jul 2024 14:02:29 +0000 (07:02 -0700)]
Merge pull request #58406 from mohit84/issue_42884

test: Create ParallelPGMapper object before start threadpool

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
11 months agoMerge pull request #57223 from myoungwon/wip-rename-global-values-ceph-dedup-daemon
Yuri Weinstein [Thu, 25 Jul 2024 13:58:37 +0000 (06:58 -0700)]
Merge pull request #57223 from myoungwon/wip-rename-global-values-ceph-dedup-daemon

tool: renaming and refactoring global variables in ceph-dedup-daemon

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agoMerge pull request #58781 from idryomov/wip-67097
Ilya Dryomov [Thu, 25 Jul 2024 12:45:18 +0000 (14:45 +0200)]
Merge pull request #58781 from idryomov/wip-67097

qa/suites/krbd: stress test for recovering from watch errors for -o exclusive

Reviewed-by: Ramana Raja <rraja@redhat.com>
11 months agoMerge pull request #58766 from athanatos/sjust/wip-66294-collection-race
Matan Breizman [Thu, 25 Jul 2024 06:59:07 +0000 (09:59 +0300)]
Merge pull request #58766 from athanatos/sjust/wip-66294-collection-race

crimson: access coll_map under alien tp with a lock

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
11 months agoMerge pull request #58464 from athanatos/sjust/wip-66316-async-reserver
Matan Breizman [Thu, 25 Jul 2024 06:58:05 +0000 (09:58 +0300)]
Merge pull request #58464 from athanatos/sjust/wip-66316-async-reserver

crimson: peering event processing fixes,  wait for async operations started during peering events

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
11 months agoMerge pull request #57776 from rzarzynski/wip-bug-61948
Laura Flores [Wed, 24 Jul 2024 21:32:01 +0000 (16:32 -0500)]
Merge pull request #57776 from rzarzynski/wip-bug-61948

mon, osd, *: expose upmap-primary in OSDMap::get_features()

11 months agoMerge pull request #56932 from ceph/wip-yuriw-release-18.2.3-main
Yuri Weinstein [Wed, 24 Jul 2024 21:11:31 +0000 (14:11 -0700)]
Merge pull request #56932 from ceph/wip-yuriw-release-18.2.3-main

doc: reef 18.2.4 release note

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
11 months agodoc/releases: add release note about thread creation incompatibility 56932/head
Laura Flores [Thu, 18 Jul 2024 22:50:17 +0000 (17:50 -0500)]
doc/releases: add release note about thread creation incompatibility

Signed-off-by: Laura Flores <lflores@ibm.com>
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
11 months agocommon/async: add parallel_for_each() algorithm 58348/head
Casey Bodley [Sun, 5 Feb 2023 22:08:49 +0000 (17:08 -0500)]
common/async: add parallel_for_each() algorithm

Signed-off-by: Casey Bodley <cbodley@redhat.com>
11 months agocommon/async: add co_spawn_group template for fork-join parallelism
Casey Bodley [Sun, 5 Feb 2023 15:10:34 +0000 (10:10 -0500)]
common/async: add co_spawn_group template for fork-join parallelism

Signed-off-by: Casey Bodley <cbodley@redhat.com>
11 months agocommon/async: implement max_concurrent_for_each() for awaitable
Casey Bodley [Thu, 27 Jun 2024 20:53:01 +0000 (16:53 -0400)]
common/async: implement max_concurrent_for_each() for awaitable

Signed-off-by: Casey Bodley <cbodley@redhat.com>
11 months agocommon/async: add co_throttle for bounded concurrency with c++20 coroutines
Casey Bodley [Wed, 11 Jan 2023 15:45:49 +0000 (10:45 -0500)]
common/async: add co_throttle for bounded concurrency with c++20 coroutines

Signed-off-by: Casey Bodley <cbodley@redhat.com>
11 months agoMerge pull request #58535 from anoopcs9/mgr-nfs-fix-export-create-conf-obj
Adam King [Wed, 24 Jul 2024 15:15:59 +0000 (11:15 -0400)]
Merge pull request #58535 from anoopcs9/mgr-nfs-fix-export-create-conf-obj

mgr/nfs: Do not ignore clusters from rados pool conf objects

Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Ponnuvel Palaniyappan <pponnuvel@gmail.com>
11 months agoMerge pull request #58533 from rhcs-dashboard/shared-folder-pythonV
Adam King [Wed, 24 Jul 2024 15:13:53 +0000 (11:13 -0400)]
Merge pull request #58533 from rhcs-dashboard/shared-folder-pythonV

cephadm: update shared folder python packages dir

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
11 months agoMerge pull request #58153 from anoopcs9/modify-smb-dot-conf
Adam King [Wed, 24 Jul 2024 15:13:00 +0000 (11:13 -0400)]
Merge pull request #58153 from anoopcs9/modify-smb-dot-conf

mgr/smb: Make appropriate changes to global and share specific options

Reviewed-by: John Mulligan <jmulligan@redhat.com>
11 months agoMerge pull request #58670 from ivancich/wip-bolster-reshard-testing
J. Eric Ivancich [Wed, 24 Jul 2024 15:03:38 +0000 (11:03 -0400)]
Merge pull request #58670 from ivancich/wip-bolster-reshard-testing

test/rgw: address potential race condition in reshard testing

Reviewed-by: Casey Bodley <cbodley@redhat.com>
11 months agoMerge PR #58056 into main
Patrick Donnelly [Wed, 24 Jul 2024 14:18:58 +0000 (10:18 -0400)]
Merge PR #58056 into main

* refs/pull/58056/head:
qa: suppress __trans_list_add valgrind warning
qa: generate valgrind suppressions

Reviewed-by: Venky Shankar <vshankar@redhat.com>
11 months agoMerge pull request #58041 from vmackie/class-param-bug
Yuri Weinstein [Wed, 24 Jul 2024 13:40:42 +0000 (06:40 -0700)]
Merge pull request #58041 from vmackie/class-param-bug

mon: fix inconsistencies in class param

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Matan Breizman <Matan.Brz@gmail.com>
11 months agoMerge PR #58768 into main
Patrick Donnelly [Wed, 24 Jul 2024 13:03:39 +0000 (09:03 -0400)]
Merge PR #58768 into main

* refs/pull/58768/head:
script/backport-create-issue: retry without if assignee is invalid

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
11 months agoMerge pull request #58152 from adam-lj/aiocompletion-perf-changes
Adam Lyon-Jones [Wed, 24 Jul 2024 12:09:21 +0000 (13:09 +0100)]
Merge pull request #58152 from adam-lj/aiocompletion-perf-changes

librbd: Modify locks and atomics in AioCompletion to improve performance

11 months agolibrbd: Modify locks and atomics in AioCompletion to improve performance 58152/head
Adam Lyon-Jones [Mon, 13 May 2024 12:02:00 +0000 (13:02 +0100)]
librbd: Modify locks and atomics in AioCompletion to improve performance

Signed-off-by: Adam Lyon-Jones <adamlyon@uk.ibm.com>
11 months agoMerge PR #58222 into main
Venky Shankar [Wed, 24 Jul 2024 07:31:58 +0000 (13:01 +0530)]
Merge PR #58222 into main

* refs/pull/58222/head:
qa: ignore container checkpoint/restore related selinux denials for centos9

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Adam King <adking@redhat.com>
11 months agoMerge pull request #58463 from athanatos/sjust/wip-66827-interrupt-epoch
Matan Breizman [Wed, 24 Jul 2024 07:27:53 +0000 (10:27 +0300)]
Merge pull request #58463 from athanatos/sjust/wip-66827-interrupt-epoch

crimson: audit and correct epoch captured by IOInterruptCondition

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
11 months agoqa/suites/krbd: override extra_system_packages directly on install task 58781/head
Ilya Dryomov [Wed, 24 Jul 2024 06:47:51 +0000 (08:47 +0200)]
qa/suites/krbd: override extra_system_packages directly on install task

Follow commit c61cb16223fa ("qa/suites/rbd: override
extra_system_packages directly on install task").

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
11 months agoqa/suites/krbd: stress test for recovering from watch errors for -o exclusive
Ilya Dryomov [Wed, 24 Jul 2024 06:44:46 +0000 (08:44 +0200)]
qa/suites/krbd: stress test for recovering from watch errors for -o exclusive

This is based on a test added in commit 237aa221ebad ("qa/suites/krbd:
stress test for recovering from watch errors") for regular mappings.

Fixes: https://tracker.ceph.com/issues/67097
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
11 months agoMerge pull request #58710 from rhcs-dashboard/multisite-test-case-fix
Ankush Behl [Wed, 24 Jul 2024 06:12:29 +0000 (11:42 +0530)]
Merge pull request #58710 from rhcs-dashboard/multisite-test-case-fix

mgr/dashboard: multisite e2e fixes

Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
11 months agoMerge pull request #58716 from rhcs-dashboard/expand-cluster-back-btn-fix
naman munet [Wed, 24 Jul 2024 05:54:48 +0000 (11:24 +0530)]
Merge pull request #58716 from rhcs-dashboard/expand-cluster-back-btn-fix

mgr/dashboard: expand-cluster back navigation fix

11 months agoMerge pull request #58677 from rhcs-dashboard/fix-cephfs-e2e-error
Nizamudeen A [Wed, 24 Jul 2024 04:10:06 +0000 (09:40 +0530)]
Merge pull request #58677 from rhcs-dashboard/fix-cephfs-e2e-error

mgr/test_orchestrator: add apply_mds command in the test_orch

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
11 months agoMerge pull request #58524 from zdover23/wip-doc-2024-07-11-cephfs-index
Zac Dover [Wed, 24 Jul 2024 03:04:57 +0000 (13:04 +1000)]
Merge pull request #58524 from zdover23/wip-doc-2024-07-11-cephfs-index

doc/cephfs: streamline a paragraph

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
11 months agoMerge pull request #58572 from VVoidV/lbr-fix-head-chunked-encoding
J. Eric Ivancich [Tue, 23 Jul 2024 22:30:02 +0000 (18:30 -0400)]
Merge pull request #58572 from VVoidV/lbr-fix-head-chunked-encoding

[RGW] Fix the handling of HEAD requests that do not comply with RFC standards

Reviewed-by: Casey Bodley <cbodley@redhat.com>
11 months agoMerge pull request #58665 from cbodley/wip-67012
J. Eric Ivancich [Tue, 23 Jul 2024 22:28:28 +0000 (18:28 -0400)]
Merge pull request #58665 from cbodley/wip-67012

rgw/iam: CreateRole ignores EEXIST after forwarded request

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
11 months agoscript/backport-create-issue: retry without if assignee is invalid 58768/head
Patrick Donnelly [Tue, 23 Jul 2024 20:07:16 +0000 (16:07 -0400)]
script/backport-create-issue: retry without if assignee is invalid

Resolves:

    WARNING:root:Missing issues will be created in Backport tracker of the relevant Redmine project
    INFO:root:Redmine key was read from '$REDMINE_API_KEY'; using it
    INFO:root:Processing 35 issues with status Pending Backport
    Traceback (most recent call last):
      File "/home/runner/work/ceph/ceph/src/script/backport-create-issue", line 411, in <module>
        iterate_over_backports(redmine, issues, dry_run=args.dry_run)
      File "/home/runner/work/ceph/ceph/src/script/backport-create-issue", line 354, in iterate_over_backports
        update_relations(r, issue, dry_run)
      File "/home/runner/work/ceph/ceph/src/script/backport-create-issue", line 242, in update_relations
        other = r.issue.create(project_id=issue['project']['id'],
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/redminelib/managers/base.py", line 187, in create
        response = self.redmine.engine.request(self.resource_class.http_method_create, url, data=request)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/redminelib/engines/base.py", line 83, in request
        return self.process_response(self.session.request(method, url, **kwargs))
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/redminelib/engines/base.py", line 178, in process_response
        raise exceptions.ValidationError(', '.join(': '.join(e) if isinstance(e, list) else e for e in errors))
    redminelib.exceptions.ValidationError: Assignee is invalid
    Examining issue#66797 (1/35)

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
11 months agoMerge PR #58214 into main
Patrick Donnelly [Tue, 23 Jul 2024 20:01:31 +0000 (16:01 -0400)]
Merge PR #58214 into main

* refs/pull/58214/head:
qa/cephfs: ignore variant of MDS_UP_LESS_THAN_MAX

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
11 months agoMerge PR #58327 into main
Patrick Donnelly [Tue, 23 Jul 2024 19:56:56 +0000 (15:56 -0400)]
Merge PR #58327 into main

* refs/pull/58327/head:
cephfs-shell: excute cmd 'rmdir_helper' reported error

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
11 months agoMerge PR #57857 into main
Patrick Donnelly [Tue, 23 Jul 2024 19:55:49 +0000 (15:55 -0400)]
Merge PR #57857 into main

* refs/pull/57857/head:
qa: set debug_ms=2 for cephfs tests
msg: decrease the level to print the sending msgs from the protocol

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
11 months agoMerge pull request #58703 from kshtsk/wip-fix-unused-in-erasure-code
kyr [Tue, 23 Jul 2024 18:33:04 +0000 (20:33 +0200)]
Merge pull request #58703 from kshtsk/wip-fix-unused-in-erasure-code

erasure-code/clay: cleanup unused but set variable

11 months agocrimson/osd: execute PGListener async operations in order 58464/head
Samuel Just [Tue, 2 Jul 2024 22:27:55 +0000 (15:27 -0700)]
crimson/osd: execute PGListener async operations in order

- Adds ShardServices::singleton_orderer_t mechanism to ensure that
  OSDSingleton calls are completed in order.
- Updates ShardServices accessors invoked from PeeringListener handlers
  to use orderer.
- Updates PGListener handlers and complete_rctx to use orderer.

Fixes: https://tracker.ceph.com/issues/66316
Signed-off-by: Samuel Just <sjust@redhat.com>
11 months agocrimson/.../alien_store: access coll_map under coll_map_lock 58766/head
Samuel Just [Wed, 10 Jul 2024 22:58:55 +0000 (22:58 +0000)]
crimson/.../alien_store: access coll_map under coll_map_lock

Fixes: https://tracker.ceph.com/issues/66294
Signed-off-by: Samuel Just <sjust@redhat.com>
11 months agocrimson/.../alien_store: clear coll_map on stop()
Samuel Just [Wed, 10 Jul 2024 22:53:40 +0000 (15:53 -0700)]
crimson/.../alien_store: clear coll_map on stop()

Signed-off-by: Samuel Just <sjust@redhat.com>
11 months agocrimson/.../alien_store: update coll_map from alien tp
Samuel Just [Wed, 10 Jul 2024 22:53:28 +0000 (15:53 -0700)]
crimson/.../alien_store: update coll_map from alien tp

Signed-off-by: Samuel Just <sjust@redhat.com>
11 months agocrimson/.../alien_store: factor out get_alien_coll_ref
Samuel Just [Wed, 10 Jul 2024 22:25:15 +0000 (15:25 -0700)]
crimson/.../alien_store: factor out get_alien_coll_ref

Signed-off-by: Samuel Just <sjust@redhat.com>
11 months agocrimson/.../alien_store: add comment explaining coll_map
Samuel Just [Wed, 10 Jul 2024 17:42:31 +0000 (10:42 -0700)]
crimson/.../alien_store: add comment explaining coll_map

Signed-off-by: Samuel Just <sjust@redhat.com>
11 months agoqa: suppress __trans_list_add valgrind warning 58056/head
Patrick Donnelly [Sat, 15 Jun 2024 03:00:02 +0000 (23:00 -0400)]
qa: suppress __trans_list_add valgrind warning

Fixes: https://tracker.ceph.com/issues/65779
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
11 months agoMerge pull request #58215 from badone/wip-tracker-59380-admin-socket-injectfull
Yuri Weinstein [Tue, 23 Jul 2024 17:57:08 +0000 (10:57 -0700)]
Merge pull request #58215 from badone/wip-tracker-59380-admin-socket-injectfull

qa/suites/rados: Cancel injectfull to allow cleanup

Reviewed-by: Neha Ojha <nojha@redhat.com>
11 months agoMerge pull request #57951 from mohit84/issue_66231
Yuri Weinstein [Tue, 23 Jul 2024 17:56:34 +0000 (10:56 -0700)]
Merge pull request #57951 from mohit84/issue_66231

AsyncMessenger: Don't decrease l_msgr_active_connections if it is negative

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
11 months agoMerge pull request #57797 from ajarr/wip-66011
Ilya Dryomov [Tue, 23 Jul 2024 17:52:40 +0000 (19:52 +0200)]
Merge pull request #57797 from ajarr/wip-66011

rbd: add `group snap info` command

Reviewed-by: N Balachandran <nibalach@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
11 months agoMerge pull request #57485 from sseshasa/wip-fix-validator-osd-down-grace-tmout
Yuri Weinstein [Tue, 23 Jul 2024 17:50:32 +0000 (10:50 -0700)]
Merge pull request #57485 from sseshasa/wip-fix-validator-osd-down-grace-tmout

qa/suites/rados/verify/validater: increase heartbeat grace timeout

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
11 months agocrimson/.../shard_services: add logging to local and remote reservers
Samuel Just [Fri, 12 Jul 2024 04:13:20 +0000 (04:13 +0000)]
crimson/.../shard_services: add logging to local and remote reservers

Signed-off-by: Samuel Just <sjust@redhat.com>
11 months agocrimson/.../pg: add logging to most PeeringState::Listener implementations
Samuel Just [Fri, 12 Jul 2024 00:00:00 +0000 (00:00 +0000)]
crimson/.../pg: add logging to most PeeringState::Listener implementations

Signed-off-by: Samuel Just <sjust@redhat.com>
11 months agoMerge PR #58276 into main
Venky Shankar [Tue, 23 Jul 2024 16:36:58 +0000 (22:06 +0530)]
Merge PR #58276 into main

* refs/pull/58276/head:
mds/QuiesceDbManager: get requested state of members before iterating through each quiesce set members

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
11 months agoqa: generate valgrind suppressions
Patrick Donnelly [Tue, 23 Jul 2024 15:18:35 +0000 (11:18 -0400)]
qa: generate valgrind suppressions

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
11 months agoMerge pull request #58709 from kshtsk/wip-assert-equal-please
kyr [Tue, 23 Jul 2024 14:26:53 +0000 (16:26 +0200)]
Merge pull request #58709 from kshtsk/wip-assert-equal-please

mgr/dashboard: use assertEqual in test_iscsi

11 months agoMerge pull request #58735 from yuvalif/wip-yuval-63786
Casey Bodley [Tue, 23 Jul 2024 11:47:21 +0000 (12:47 +0100)]
Merge pull request #58735 from yuvalif/wip-yuval-63786

test/cls_2pc_queue: fix multi-threaded access to non-atomic counter

Reviewed-by: Casey Bodley <cbodley@redhat.com>
11 months agoMerge pull request #58745 from cyx1231st/wip-fix-blk-aio-compile-issue
Igor Fedotov [Tue, 23 Jul 2024 09:07:01 +0000 (12:07 +0300)]
Merge pull request #58745 from cyx1231st/wip-fix-blk-aio-compile-issue

blk/aio: fix compile issue when HAVE_LIBURING isn't defined

Reviewed-by: Igor Fedotov <igor.fedotov@croit.io>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
11 months agotest/cls_2pc_queue: fix multi-threaded access to non-atomic variables 58735/head
Yuval Lifshitz [Mon, 22 Jul 2024 16:10:55 +0000 (16:10 +0000)]
test/cls_2pc_queue: fix multi-threaded access to non-atomic variables

Fixes: https://tracker.ceph.com/issues/63786
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
11 months agoMerge pull request #58367 from xxhdx1985126/wip-seastore-lba-mapping-iterator
Yingxin [Tue, 23 Jul 2024 05:50:02 +0000 (13:50 +0800)]
Merge pull request #58367 from xxhdx1985126/wip-seastore-lba-mapping-iterator

crimson/os/seastore/cached_extent: add the "refresh" ability to lba mappings

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
11 months agoblk/aio: fix compile issue when HAVE_LIBURING isn't defined 58745/head
Yingxin Cheng [Tue, 23 Jul 2024 03:22:59 +0000 (11:22 +0800)]
blk/aio: fix compile issue when HAVE_LIBURING isn't defined

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
11 months agoMerge pull request #57782 from myoungwon/wip-nvme-pi
Yingxin [Tue, 23 Jul 2024 02:13:54 +0000 (10:13 +0800)]
Merge pull request #57782 from myoungwon/wip-nvme-pi

crimson/os/seastore: add checksum offload to RBM

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
11 months agoMerge pull request #58705 from gitkenan/crimsonDocChanges
Zac Dover [Mon, 22 Jul 2024 18:58:39 +0000 (04:58 +1000)]
Merge pull request #58705 from gitkenan/crimsonDocChanges

doc/dev/crimson: making it more user-friendly, re-arranging chapters and fixing typos

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
11 months agoMerge pull request #58275 from NitzanMordhai/wip-nitzn-host-thraser-fix-min-in-checks
Laura Flores [Mon, 22 Jul 2024 18:22:30 +0000 (13:22 -0500)]
Merge pull request #58275 from NitzanMordhai/wip-nitzn-host-thraser-fix-min-in-checks

suites: host thrasher should check min_in before thrashing host

11 months agoMerge pull request #58393 from NitzanMordhai/wip-nitzan-old-client-thrasher-slow...
Laura Flores [Mon, 22 Jul 2024 18:19:12 +0000 (13:19 -0500)]
Merge pull request #58393 from NitzanMordhai/wip-nitzan-old-client-thrasher-slow-ops-ignorelist

suites: thrash old client missing SLOW_OPS in the ignore-list

11 months agoMerge pull request #58277 from NitzanMordhai/wip-nitzan-upgrade-suites-quincy-ignore...
Laura Flores [Mon, 22 Jul 2024 18:15:50 +0000 (13:15 -0500)]
Merge pull request #58277 from NitzanMordhai/wip-nitzan-upgrade-suites-quincy-ignore-list-adding

suites/upgrade/quincy-x: update the ignore list

11 months agoMerge pull request #58600 from zdover23/wip-doc-2024-07-16-dev-guide-basic-workflow
Zac Dover [Mon, 22 Jul 2024 18:00:49 +0000 (04:00 +1000)]
Merge pull request #58600 from zdover23/wip-doc-2024-07-16-dev-guide-basic-workflow

doc/dev: add formatting to basic workflow

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
11 months agorbd: add group snap info command 57797/head
Ramana Raja [Tue, 18 Jun 2024 21:32:24 +0000 (17:32 -0400)]
rbd: add group snap info command

... to show information about a group snapshot.

And also include group snap ID in `group snap ls` output.

Fixes: https://tracker.ceph.com/issues/66011
Signed-off-by: Ramana Raja <rraja@redhat.com>
11 months agoFixes: https://tracker.ceph.com/issues/67070 58710/head
Naman Munet [Mon, 22 Jul 2024 07:34:06 +0000 (13:04 +0530)]
Fixes: https://tracker.ceph.com/issues/67070
Signed-off-by: Naman Munet <nmunet@redhat.com>
11 months agoMerge pull request #58725 from zdover23/wip-doc-2024-07-23-dev-dev-guide-basic-workflow
Zac Dover [Mon, 22 Jul 2024 15:53:21 +0000 (01:53 +1000)]
Merge pull request #58725 from zdover23/wip-doc-2024-07-23-dev-dev-guide-basic-workflow

doc/dev_guide: add needs-upgrade-testing label info

Reviewed-by: Laura Flores <lflores@ibm.com>
11 months agodoc/dev_guide: add needs-upgrade-testing label info 58725/head
Zac Dover [Mon, 22 Jul 2024 15:36:53 +0000 (01:36 +1000)]
doc/dev_guide: add needs-upgrade-testing label info

Add an explanation of the "needs-upgrade-testing" label and explain when
to use it.

Laura is the true author of this text.

Co-authored-by: Laura Flores <lflores@ibm.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
11 months agodoc/dev/crimson: clarify and rearrange for userability 58705/head
gitkenan [Sun, 21 Jul 2024 22:02:47 +0000 (23:02 +0100)]
doc/dev/crimson: clarify and rearrange for userability

Signed-off-by: gitkenan <kenan.mth@gmail.com>
11 months agoMerge pull request #56517 from gukaifeng/doc-amend
Zac Dover [Mon, 22 Jul 2024 13:19:06 +0000 (23:19 +1000)]
Merge pull request #56517 from gukaifeng/doc-amend

doc/start/os-recommendations: remove 16.2.z support for CentOS 7

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
11 months agoMerge pull request #58353 from pereman2/bad-collection-objectstore
Pere Diaz Bou [Mon, 22 Jul 2024 11:57:20 +0000 (13:57 +0200)]
Merge pull request #58353 from pereman2/bad-collection-objectstore

tools/objectstore: check for wrong coll open_collection

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
11 months agoMerge pull request #57002 from aclamk/wip-aclamk-bs-storetest-expand-synthetic
Adam Kupczyk [Mon, 22 Jul 2024 11:48:06 +0000 (13:48 +0200)]
Merge pull request #57002 from aclamk/wip-aclamk-bs-storetest-expand-synthetic

Improved structure for objectstore unit tests.

12 months agoFixes: https://tracker.ceph.com/issues/67074 58716/head
Naman Munet [Mon, 22 Jul 2024 09:52:55 +0000 (15:22 +0530)]
Fixes: https://tracker.ceph.com/issues/67074
Signed-off-by: Naman Munet <nmunet@redhat.com>
12 months agodoc/start/os-recommendations: remove 16.2.z support for CentOS 7 56517/head
gukaifeng [Tue, 2 Apr 2024 07:28:04 +0000 (15:28 +0800)]
doc/start/os-recommendations: remove 16.2.z support for CentOS 7

12 months agoMerge pull request #58639 from zdover23/wip-doc-2024-07-17-start-os-recommendations 58717/head
Zac Dover [Mon, 22 Jul 2024 08:28:39 +0000 (18:28 +1000)]
Merge pull request #58639 from zdover23/wip-doc-2024-07-17-start-os-recommendations

doc/start: add tested container host oses

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
12 months agodoc/start: add tested container host oses 58639/head
Zac Dover [Wed, 17 Jul 2024 06:18:58 +0000 (16:18 +1000)]
doc/start: add tested container host oses

Add a list of OSes that have been tested as container hosts. This commit
is added in response to a request made by Josh Durgin on Slack.

Signed-off-by: Zac Dover <zac.dover@proton.me>
12 months agomgr/dashboard: use assertEqual in test_iscsi 58709/head
Kyr Shatskyy [Mon, 22 Jul 2024 07:33:02 +0000 (09:33 +0200)]
mgr/dashboard: use assertEqual in test_iscsi

Python asks in multiple places to use assertEqual instead of
assertEquals:

  DeprecationWarning: Please use assertEqual instead.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
12 months agocrimson/os/seastore/btree: drop unused lines 58367/head
Xuehan Xu [Thu, 18 Jul 2024 13:17:53 +0000 (21:17 +0800)]
crimson/os/seastore/btree: drop unused lines

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
12 months agocrimson/os/seastore/cached_extent: add the "refresh" ability to lba
Xuehan Xu [Mon, 1 Jul 2024 05:58:18 +0000 (13:58 +0800)]
crimson/os/seastore/cached_extent: add the "refresh" ability to lba
mappings

So that we don't have to re-iterate through the whole lba tree to get
a "parent-viewable" mapping in most cases.

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
12 months agocrimson/os/seastore: rename PhysicalNodeMapping::is_parent_valid() to
Xuehan Xu [Sun, 30 Jun 2024 09:51:41 +0000 (17:51 +0800)]
crimson/os/seastore: rename PhysicalNodeMapping::is_parent_valid() to
PhysicalNodeMapping::is_parent_viewable()

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
12 months agocrimson/os/seastore/btree: add copy_source->pending links to FixedKVNode
Xuehan Xu [Sat, 29 Jun 2024 13:23:33 +0000 (21:23 +0800)]
crimson/os/seastore/btree: add copy_source->pending links to FixedKVNode

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
12 months agocrimson/os/seastore/cbj: skip crc calculation for cbj header if device supports the... 57782/head
myoungwon oh [Thu, 18 Jul 2024 07:41:05 +0000 (07:41 +0000)]
crimson/os/seastore/cbj: skip crc calculation for cbj header if device supports the checksum offload

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
12 months agocrimson/os/seastore: disable crc calculation if end to end data protection is enabled
Myoungwon Oh [Thu, 4 Jul 2024 09:04:38 +0000 (18:04 +0900)]
crimson/os/seastore: disable crc calculation if end to end data protection is enabled

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
12 months agocrimson/os/seastore/rbm: add handle_exception() to pass_through_io()
myoungwon oh [Fri, 12 Jul 2024 04:13:13 +0000 (04:13 +0000)]
crimson/os/seastore/rbm: add handle_exception() to pass_through_io()

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
12 months agocrimson/os/seastore: remove multistream related codes
myoungwon oh [Thu, 13 Jun 2024 06:07:56 +0000 (06:07 +0000)]
crimson/os/seastore: remove multistream related codes

Current codes allow the device to allocate multiple namespace without specific policy
if the nvme device report that it is capable of mutistream functionality.
So, this commit removes the multistream related code, leaving it as a TODO.

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
12 months agocrimson/os/seastore: add nvme_read and nvme_write to be used when end to end data...
myoungwon oh [Tue, 28 May 2024 10:35:45 +0000 (10:35 +0000)]
crimson/os/seastore: add nvme_read and nvme_write to be used when end to end data protection is enabled

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
12 months agocrimson/os/seastore/rbm: turn on end-to-end-data-protection during mkfs if possible
myoungwon oh [Mon, 27 May 2024 09:32:56 +0000 (09:32 +0000)]
crimson/os/seastore/rbm: turn on end-to-end-data-protection during mkfs if possible

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
12 months agocrimson/os/seastore: replace rbm_metadata_header_t with rbm_superblock_t
myoungwon oh [Thu, 20 Jun 2024 05:32:15 +0000 (05:32 +0000)]
crimson/os/seastore: replace rbm_metadata_header_t with rbm_superblock_t

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
12 months agocommon/async: fix duplicate definition errors from SharedMutexImpl 58722/head
Casey Bodley [Sat, 17 Sep 2022 18:46:19 +0000 (14:46 -0400)]
common/async: fix duplicate definition errors from SharedMutexImpl

the linker complains that several SharedMutexImpl functions are
duplicated, if "common/async/shared_mutex.h" is included by more than
one translation unit

added 'inline' to the function definitions so they're shared instead of
duplicated

Signed-off-by: Casey Bodley <cbodley@redhat.com>
12 months agoerasure-code/clay: cleanup unused but set variable count_retrieved_sub_chunks 58703/head
kshtsk [Sun, 21 Jul 2024 11:12:42 +0000 (11:12 +0000)]
erasure-code/clay: cleanup unused but set variable count_retrieved_sub_chunks

Addresses clang 17 error:

/home/rocky/ceph/src/erasure-code/clay/ErasureCodeClay.cc:481:7: error: variable 'count_retrieved_sub_chunks' set but not used [-Werror,-Wunused-but-set-variable]

Signed-off-by: kshtsk <kyrylo.shatskyy@clyso.com>
12 months agoMerge pull request #58452 from Matan-B/wip-matanb-seastar-july7
Matan Breizman [Sun, 21 Jul 2024 11:19:04 +0000 (14:19 +0300)]
Merge pull request #58452 from Matan-B/wip-matanb-seastar-july7

seastar: update submodule

Reviewed-by: Samuel Just <sjust@redhat.com>
12 months agoMerge pull request #58256 from NitzanMordhai/wip-nitzan-wait-osd-admin-command
Matan Breizman [Sun, 21 Jul 2024 10:22:16 +0000 (13:22 +0300)]
Merge pull request #58256 from NitzanMordhai/wip-nitzan-wait-osd-admin-command

crimson/osd: adding osdmap subscribe

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
12 months agoMerge pull request #58700 from kshtsk/wip-fix-unused-in-msg-async-rdma
Kefu Chai [Sun, 21 Jul 2024 08:51:07 +0000 (16:51 +0800)]
Merge pull request #58700 from kshtsk/wip-fix-unused-in-msg-async-rdma

msg/async/rdma: cleanup unused variables

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
12 months agoMerge pull request #58688 from idryomov/wip-67051
Ilya Dryomov [Sun, 21 Jul 2024 07:01:32 +0000 (09:01 +0200)]
Merge pull request #58688 from idryomov/wip-67051

qa/workunits/rbd: avoid caching effects in luks-encryption.sh

Reviewed-by: Mykola Golub <mgolub@suse.com>
12 months agomsg/async/rdma: cleanup unused variables 58700/head
kshtsk [Sat, 20 Jul 2024 23:55:22 +0000 (23:55 +0000)]
msg/async/rdma: cleanup unused variables

Fixes: 2fb8be43fa2a758cc7934f7a82a48ad2d47d1112
Signed-off-by: kshtsk <kyrylo.shatskyy@clyso.com>