]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
11 months agoos/bluestore: Write_v2 changes 54504/head
Adam Kupczyk [Tue, 6 Aug 2024 13:35:11 +0000 (13:35 +0000)]
os/bluestore: Write_v2 changes

4) remove Writer::shared_changed and use txc::shared_blobs directly

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Write_v2 changes
Adam Kupczyk [Thu, 1 Aug 2024 11:54:21 +0000 (11:54 +0000)]
os/bluestore: Write_v2 changes

1) moved stats and blobs update to Writer::do_write
2) preallocate space in Writer:_split_data
3) fixed Writer::_write_expand_l that could check one extent too much

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agotests/bluestore_types: Fixed data generation bluestore_blob_t::release_extents
Adam Kupczyk [Mon, 29 Jul 2024 13:32:58 +0000 (13:32 +0000)]
tests/bluestore_types: Fixed data generation bluestore_blob_t::release_extents

The #1 and #2 elements could form a continuous sequence but still not
joined:
Expected equality of these values:
  result
    Which is: { 0x7b138000~48000, 0x883b0000~48000, 0xf0c10000~10000, 0x727b8000~38000 }
  mid
    Which is: { 0x7b138000~30000, 0x7b168000~18000, 0x883b0000~48000, 0xf0c10000~10000, 0x727b8000~38000 }

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoqa/bluestore: Add write_v1/v2 selection
Adam Kupczyk [Thu, 25 Jul 2024 17:10:50 +0000 (17:10 +0000)]
qa/bluestore: Add write_v1/v2 selection

Add framework for various random options for debug bluestore.
Use framework to select:
- write_v1
- write_v2
- write_v1 / write_v2 selected at random

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Add conf.bluestore_write_v2_random
Adam Kupczyk [Thu, 25 Jul 2024 07:48:14 +0000 (07:48 +0000)]
os/bluestore: Add conf.bluestore_write_v2_random

Added conf.bluestore_write_v2_random. This is useful only for testing.
If set, it overrides value of bluestore_write_v2 with a random
true/false selection.
It is useful for v1 / v2 compatibility testing.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Add compression fallback
Adam Kupczyk [Thu, 25 Jul 2024 07:47:04 +0000 (07:47 +0000)]
os/bluestore: Add compression fallback

For write_v2 create fallback to write_v1 if compression is selected.
This is temporary until compression dedicated to benefit from v2 is
merged.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Writer, fix find_mutable_blob
Adam Kupczyk [Thu, 25 Jul 2024 07:41:46 +0000 (07:41 +0000)]
os/bluestore: Writer, fix find_mutable_blob

1) Algorithm assumed that blob->blob_start() is aligned to csum size.
It is true for blobs created by write_v2, but write_v1 can generate
blob like: begin = 0x9000, size = 0x6000, csum = 0x2000.
2) Blobs with unused were selected even if those need to be expanded.
This is illegal since we cannot expand unused.

Fixed blob selection algorithm.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Writer, improved calculation of need_size
Adam Kupczyk [Mon, 15 Jul 2024 14:33:24 +0000 (14:33 +0000)]
os/bluestore: Writer, improved calculation of need_size

More diligent calcualtion algorithm of need_size.
Takes into account front and back alignment.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Writer, fix for clang
Adam Kupczyk [Mon, 15 Jul 2024 06:33:55 +0000 (06:33 +0000)]
os/bluestore: Writer, fix for clang

Clang fails at _construct_at().

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agocrimson/alienstore: New write path & debug
Adam Kupczyk [Sun, 14 Jul 2024 16:29:49 +0000 (16:29 +0000)]
crimson/alienstore: New write path & debug

Added missing files to alienstore CMake list.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Add Writer::_crop_allocs_to_io
Adam Kupczyk [Sat, 13 Jul 2024 18:08:16 +0000 (18:08 +0000)]
os/bluestore: Add Writer::_crop_allocs_to_io

Usually the data we put to disk is AU aligned.
In weird cases like AU=16K we put less data than we allocated.
_crop_allocs_to_io trims allocated extents into disk block extents
to reflect real IO.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Fix after rebase
Adam Kupczyk [Tue, 9 Jul 2024 18:48:19 +0000 (18:48 +0000)]
os/bluestore: Fix after rebase

BufferSpace is not with Onode, not Blob.
Modify code to adapt to this change.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Review fixes to Writer
Adam Kupczyk [Fri, 21 Jun 2024 08:45:18 +0000 (08:45 +0000)]
os/bluestore: Review fixes to Writer

Plus making const& variables in `for`.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Add perf counters to Writer
Adam Kupczyk [Wed, 22 May 2024 11:36:51 +0000 (13:36 +0200)]
os/bluestore: Add perf counters to Writer

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Writer, fix _try_reuse_allocated_l/r
Adam Kupczyk [Fri, 24 May 2024 07:50:04 +0000 (09:50 +0200)]
os/bluestore: Writer, fix _try_reuse_allocated_l/r

It was not checked if necessary location is still within blob range.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Cleanup on bluestore_blob_t::release_extents
Adam Kupczyk [Wed, 22 May 2024 16:01:16 +0000 (18:01 +0200)]
os/bluestore: Cleanup on bluestore_blob_t::release_extents

Result of ongoing review.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Writer, rename _deferred_decision -> _defer_or_allocate
Adam Kupczyk [Wed, 22 May 2024 15:59:52 +0000 (17:59 +0200)]
os/bluestore: Writer, rename _deferred_decision -> _defer_or_allocate

A review proposal.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Review fixes of Writer
Adam Kupczyk [Wed, 22 May 2024 11:55:53 +0000 (13:55 +0200)]
os/bluestore: Review fixes of Writer

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Fix _try_reuse_allocated_r in Writer.cc
Adam Kupczyk [Wed, 22 May 2024 11:53:11 +0000 (13:53 +0200)]
os/bluestore: Fix _try_reuse_allocated_r in Writer.cc

The search must go over entire range where we can have aligned mutable blobs.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Modify _write_expand_l/r
Adam Kupczyk [Wed, 22 May 2024 11:43:54 +0000 (13:43 +0200)]
os/bluestore: Modify _write_expand_l/r

We need to scan all extents that are under proposed read / padding.
It was broken and we could clear out something defined.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Add bluestore_write_v2 conf variable
Adam Kupczyk [Tue, 16 Jan 2024 10:16:09 +0000 (10:16 +0000)]
os/bluestore: Add bluestore_write_v2 conf variable

Add new conf variable.
bluestore_write_v2 = true : use new _do_write_v2() function
bluestore_write_v2 = false : use legacy _do_write() function
This variable is read only at start time.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Added new write path with BlueStore
Adam Kupczyk [Tue, 16 Jan 2024 10:37:07 +0000 (10:37 +0000)]
os/bluestore: Added new write path with BlueStore

Added _do_write_v2 function to BlueStore.
Function is not integrated yet.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Add "write_lat" perf counter
Adam Kupczyk [Tue, 16 Jan 2024 10:22:53 +0000 (10:22 +0000)]
os/bluestore: Add "write_lat" perf counter

New "write_lat" tracks wallclock time spent in execution of BlueStore::_write().

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Add unit test for BlueStore::Writer
Adam Kupczyk [Fri, 5 Jan 2024 09:10:36 +0000 (09:10 +0000)]
os/bluestore: Add unit test for BlueStore::Writer

Extensive tests for BlueStore::Writer.
Some extra debug hooks for BlueStore.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Introducing BlueStore::Writer
Adam Kupczyk [Fri, 5 Jan 2024 08:08:09 +0000 (08:08 +0000)]
os/bluestore: Introducing BlueStore::Writer

BlueStore::Writer is a toolkit to give more options to control write.
It gives more control over compression process, letting user of the class
manually split incoming data to blobs.
Now for large writes all but last blob can be fully filled with data.

There is now a single place that decides on deferred/direct.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Functions to manipulate Blob
Adam Kupczyk [Fri, 5 Jan 2024 07:54:05 +0000 (07:54 +0000)]
os/bluestore: Functions to manipulate Blob

Set of various simple functions to simplify code.
No special logic here.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Add csum_type to WriteContext
Adam Kupczyk [Thu, 16 Nov 2023 17:18:37 +0000 (17:18 +0000)]
os/bluestore: Add csum_type to WriteContext

It is more organized this way.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agotests/bluestore_types: Fix % 0 in tests
Adam Kupczyk [Fri, 28 Jun 2024 12:16:52 +0000 (12:16 +0000)]
tests/bluestore_types: Fix % 0 in tests

It was possible to get x % 0. It generated exception.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Unit tests for punch_hole_2
Adam Kupczyk [Tue, 14 Nov 2023 16:46:32 +0000 (16:46 +0000)]
os/bluestore: Unit tests for punch_hole_2

Comprehensive tests for punch_hole_2.
New formulation of punch_hole_2 makes it very easy to
create patterns and inspect results.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Refactor of write path. New punch_hole_2 function.
Adam Kupczyk [Tue, 14 Nov 2023 16:25:01 +0000 (16:25 +0000)]
os/bluestore: Refactor of write path. New punch_hole_2 function.

Introducing new logic of Onode processing during write.
New punch_hole_2 function empties range, but keeps track of elements:
- allocations that are no longer used
- blobs that are now empty
- shared blobs that got modified
- statfs changes to apply later

This change allows to reuse allocation for deferred freely, which means
that we can use allocations in deferred mode in other blob then they come from.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Add ExtentMap::split_at and ExtentMap::maybe_split_at
Adam Kupczyk [Tue, 14 Nov 2023 14:10:31 +0000 (14:10 +0000)]
os/bluestore: Add ExtentMap::split_at and ExtentMap::maybe_split_at

Created dedicated mutator of ExtentMap that is useful when
a logical extent must be split.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Add bluestore_blob_use_tracker_t::put_simple
Adam Kupczyk [Thu, 9 Nov 2023 01:14:30 +0000 (01:14 +0000)]
os/bluestore: Add bluestore_blob_use_tracker_t::put_simple

New version of put().
It is simpler and faster, but does not allow for
overprovisioning of used AUs.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoinclude/intarith: add p2remain
Adam Kupczyk [Thu, 9 Nov 2023 01:06:38 +0000 (01:06 +0000)]
include/intarith: add p2remain

p2remain gives remaining data in a block.
It simialar to p2nphase, but for 0 offset returns full size.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: New variant of bluestore_blob_t::release_extents
Adam Kupczyk [Wed, 8 Nov 2023 13:37:15 +0000 (13:37 +0000)]
os/bluestore: New variant of bluestore_blob_t::release_extents

Created new variant of bluestore_blob_t::release_extents function.
Now the function takes range [offset~length] as an argument,
a simplification that allows it to have much better performance.

Created comprehensive unit test, tests 40k random blobs.
The unit test does not test for a potential case of having
bluestore_blob_t.extents that are not allocation unit aligned.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Fix debug after rebase 54075/head
Adam Kupczyk [Tue, 9 Jul 2024 13:27:54 +0000 (13:27 +0000)]
os/bluestore: Fix debug after rebase

BufferSpace moved from Blob to Onode.
Moved relevant code from Blob::operator<< to Onode::operator<<.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Add ability to partially print Onode
Adam Kupczyk [Fri, 14 Jun 2024 10:54:01 +0000 (10:54 +0000)]
os/bluestore: Add ability to partially print Onode

Now Onode can be printed in selected range.
It is useful in high-level dout modes that operate on a fragment of
entire Onode.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Move OBJECT_MAX_SIZE
Adam Kupczyk [Thu, 13 Jun 2024 18:40:50 +0000 (18:40 +0000)]
os/bluestore: Move OBJECT_MAX_SIZE

From define in .cc to constexpr in .h

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Blob, Onode debug printout
Adam Kupczyk [Mon, 27 May 2024 06:36:39 +0000 (08:36 +0200)]
os/bluestore: Blob, Onode debug printout

Small improvement on debug output.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: small improvement for printers
Adam Kupczyk [Wed, 28 Feb 2024 17:56:59 +0000 (17:56 +0000)]
os/bluestore: small improvement for printers

- moved operator<< to BlueStore_debug file
- upcased Printer {} flags
- more reliable heap begin detection
- fixup after rebase

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Add improved printer for Onode
Adam Kupczyk [Wed, 29 Nov 2023 11:55:44 +0000 (11:55 +0000)]
os/bluestore: Add improved printer for Onode

Added nice replacement for dump_onode function.
Introduce printer class that allows to select parts of Onode that are to be printed.
It severly reduced amount of clutter in output.
Usage:
using P = Bluestore::printer;
dout << blob->print(P::ptr + P::sdisk + P::schk + P::buf + P::attrs);

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Add printing buffers to Blob
Adam Kupczyk [Wed, 29 Nov 2023 11:44:26 +0000 (11:44 +0000)]
os/bluestore: Add printing buffers to Blob

Now printing Blob can include buffers.
There are 2 variants:
- 'buf' same as original in dump_onode
- 'sbuf' only fundamental params, no ptr etc.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Add improved printer for Extent
Adam Kupczyk [Wed, 18 Oct 2023 14:18:49 +0000 (14:18 +0000)]
os/bluestore: Add improved printer for Extent

Modify Extent similar to Blob, so that one can use improved Blob printing
when printing extents.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
11 months agoos/bluestore: Add improved printer for Blob
Adam Kupczyk [Wed, 18 Oct 2023 12:10:22 +0000 (12:10 +0000)]
os/bluestore: Add improved printer for Blob

Introduce printer class that allows to select parts of Blob that are to be printed.
It severly reduced amount of clutter in output.
Usage:
using P = Bluestore::Blob::printer;
dout << blob->printer(P::ptr + P::sdisk + P::schk);

Signed-off-by: Adam Kupczyk <akupczyk@ibm.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 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 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 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 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 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 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 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 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>
11 months agopython-common/ceph/deployment: add SPDK log level to nvmeof configuration
Gil Bregman [Fri, 2 Aug 2024 06:20:21 +0000 (09:20 +0300)]
python-common/ceph/deployment: add SPDK log level to nvmeof configuration
Fixes https://tracker.ceph.com/issues/67258

Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
11 months agoMerge pull request #58883 from idryomov/wip-backport-create-resourceattrerror
Ilya Dryomov [Thu, 1 Aug 2024 20:52:50 +0000 (22:52 +0200)]
Merge pull request #58883 from idryomov/wip-backport-create-resourceattrerror

script/backport-create-issue: handle ResourceAttrError when getting CF_TAGS

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
11 months agoMerge pull request #58882 from idryomov/wip-native-format-dispatch
Ilya Dryomov [Thu, 1 Aug 2024 20:51:18 +0000 (22:51 +0200)]
Merge pull request #58882 from idryomov/wip-native-format-dispatch

librbd/migration: don't instantiate NativeFormat, handle it via dispatch

Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: N Balachandran <nibalach@redhat.com>
11 months agoMerge pull request #58862 from cbodley/wip-rgw-posix-bucket-cache-lock
Casey Bodley [Thu, 1 Aug 2024 18:23:26 +0000 (14:23 -0400)]
Merge pull request #58862 from cbodley/wip-rgw-posix-bucket-cache-lock

rgw/posix: name the lock_guard in BucketCacheEntry::reclaim()

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
11 months agoos/bluestore: remove unused functions 58993/head
Pere Diaz Bou [Thu, 1 Aug 2024 15:21:07 +0000 (17:21 +0200)]
os/bluestore: remove unused functions

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>