]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
11 months agoqa: cover a custom object size in krbd_discard_granularity.t 59112/head
Ilya Dryomov [Thu, 8 Aug 2024 20:01:47 +0000 (22:01 +0200)]
qa: cover a custom object size in krbd_discard_granularity.t

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
11 months agoqa: adjust expected io_opt in krbd_discard_granularity.t
Ilya Dryomov [Thu, 8 Aug 2024 19:50:40 +0000 (21:50 +0200)]
qa: adjust expected io_opt in krbd_discard_granularity.t

With linux.git commit a00d4bfce7c6 ("rbd: increase io_opt again"),
io_opt is set to object set size.

Fixes: https://tracker.ceph.com/issues/67353
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
11 months agoMerge PR #58861 into main
Venky Shankar [Thu, 8 Aug 2024 16:54:18 +0000 (22:24 +0530)]
Merge PR #58861 into main

* refs/pull/58861/head:
mds: only authpin on wrlock when not a locallock

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Mark Nelson <mnelson@redhat.com>
11 months agoMerge pull request #59091 from zdover23/wip-doc-2024-08-08-README-md-alerts
Zac Dover [Thu, 8 Aug 2024 15:18:08 +0000 (01:18 +1000)]
Merge pull request #59091 from zdover23/wip-doc-2024-08-08-README-md-alerts

doc/README.md - add "tip" alert styling

Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
11 months agoMerge pull request #59030 from ljflores/wip-fix-crontab-2
Laura Flores [Thu, 8 Aug 2024 14:53:36 +0000 (09:53 -0500)]
Merge pull request #59030 from ljflores/wip-fix-crontab-2

qa/crontab: force priority for main rados nightlies

11 months agoMerge pull request #58583 from lxbsz/wip-66946
Venky Shankar [Thu, 8 Aug 2024 12:25:24 +0000 (17:55 +0530)]
Merge pull request #58583 from lxbsz/wip-66946

qa/cephfs: fix TestRenameCommand and unmount the clinet before failin…

Reviewed-by: Venky Shankar <vshankar@redhat.com>
11 months agodoc/README.md - add "tip" alert styling 59091/head
Zac Dover [Thu, 8 Aug 2024 07:04:45 +0000 (17:04 +1000)]
doc/README.md - add "tip" alert styling

Add "tip" alert styling (what in Docbook XML is called "an admonition")
to information about Ninja in an ordered list (which is what markdown
has here instead of procedures).

Signed-off-by: Zac Dover <zac.dover@proton.me>
11 months agoMerge pull request #59049 from zdover23/wip-doc-2024-08-06-README-building-ceph
Zac Dover [Thu, 8 Aug 2024 06:59:43 +0000 (16:59 +1000)]
Merge pull request #59049 from zdover23/wip-doc-2024-08-06-README-building-ceph

doc/README.md - allocate information correctly

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
11 months agoMerge pull request #58913 from cyx1231st/wip-seastore-unlock-ool
Yingxin [Thu, 8 Aug 2024 06:19:04 +0000 (14:19 +0800)]
Merge pull request #58913 from cyx1231st/wip-seastore-unlock-ool

crimson/os/seastore: move ool writes from collection lock to concurrent DeviceSubmission phase

Reviewed-by: Myoungwon Oh <myoungwon.oh@samsung.com>
Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
11 months agoMerge pull request #58787 from xxhdx1985126/wip-67106
Yingxin [Thu, 8 Aug 2024 06:16:26 +0000 (14:16 +0800)]
Merge pull request #58787 from xxhdx1985126/wip-67106

crimson/os/seastore: consider segment_header_t::modify_time as the segments' modify_time for no-tail OOL segments

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
11 months agoMerge pull request #57911 from gardran/wip-gdran-mds-better-clease-handling
Venky Shankar [Thu, 8 Aug 2024 05:44:41 +0000 (11:14 +0530)]
Merge pull request #57911 from gardran/wip-gdran-mds-better-clease-handling

mds: some optimizations around client Capability and Lease tracking

Reviewed-by: Venky Shankar <vshankar@redhat.com>
11 months agoMerge pull request #58983 from cyx1231st/wip-seastore-cleanup-cache
Yingxin [Thu, 8 Aug 2024 02:46:38 +0000 (10:46 +0800)]
Merge pull request #58983 from cyx1231st/wip-seastore-cleanup-cache

crimson/os/seastore/cache: cleanups and comments

Reviewed-by: Xuehan Xu <xuxuehan@qianxin.com>
11 months agoMerge pull request #58869 from xxhdx1985126/wip-seastore-lba-leaf-node-minor-bug-fix
Yingxin [Thu, 8 Aug 2024 02:04:46 +0000 (10:04 +0800)]
Merge pull request #58869 from xxhdx1985126/wip-seastore-lba-leaf-node-minor-bug-fix

crimson/os/seastore/lba_manager: correct the range end of lba mappings

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
11 months agoMerge PR #59029 into main
Patrick Donnelly [Thu, 8 Aug 2024 00:58:17 +0000 (20:58 -0400)]
Merge PR #59029 into main

* refs/pull/59029/head:
qa: simplify postmerge construction

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
11 months agoMerge pull request #44366 from orozery/rbd-crypto-migration
Ilya Dryomov [Wed, 7 Aug 2024 22:30:24 +0000 (00:30 +0200)]
Merge pull request #44366 from orozery/rbd-crypto-migration

librbd/crypto: fix issue when live-migrating from encrypted export

Reviewed-by: Ramana Raja <rraja@redhat.com>
11 months agoMerge pull request #58002 from nbalacha/wip-nbalacha-sorted-snaps
Ilya Dryomov [Wed, 7 Aug 2024 21:41:45 +0000 (23:41 +0200)]
Merge pull request #58002 from nbalacha/wip-nbalacha-sorted-snaps

cls/rbd: add group_snap_list_order method to enable sorting snapshots in creation order

Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
11 months agoMerge pull request #59073 from anoopcs9/cephadm-docs-smb-spec
Zac Dover [Wed, 7 Aug 2024 13:57:24 +0000 (23:57 +1000)]
Merge pull request #59073 from anoopcs9/cephadm-docs-smb-spec

doc/cephadm/smb: Add missing user_sources option to service spec

Reviewed-by: Zac Dover <zac.dover@proton.me>
11 months agoMerge pull request #56233 from kamoltat/wip-ksirivad-fix-64802
Kamoltat (Junior) Sirivadhna [Wed, 7 Aug 2024 13:45:54 +0000 (09:45 -0400)]
Merge pull request #56233 from kamoltat/wip-ksirivad-fix-64802

RADOS: Generalize stretch mode pg temp handling to be usable without stretch mode
Samuel Just <sjust@redhat.com>

11 months agoMerge pull request #57381 from kamoltat/wip-ksirivad-fix-65371
Kamoltat (Junior) Sirivadhna [Wed, 7 Aug 2024 13:41:39 +0000 (09:41 -0400)]
Merge pull request #57381 from kamoltat/wip-ksirivad-fix-65371

PeeringState.cc: Only populate want_acting when num_osds < bucket_max
Reviewed by: Samuel Just <sjust@redhat.com>

11 months agoMerge pull request #58585 from anoopcs9/cephadm-update-smbd-version
Adam King [Wed, 7 Aug 2024 12:46:10 +0000 (08:46 -0400)]
Merge pull request #58585 from anoopcs9/cephadm-update-smbd-version

cephadm/smb: Determine samba version within container

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
11 months agoMerge pull request #52489 from ifed01/wip-ifed-alloc2
Adam Kupczyk [Wed, 7 Aug 2024 12:42:35 +0000 (14:42 +0200)]
Merge pull request #52489 from ifed01/wip-ifed-alloc2

os/bluestore: introduce hybrid_btree2 allocator

11 months agolibrbd/migration: make ImageDispatch handle encryption for non-native formats 44366/head
Ilya Dryomov [Fri, 2 Aug 2024 07:27:42 +0000 (09:27 +0200)]
librbd/migration: make ImageDispatch handle encryption for non-native formats

With NativeFormat now being handled via dispatch, handling encryption
for non-native formats (i.e. mapping to raw image extents and performing
decryption/mapping back on completion) in the migration layer is really
straightforward.

Note that alignment doesn't need to be performed in the migration layer
because it happens on the destination image -- the "align and resubmit"
logic in C_UnalignedObjectReadRequest should kick in before the call to
read_parent().

Fixes: https://tracker.ceph.com/issues/53674
Co-authored-by: Or Ozeri <oro@il.ibm.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
11 months agolibrbd: don't make an extra copy of image_extents in C_ImageReadRequest ctor
Ilya Dryomov [Mon, 29 Jul 2024 09:01:17 +0000 (11:01 +0200)]
librbd: don't make an extra copy of image_extents in C_ImageReadRequest ctor

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
11 months agoqa/workunits/rbd: perform cleanup in test_clone_encryption()
Ilya Dryomov [Tue, 6 Aug 2024 11:24:02 +0000 (13:24 +0200)]
qa/workunits/rbd: perform cleanup in test_clone_encryption()

... so that RAW_DEV can be unmapped and future tests can reuse testimg
and other image names without bumping into watchers and older snapshots.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
11 months agoqa/workunits/rbd: no need to chmod in luks-encryption.sh
Ilya Dryomov [Sat, 3 Aug 2024 17:31:03 +0000 (19:31 +0200)]
qa/workunits/rbd: no need to chmod in luks-encryption.sh

Most workunits expect the user to be a member of "disk" group, so we
can pretty much rely on that being the case at this point.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
11 months agoMerge pull request #58907 from adam-lj/rbd-throttle-perf
Ilya Dryomov [Wed, 7 Aug 2024 10:30:58 +0000 (12:30 +0200)]
Merge pull request #58907 from adam-lj/rbd-throttle-perf

librbd: Reduce use of atomics in librbd throttling

Reviewed-by: Bill Scales <bill_scales@uk.ibm.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
11 months agoMerge pull request #58993 from pereman2/unused-func
Igor Fedotov [Wed, 7 Aug 2024 10:00:06 +0000 (13:00 +0300)]
Merge pull request #58993 from pereman2/unused-func

os/bluestore: Unused func

Reviewed-by: Igor Fedotov <igor.fedotov@croit.io>
11 months agoMerge pull request #58693 from xxhdx1985126/wip-crimson-clear-temp-objects-startup
Matan Breizman [Wed, 7 Aug 2024 09:10:18 +0000 (12:10 +0300)]
Merge pull request #58693 from xxhdx1985126/wip-crimson-clear-temp-objects-startup

crimson/osd: clear ondisk temp objects on startup

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
11 months agoMerge pull request #57562 from perezjosibm/wip-perezjos-cpu-map
Jose Juan Palacios-Perez [Wed, 7 Aug 2024 09:02:00 +0000 (10:02 +0100)]
Merge pull request #57562 from perezjosibm/wip-perezjos-cpu-map

script/: add cpu-map.sh to aid manual selection of CPU cores for threads for profiling

11 months agoMerge pull request #55374 from aclamk/wip-aclamk-bs-multi-label
Adam Kupczyk [Wed, 7 Aug 2024 08:09:05 +0000 (10:09 +0200)]
Merge pull request #55374 from aclamk/wip-aclamk-bs-multi-label

os/bluestore: Multiple bdev labels on main block device

11 months agoMerge PR #59040 into main NFS-export-form-fixes
Venky Shankar [Wed, 7 Aug 2024 05:30:05 +0000 (11:00 +0530)]
Merge PR #59040 into main

* refs/pull/59040/head:
doc: documenting the feature that scrub clear the entries from damage table on repair

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Zac Dover <zac.dover@gmail.com>
11 months agoqa/cephfs: fix TestRenameCommand and unmount the clinet before failing fs 58583/head
Xiubo Li [Mon, 15 Jul 2024 06:08:17 +0000 (14:08 +0800)]
qa/cephfs: fix TestRenameCommand and unmount the clinet before failing fs

We should else bring and wait for MDS to be up since it is needed
for unmounting of CephFS in CephFSTestCase.tearDown() to be successful,
or just unmount the mountpoints before failing the filesystem.

Since the mountpoint won't be used in later tests so we just unmount
it.

Fixes: https://tracker.ceph.com/issues/66946
Signed-off-by: Xiubo Li <xiubli@redhat.com>
11 months agodoc/cephadm/smb: Add missing user_sources option to service spec 59073/head
Anoop C S [Wed, 7 Aug 2024 05:05:43 +0000 (10:35 +0530)]
doc/cephadm/smb: Add missing user_sources option to service spec

Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
11 months agocrimson/os/seastore: report outstanding requests per phase 58913/head
Yingxin Cheng [Mon, 29 Jul 2024 08:40:38 +0000 (16:40 +0800)]
crimson/os/seastore: report outstanding requests per phase

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
11 months agocrimson/os/seastore: wait ool writes in DeviceSubmission phase
Yingxin Cheng [Tue, 23 Jul 2024 09:11:44 +0000 (17:11 +0800)]
crimson/os/seastore: wait ool writes in DeviceSubmission phase

So that it is moved out of the collection lock.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
11 months agoMerge pull request #56782 from joscollin/wip-B65171-support-replication-start-end...
Venky Shankar [Wed, 7 Aug 2024 04:21:36 +0000 (09:51 +0530)]
Merge pull request #56782 from joscollin/wip-B65171-support-replication-start-end-notifications

cephfs_mirror: provide metrics for last successful snapshot sync

Reviewed-by: Venky Shankar <vshankar@redhat.com>
11 months agoMerge pull request #57458 from lxbsz/wip-session-evict
Venky Shankar [Wed, 7 Aug 2024 04:20:00 +0000 (09:50 +0530)]
Merge pull request #57458 from lxbsz/wip-session-evict

qa/cephfs: add test_session_evict_non_blocklisted test case

Reviewed-by: Venky Shankar <vshankar@redhat.com>
11 months agoMerge pull request #57987 from joscollin/wip-B64752-valgrind-report-leaks
Venky Shankar [Wed, 7 Aug 2024 04:19:03 +0000 (09:49 +0530)]
Merge pull request #57987 from joscollin/wip-B64752-valgrind-report-leaks

qa/suites: drop --show-reachable=yes from fs:valgrind tests

Reviewed-by: Venky Shankar <vshankar@redhat.com>
11 months agoMerge pull request #58097 from gardran/wip-gardran-kill-count
Venky Shankar [Wed, 7 Aug 2024 04:18:22 +0000 (09:48 +0530)]
Merge pull request #58097 from gardran/wip-gardran-kill-count

client: eliminate duplicate lookups wherever possible

Reviewed-by: Venky Shankar <vshankar@redhat.com>
11 months agodoc: documenting the feature that scrub clear the entries from damage table on repair 59040/head
neeraj pratap singh [Mon, 5 Aug 2024 19:50:35 +0000 (01:20 +0530)]
doc: documenting the feature that scrub clear the entries from damage table on repair

Fixes: https://tracker.ceph.com/issues/67337
Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
11 months agodoc/README.md - allocate information correctly 59049/head
Zac Dover [Tue, 6 Aug 2024 12:25:33 +0000 (22:25 +1000)]
doc/README.md - allocate information correctly

Add information in the "Building Ceph" procedure to the steps where it
belongs. Add information about "do_cmake.sh" to the step about
"do_cmake.sh". Add information about Ninja to the step about Ninja.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
11 months agoMerge pull request #59060 from qn2060/patch-3
Anthony D'Atri [Tue, 6 Aug 2024 23:11:22 +0000 (19:11 -0400)]
Merge pull request #59060 from qn2060/patch-3

doc/dev/peering: Change acting set num

11 months agoMerge PR #52939 into main
Patrick Donnelly [Tue, 6 Aug 2024 21:05:50 +0000 (17:05 -0400)]
Merge PR #52939 into main

* refs/pull/52939/head:
mon/MonClient: handle ms_handle_fast_authentication return

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
11 months agoMerge PR #58437 into main
Patrick Donnelly [Tue, 6 Aug 2024 21:05:10 +0000 (17:05 -0400)]
Merge PR #58437 into main

* refs/pull/58437/head:
mds: remove the misleading and redundant logs

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
11 months agoMerge PR #58582 into main
Patrick Donnelly [Tue, 6 Aug 2024 21:03:25 +0000 (17:03 -0400)]
Merge PR #58582 into main

* refs/pull/58582/head:
test: add a test for `fs set down` on online cluster
mon: fix `fs set down` to adjust max_mds only when cluster is not down

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
11 months agoMerge pull request #58511 from pereman2/ch-umount
Adam Kupczyk [Tue, 6 Aug 2024 20:10:46 +0000 (22:10 +0200)]
Merge pull request #58511 from pereman2/ch-umount

os/bluestore: assert CollectionRef count is 1 on umount

11 months agoMerge pull request #57572 from pereman2/refactors
Adam Kupczyk [Tue, 6 Aug 2024 20:10:25 +0000 (22:10 +0200)]
Merge pull request #57572 from pereman2/refactors

os/bluestore: Improve Readability of Extent Map Sharding

11 months agoMerge pull request #59011 from xxhdx1985126/wip-67327
Matan Breizman [Tue, 6 Aug 2024 17:20:57 +0000 (20:20 +0300)]
Merge pull request #59011 from xxhdx1985126/wip-67327

crimson/osd: send empty transactions to backfill targets that haven't backfilled the objects yet

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
11 months agoMerge pull request #58708 from xxhdx1985126/wip-67068
Matan Breizman [Tue, 6 Aug 2024 17:20:03 +0000 (20:20 +0300)]
Merge pull request #58708 from xxhdx1985126/wip-67068

crimson/osd/osd_operation/client_request: requeue client requests from a temporary queue other than ClientRequest::Orderer::list

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
11 months agoMerge pull request #58148 from xxhdx1985126/wip-65696
Matan Breizman [Tue, 6 Aug 2024 17:17:33 +0000 (20:17 +0300)]
Merge pull request #58148 from xxhdx1985126/wip-65696

crimson/osd/osd_operations: hang requests if the objects are unfound

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
11 months agoMerge pull request #59051 from dang/wip-dang-67321
Daniel Gryniewicz [Tue, 6 Aug 2024 17:08:09 +0000 (13:08 -0400)]
Merge pull request #59051 from dang/wip-dang-67321

RGW - Zipper: pull in upstream fix for zpp_bits

Reviewed-by: Casey Bodley <cbodley@redhat.com>
11 months agodoc/dev/peering: Change acting set num 59060/head
qn2060 [Tue, 6 Aug 2024 16:40:42 +0000 (00:40 +0800)]
doc/dev/peering: Change acting set num

This commit updates the peering doc page with the changed [2,1,2] to [3,1,2]

Signed-off-by: qn2060 <qn2060@users.noreply.github.com>
11 months agoMerge pull request #58971 from cbodley/wip-rm-boost-redis-again-again
Casey Bodley [Tue, 6 Aug 2024 14:50:37 +0000 (10:50 -0400)]
Merge pull request #58971 from cbodley/wip-rm-boost-redis-again-again

submodule: remove the boost_redis submodule again (again)

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
11 months agoMerge pull request #58037 from Suyashd999/refractor-PrimaryLogPG
Yuri Weinstein [Tue, 6 Aug 2024 14:20:25 +0000 (07:20 -0700)]
Merge pull request #58037 from Suyashd999/refractor-PrimaryLogPG

osd/PrimaryLogPG.cc bl length would be stored before moving

Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Reviewed-by: Nitzan Mordechai <nmordech@redhat.com>
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
11 months agoRGW - Zipper: pull in upstream fix for zpp_bits 59051/head
Daniel Gryniewicz [Tue, 6 Aug 2024 12:19:20 +0000 (08:19 -0400)]
RGW - Zipper: pull in upstream fix for zpp_bits

zpp_bits included code that required a newere compiler.  Pull in the
upstream fix from:

https://github.com/eyalz800/zpp_bits/pull/170

Fixes: https://tracker.ceph.com/issues/67321
Signed-off-by: Daniel Gryniewicz <dang@fprintf.net>
11 months agoMerge pull request #59024 from zdover23/wip-doc-2024-08-05-README-building-ceph
Zac Dover [Tue, 6 Aug 2024 12:17:47 +0000 (22:17 +1000)]
Merge pull request #59024 from zdover23/wip-doc-2024-08-05-README-building-ceph

doc/README.md - add ordered list

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
11 months agoMerge pull request #58282 from NitzanMordhai/wip-nitzan-daemonwatchdog-should-termina...
NitzanMordhai [Tue, 6 Aug 2024 11:26:47 +0000 (14:26 +0300)]
Merge pull request #58282 from NitzanMordhai/wip-nitzan-daemonwatchdog-should-terminate-thrasher-when-bark

qa/tasks: watchdog should terminate thrasher

11 months agoMerge pull request #58664 from aclamk/wip-aclamk-qa-less-bluestore-debug
Adam Kupczyk [Tue, 6 Aug 2024 10:53:02 +0000 (12:53 +0200)]
Merge pull request #58664 from aclamk/wip-aclamk-qa-less-bluestore-debug

qa/suites/rados: Reduced BlueStore log levels

11 months agoscript/: add cpu-map.sh to aid manual selection of CPU cores for threads for profiling 57562/head
Jose J Palacios-Perez [Mon, 20 May 2024 10:24:28 +0000 (11:24 +0100)]
script/: add cpu-map.sh to aid manual selection of CPU cores for threads for profiling

Signed-off-by: Jose J Palacios-Perez <perezjos@uk.ibm.com>
11 months agothrashers: standardize stop and join method names 58282/head
Nitzan Mordechai [Tue, 2 Jul 2024 08:31:38 +0000 (08:31 +0000)]
thrashers: standardize stop and join method names

Thrashers that do not inherit from ThrasherGreenlet previously used a
method called do_join, which combined stop and join functionality. To
ensure consistency and clarity, we want all thrashers to use separate
stop, join, and stop_and_join methods.

This commit renames methods and implements missing stop and stop_and_join
methods in thrashers that did not inherit from ThrasherGreenlet.

Fixes: https://tracker.ceph.com/issues/66698
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
11 months agoqa/tasks: watchdog terminate thrasher
Nitzan Mordechai [Wed, 26 Jun 2024 13:04:45 +0000 (13:04 +0000)]
qa/tasks: watchdog terminate thrasher

If a thrasher exception occurs, the do_dump_ops thread will continue
looping until the Teuthology timeout is reached.
The watchdog should terminate the thrasher to free up resources.

Fixes: https://tracker.ceph.com/issues/66698
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
11 months agoMerge PR #58500 into main
Venky Shankar [Tue, 6 Aug 2024 06:15:59 +0000 (11:45 +0530)]
Merge PR #58500 into main

* refs/pull/58500/head:
ptl-tool: Fix token file name and variable names

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
11 months agoMerge pull request #58963 from rhcs-dashboard/fix-67009-main
Nizamudeen A [Tue, 6 Aug 2024 04:46:19 +0000 (10:16 +0530)]
Merge pull request #58963 from rhcs-dashboard/fix-67009-main

mgr/dashboard: Dashboard not showing Object/Overview correctly.

Reviewed-by: afreen23 <NOT@FOUND>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
11 months agoMerge pull request #58746 from rhcs-dashboard/fix-67069-main
Nizamudeen A [Tue, 6 Aug 2024 04:45:09 +0000 (10:15 +0530)]
Merge pull request #58746 from rhcs-dashboard/fix-67069-main

mgr/dashboard: make multi-cluster context switcher scrollable if we have many entries in it

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
11 months agocls/rbd: add functions to get group snap orders 58002/head
N Balachandran [Mon, 22 Jul 2024 06:22:37 +0000 (11:52 +0530)]
cls/rbd: add functions to get group snap orders

Added functions to get the group snap order keys.

Signed-off-by: N Balachandran <nibalach@redhat.com>
11 months agocrimson/os/seastore/transaction: cleanup, drop unused getters
Yingxin Cheng [Mon, 22 Jul 2024 03:50:21 +0000 (11:50 +0800)]
crimson/os/seastore/transaction: cleanup, drop unused getters

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
11 months agocrimson/os/seastore/transaction: rename ool_block_lists
Yingxin Cheng [Mon, 22 Jul 2024 02:33:47 +0000 (10:33 +0800)]
crimson/os/seastore/transaction: rename ool_block_lists

Drop the inaccurate written_ prefix because they may be still writting
when added to the lists.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
11 months agocrimson/os/seastore/epm: RandomBlockOolWriter to update extents upon submitting writes
Yingxin Cheng [Fri, 19 Jul 2024 08:26:12 +0000 (16:26 +0800)]
crimson/os/seastore/epm: RandomBlockOolWriter to update extents upon submitting writes

In order to move the ool write futures out of the collection lock, which
will be after the transaction prepare phase.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
11 months agoqa: simplify postmerge construction 59029/head
Patrick Donnelly [Mon, 5 Aug 2024 20:54:22 +0000 (16:54 -0400)]
qa: simplify postmerge construction

and avoid errors when "clusternodes" is not defined.

Fixes: https://tracker.ceph.com/issues/67352
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
11 months agoMerge pull request #57905 from mcpreston/docs-dashboard-typo
Anthony D'Atri [Tue, 6 Aug 2024 00:23:53 +0000 (20:23 -0400)]
Merge pull request #57905 from mcpreston/docs-dashboard-typo

doc/mgr/dashboard: fix TLS typo

11 months agoqa/crontab: force priority for main rados nightlies 59030/head
Laura Flores [Mon, 5 Aug 2024 22:56:39 +0000 (17:56 -0500)]
qa/crontab: force priority for main rados nightlies

Followup to https://github.com/ceph/ceph/pull/58800/commits/3f62db0393b2d1516a447fd13d83f6bf26bbd99b.
The suite is large, so we need to force the priority. This is warranted
since the rados team makes a lot of use of the main runs.

Signed-off-by: Laura Flores <lflores@ibm.com>
11 months agoMerge pull request #58767 from kshtsk/wip-python-invalid-escape-sequence
Adam King [Mon, 5 Aug 2024 16:56:39 +0000 (12:56 -0400)]
Merge pull request #58767 from kshtsk/wip-python-invalid-escape-sequence

mgr: fix invalid escape sequence

Reviewed-by: John Mulligan <jmulligan@redhat.com>
11 months agoMerge pull request #58373 from ceph/wip-tasks-ceph-mkfs-has-no-f
kyr [Mon, 5 Aug 2024 15:44:14 +0000 (17:44 +0200)]
Merge pull request #58373 from ceph/wip-tasks-ceph-mkfs-has-no-f

qa: ceph.py mkfs.ext4 has no -f

11 months agoos/bluestore: BluestoreRepairTest ch cleanup 58511/head
Pere Diaz Bou [Mon, 5 Aug 2024 15:15:48 +0000 (17:15 +0200)]
os/bluestore: BluestoreRepairTest ch cleanup

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
11 months agocls/rbd: save max group snap order
N Balachandran [Mon, 22 Jul 2024 05:41:17 +0000 (11:11 +0530)]
cls/rbd: save max group snap order

Save the last used group snap order value to speed up
snapshot creation.

Signed-off-by: N Balachandran <nibalach@redhat.com>
11 months agocls/rbd: save group snapshot creation order in a new key
Mykola Golub [Thu, 15 Jul 2021 15:27:29 +0000 (16:27 +0100)]
cls/rbd: save group snapshot creation order in a new key

In order to be able to list group snapshots in creation order, a
new snapshot order key is stored on snapshot creation.

[nbalacha: removed the group_snap_unsorted function,
reverted the group_snap_list function changes]

Signed-off-by: Mykola Golub <mgolub@suse.com>
Signed-off-by: N Balachandran <nibalach@redhat.com>
11 months agodoc/README.md - add ordered list 59024/head
Zac Dover [Mon, 5 Aug 2024 13:02:49 +0000 (23:02 +1000)]
doc/README.md - add ordered list

Add ordered-list formatting to the "Building Ceph" section of README.md.

Signed-off-by: Zac Dover <zac.dover@proton.me>
11 months agoMerge pull request #58891 from zdover23/wip-doc-2024-07-28-cephfs-file-layouts-layout...
Zac Dover [Mon, 5 Aug 2024 12:14:56 +0000 (22:14 +1000)]
Merge pull request #58891 from zdover23/wip-doc-2024-07-28-cephfs-file-layouts-layout-fields

doc/cephfs: edit "Layout Fields" text

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
11 months agoPeeringState.cc: Only populate want_acting when num_osds < bucket_max 57381/head
Kamoltat [Thu, 9 May 2024 20:18:51 +0000 (20:18 +0000)]
PeeringState.cc: Only populate want_acting when num_osds < bucket_max

Currently, in `calc_replicated_acting_stretch` we would
call `pop_ancester` before checking whether the next
OSD we populate in the want_acting set would have
the ancestor count that is >= bucket_max.

Fixes: https://tracker.ceph.com/issues/65371
Signed-off-by: Kamoltat <ksirivad@redhat.com>
11 months agoMerge pull request #58115 from ronen-fr/wip-rf-memmodel
Ronen Friedman [Mon, 5 Aug 2024 11:59:38 +0000 (14:59 +0300)]
Merge pull request #58115 from ronen-fr/wip-rf-memmodel

common: MemoryModel: performance improvements and API changes

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
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 agocrimson/os/seastore/cache: introduce maybe_add_to_read_set() 58983/head
Yingxin Cheng [Mon, 5 Aug 2024 08:04:26 +0000 (16:04 +0800)]
crimson/os/seastore/cache: introduce maybe_add_to_read_set()

And only touch extent if it is absent in transaction.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
11 months agocrimson/os/seastore/cache: verify pending extents in get_extent_viewable_by_trans()
Yingxin Cheng [Wed, 31 Jul 2024 08:51:31 +0000 (16:51 +0800)]
crimson/os/seastore/cache: verify pending extents in get_extent_viewable_by_trans()

Distinguish specific cases carefully.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
11 months agoMerge pull request #57786 from Svelar/asan_cli_test
Rongqi Sun [Mon, 5 Aug 2024 07:45:17 +0000 (15:45 +0800)]
Merge pull request #57786 from Svelar/asan_cli_test

crush: avoid out-of-bound access and simplify enlarging buckets

11 months agocrimson/os/seastore: consider segment_header_t::modify_time as the 58787/head
Xuehan Xu [Wed, 24 Jul 2024 13:17:43 +0000 (21:17 +0800)]
crimson/os/seastore: consider segment_header_t::modify_time as the
segments' modify_time for no-tail OOL segments

OOL segments don't contain record headers anymore, we use
segment_header_t::modify_time as the approximation of segment
modify_time

Fixes: https://tracker.ceph.com/issues/67106
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
11 months agocrimson/os/seastore/epm: SegmentedOolWriter to update ool paddr upon submitting writes
Yingxin Cheng [Fri, 19 Jul 2024 02:02:47 +0000 (10:02 +0800)]
crimson/os/seastore/epm: SegmentedOolWriter to update ool paddr upon submitting writes

In order to move the ool write futures out of the collection lock, which
will be after the transaction prepare phase.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
11 months agocrimson/os/seastore/record_submitter: return record-base immediately upon submit
Yingxin Cheng [Wed, 17 Jul 2024 05:41:54 +0000 (13:41 +0800)]
crimson/os/seastore/record_submitter: return record-base immediately upon submit

For out-of-line write only.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
11 months agocrimson/os/seastore/record_submitter: cleanup around write_base
Yingxin Cheng [Tue, 16 Jul 2024 08:11:04 +0000 (16:11 +0800)]
crimson/os/seastore/record_submitter: cleanup around write_base

No longer need to pass write_base through the write promise.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
11 months agocrimson/os/seastore/record_submitter: minor cleanups
Yingxin Cheng [Tue, 16 Jul 2024 08:09:56 +0000 (16:09 +0800)]
crimson/os/seastore/record_submitter: minor cleanups

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
11 months agocrimson/os/seastore/record_submitter: refactor to make write base available
Yingxin Cheng [Tue, 16 Jul 2024 06:36:22 +0000 (14:36 +0800)]
crimson/os/seastore/record_submitter: refactor to make write base available

Make sure the write base is available upon RecordSubmitter::submit().

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
11 months agocrimson/os/seastore/record_submitter: refactor JournalAllocator::write()
Yingxin Cheng [Tue, 16 Jul 2024 02:36:57 +0000 (10:36 +0800)]
crimson/os/seastore/record_submitter: refactor JournalAllocator::write()

Decouple get_written_to() so it can be queried upon writes.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
11 months agoMerge pull request #58718 from wanglinke521/wlk-kv-stats
Yuri Weinstein [Sun, 4 Aug 2024 15:14:49 +0000 (08:14 -0700)]
Merge pull request #58718 from wanglinke521/wlk-kv-stats

kv/RocksDBStore: add kv_stats function to print all CF info

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
11 months agoMerge pull request #58470 from mohit84/issue_66867
Yuri Weinstein [Sun, 4 Aug 2024 15:14:09 +0000 (08:14 -0700)]
Merge pull request #58470 from mohit84/issue_66867

mon: Remove any pg_upmap_primary mapping during remove a pool

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Josh Salomon <josh.salomon@gmail.com>
11 months agoMerge pull request #58302 from jianwei1216/feat_add_mclock_perfcounter_main
Yuri Weinstein [Sun, 4 Aug 2024 15:13:04 +0000 (08:13 -0700)]
Merge pull request #58302 from jianwei1216/feat_add_mclock_perfcounter_main

osd/scheduler: add mclock queue length perfcounter

Reviewed-by: Sridhar Seshasayee <sseshasa@redhat.com>
11 months agocrimson/osd: send empty transactions to backfill targets that haven't 59011/head
Xuehan Xu [Sun, 4 Aug 2024 10:59:05 +0000 (18:59 +0800)]
crimson/osd: send empty transactions to backfill targets that haven't
backfilled the objects yet

Fixes: https://tracker.ceph.com/issues/67327
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
11 months agoMerge pull request #59006 from zdover23/wip-doc-2024-08-03-glossary-ceph-ansible
Anthony D'Atri [Sat, 3 Aug 2024 14:41:03 +0000 (10:41 -0400)]
Merge pull request #59006 from zdover23/wip-doc-2024-08-03-glossary-ceph-ansible

doc/glossary: add "ceph-ansible"

11 months agodoc/glossary: add "ceph-ansible" 59006/head
Zac Dover [Fri, 2 Aug 2024 20:51:32 +0000 (06:51 +1000)]
doc/glossary: add "ceph-ansible"

Add a "ceph-ansible" entry to the glossary.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
11 months agoMerge pull request #58969 from gbregman/main
Gil Bregman [Fri, 2 Aug 2024 13:27:08 +0000 (16:27 +0300)]
Merge pull request #58969 from gbregman/main

mgr/cephadm: Add SPDK log level to nvmeof configuration file

11 months agoMerge pull request #58402 from rkachach/fix_issue_mtls_support
Adam King [Fri, 2 Aug 2024 13:26:17 +0000 (09:26 -0400)]
Merge pull request #58402 from rkachach/fix_issue_mtls_support

mgr/cephadm: adding mTLS for ceph mgmt-gateway and backend services communication

Reviewed-by: Adam King <adking@redhat.com>
11 months agomgr/cephadm: add SPDK log level to nvmeof configuration 58969/head
Gil Bregman [Fri, 2 Aug 2024 06:21:01 +0000 (09:21 +0300)]
mgr/cephadm: add SPDK log level to nvmeof configuration
Fixes https://tracker.ceph.com/issues/67258

Signed-off-by: Gil Bregman <gbregman@il.ibm.com>