]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
16 months agoos/bluestore: remove wrong assert 54327/head
Pere Diaz Bou [Thu, 27 Jun 2024 06:20:32 +0000 (08:20 +0200)]
os/bluestore: remove wrong assert

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
17 months agoos/bluestore: Fix using 'near' hint in cache
Adam Kupczyk [Fri, 7 Jun 2024 20:16:24 +0000 (20:16 +0000)]
os/bluestore: Fix using 'near' hint in cache

We can now get near hint that refers to buffer that is in writing state.
Such buffer is not in cache yet and cannot provide in-queue location.
We only extact cache_private.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
18 months agoos/bluestore: fix buffercacheshard store arg bluestore_tyeps
Pere Diaz Bou [Fri, 26 Apr 2024 09:33:25 +0000 (11:33 +0200)]
os/bluestore: fix buffercacheshard store arg bluestore_tyeps

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
18 months agoos/bluestore: get rid off global Writings and use TransContext instead
Igor Fedotov [Wed, 17 Apr 2024 11:42:20 +0000 (14:42 +0300)]
os/bluestore: get rid off global Writings and use TransContext instead

Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
18 months agotest/store_test: wait for completion not sleep.
Igor Fedotov [Tue, 16 Apr 2024 12:37:38 +0000 (15:37 +0300)]
test/store_test: wait for completion not sleep.

Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
18 months agoos/bluestore: get rid off TransContext::seq
Igor Fedotov [Tue, 16 Apr 2024 12:36:56 +0000 (15:36 +0300)]
os/bluestore: get rid off TransContext::seq

Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
18 months agoos/bluestore: introduce centralized BlueStore::Writings entity
Igor Fedotov [Mon, 1 Apr 2024 17:09:00 +0000 (20:09 +0300)]
os/bluestore: introduce centralized BlueStore::Writings entity

Which performs tracking of being-in-write Buffer instances
and hence takes this reliability from BufferSpace.

Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
18 months agotest/store_test: add DeferredAndClone test case
Igor Fedotov [Fri, 29 Mar 2024 21:52:14 +0000 (00:52 +0300)]
test/store_test: add DeferredAndClone test case

Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
18 months agoos/bluestore: refactor maybe_prune_tail can_prune_tail
Pere Diaz Bou [Thu, 11 Apr 2024 10:10:32 +0000 (12:10 +0200)]
os/bluestore: refactor maybe_prune_tail can_prune_tail

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
18 months agoos/bluestore: fix small write deferred buffer_cache_write
Pere Diaz Bou [Tue, 9 Apr 2024 13:14:00 +0000 (15:14 +0200)]
os/bluestore: fix small write deferred buffer_cache_write

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
18 months agoRevert "os/bluestore: fix bad buffer_cache_write"
Pere Diaz Bou [Tue, 9 Apr 2024 11:13:37 +0000 (13:13 +0200)]
Revert "os/bluestore: fix bad buffer_cache_write"

This reverts commit eff64c1095fa7567a6590368e348ef3ec11f632c.

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
18 months agoos/bluestore: add missing move(bl) in BufferSpace::did_read
Pere Diaz Bou [Tue, 2 Apr 2024 15:02:11 +0000 (17:02 +0200)]
os/bluestore: add missing move(bl) in BufferSpace::did_read

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
18 months agoos/bluestore: remove redundant bufferspace discard in truncate
Pere Diaz Bou [Tue, 2 Apr 2024 15:01:43 +0000 (17:01 +0200)]
os/bluestore: remove redundant bufferspace discard in truncate

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
18 months agoos/bluestore: fix bad buffer_cache_write
Pere Diaz Bou [Tue, 2 Apr 2024 15:00:46 +0000 (17:00 +0200)]
os/bluestore: fix bad buffer_cache_write

we can just cache write before padding or extra reading to decrease
complexity

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
18 months agoos/bluestore: remove BufferSpace::split
Pere Diaz Bou [Tue, 2 Apr 2024 14:59:59 +0000 (16:59 +0200)]
os/bluestore: remove BufferSpace::split

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
18 months agoos/bluestore: onode::finish_write
Pere Diaz Bou [Tue, 2 Apr 2024 14:57:52 +0000 (16:57 +0200)]
os/bluestore: onode::finish_write

Use same finish_write->_finish_write tandem from blob->bufferspace now
with onode->bufferspace instead of a single finish_write function.

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
18 months agoos/bluestore: maybe_prune_tail
Pere Diaz Bou [Tue, 2 Apr 2024 14:54:45 +0000 (16:54 +0200)]
os/bluestore: maybe_prune_tail

previously, discard_unallocated pruned tail. Now we have an explicit
maybe_prune_tail procedure

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
18 months agoos/bluestore: remove length from did_read
Pere Diaz Bou [Thu, 28 Mar 2024 14:52:08 +0000 (15:52 +0100)]
os/bluestore: remove length from did_read

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
18 months agoos/bluestore: bring back cache change protection in finish_write
Pere Diaz Bou [Wed, 13 Mar 2024 14:11:08 +0000 (15:11 +0100)]
os/bluestore: bring back cache change protection in finish_write

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
18 months agoos/bluestore: add comment explaining BufferSpace::_discard loop
Pere Diaz Bou [Wed, 13 Mar 2024 11:45:36 +0000 (12:45 +0100)]
os/bluestore: add comment explaining BufferSpace::_discard loop

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
18 months agoos/bluestore: remove blob from buffer_cache_write arguments
Pere Diaz Bou [Wed, 13 Mar 2024 11:38:53 +0000 (12:38 +0100)]
os/bluestore: remove blob from buffer_cache_write arguments

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
18 months agoos/bluestore: remove cache lock from can_split
Pere Diaz Bou [Wed, 13 Mar 2024 11:38:08 +0000 (12:38 +0100)]
os/bluestore: remove cache lock from can_split

since we don't base splitting blob un buffer space, we don't need to
lock there anymore

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
18 months agoos/bluestore: remove discard_unallocated
Pere Diaz Bou [Wed, 13 Mar 2024 09:28:20 +0000 (10:28 +0100)]
os/bluestore: remove discard_unallocated

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
18 months agoos/bluestore: BufferSpace::read assert b->end() > offset
Pere Diaz Bou [Wed, 6 Mar 2024 14:23:20 +0000 (15:23 +0100)]
os/bluestore: BufferSpace::read assert b->end() > offset

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
18 months agoos/bluestore: change shared_blob references to getter
Pere Diaz Bou [Tue, 5 Mar 2024 13:13:31 +0000 (14:13 +0100)]
os/bluestore: change shared_blob references to getter

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
18 months agoos/bluestore: split blob remove writing check
Pere Diaz Bou [Tue, 5 Mar 2024 11:29:26 +0000 (12:29 +0100)]
os/bluestore: split blob remove writing check

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
18 months agoos/bluestore: move all buffers when splittting cache
Pere Diaz Bou [Mon, 4 Mar 2024 17:55:01 +0000 (18:55 +0100)]
os/bluestore: move all buffers when splittting cache

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
18 months agoos/bluestore: fix overlap function
Pere Diaz Bou [Wed, 28 Feb 2024 17:33:46 +0000 (18:33 +0100)]
os/bluestore: fix overlap function

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
18 months agoos/bluestore: deferred seq dependency lock
Pere Diaz Bou [Tue, 13 Feb 2024 17:24:58 +0000 (18:24 +0100)]
os/bluestore: deferred seq dependency lock

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
18 months agoos/bluestore: fix dup_writing offsets after rebase
Pere Diaz Bou [Sun, 11 Feb 2024 17:47:33 +0000 (18:47 +0100)]
os/bluestore: fix dup_writing offsets after rebase

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
18 months agoos/bluestore: lock collection on deferred _finish_write
Pere Diaz Bou [Sun, 11 Feb 2024 17:45:31 +0000 (18:45 +0100)]
os/bluestore: lock collection on deferred _finish_write

Leaving deferred map unprotected caused race conditions that must be
dealt for correctness. This might impact performance.

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
18 months agoos/bluestore: use blob_offset in compressed read results
Pere Diaz Bou [Mon, 29 Jan 2024 09:46:31 +0000 (10:46 +0100)]
os/bluestore: use blob_offset in compressed read results

Using `front` as offset for compressed blobs was awfully incorrect and
the required was blob_offset.

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
18 months agoos/bluestore: check collection nullptr on deletion dummy onode
Pere Diaz Bou [Fri, 19 Jan 2024 08:47:45 +0000 (09:47 +0100)]
os/bluestore: check collection nullptr on deletion dummy onode

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
18 months agoos/bluestore remove duplicated buffer_cache_write and bounds check
Pere Diaz Bou [Thu, 23 Nov 2023 12:27:13 +0000 (13:27 +0100)]
os/bluestore remove duplicated buffer_cache_write and bounds check

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
18 months agoos/bluestore: use dependant onode collection's cache
Pere Diaz Bou [Thu, 16 Nov 2023 10:28:07 +0000 (11:28 +0100)]
os/bluestore: use dependant onode collection's cache

Fix to use onode_dependant cache instead of using onode

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
18 months agoos/bluestore: BufferSpace clear on Onode dctor
Pere Diaz Bou [Mon, 13 Nov 2023 09:33:20 +0000 (10:33 +0100)]
os/bluestore: BufferSpace clear on Onode dctor

Previously we cleared BufferSpace on Blob's destructor and now it should
be in Onode destructor.

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
18 months agoos/bluestore: acquire cache lock on _finish_write
Pere Diaz Bou [Tue, 7 Nov 2023 16:33:43 +0000 (17:33 +0100)]
os/bluestore: acquire cache lock on _finish_write

There were race conditions while finishing buffer writes due to a
missing lock. This adds that lock_guard to protect cache in _finish_write

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
18 months agoos/bluestore: undo cache audit removed from lru cache
Pere Diaz Bou [Tue, 7 Nov 2023 12:25:36 +0000 (13:25 +0100)]
os/bluestore: undo cache audit removed from lru cache

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
18 months agoos/bluestore: BufferSpace per Onode
Pere Diaz Bou [Tue, 2 Jan 2024 14:04:40 +0000 (15:04 +0100)]
os/bluestore: BufferSpace per Onode

Instead of indexing buffers by blob offset we do it by logical offset.
Previously we tried using physical offsets but it was a pretty bad idea
is it required extra bound checks of physical extents and extra loops
for to add them, that includes chopping off buffer data.

Logical offsets don't have these problems but we have different ones.
Bufferlist data is padded before being used in `_do_alloc_write` which
means before adding it to BufferSpace, we are required to get the
unpadded substr_of data because padded data might overflow to an invalid
logical offset in contrast to when we used blob offsets where padded
data was wonderful. This is true in in `generate_read_result_bl` too, we
read by regions of blob extents but we must translate it back to logical
offsets, that means an extra loop to include correct logical regions was

Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
18 months agoMerge pull request #56860 from clwluvw/rgw-crypt-ssl
Casey Bodley [Thu, 25 Apr 2024 13:09:27 +0000 (14:09 +0100)]
Merge pull request #56860 from clwluvw/rgw-crypt-ssl

rgw: eliminate ssl enforcement for sse-s3 encryption

Reviewed-by: Casey Bodley <cbodley@redhat.com>
18 months agoMerge pull request #56868 from clwluvw/request-payer
Casey Bodley [Thu, 25 Apr 2024 13:09:17 +0000 (14:09 +0100)]
Merge pull request #56868 from clwluvw/request-payer

rgw: exclude logging of request payer for 403 requests

Reviewed-by: Casey Bodley <cbodley@redhat.com>
18 months agoMerge pull request #56394 from cbodley/wip-rgw-cache-size
Casey Bodley [Thu, 25 Apr 2024 13:08:06 +0000 (14:08 +0100)]
Merge pull request #56394 from cbodley/wip-rgw-cache-size

rgw: increase default metadata cache size for accounts

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
18 months agoMerge pull request #56606 from guojidan/num_bytes
Matan Breizman [Thu, 25 Apr 2024 11:32:49 +0000 (14:32 +0300)]
Merge pull request #56606 from guojidan/num_bytes

crimson/osd/ops_executer: fix snap overlap range error

Reviewed-by: Samuel Just <sjust@redhat.com>
18 months agoMerge pull request #56942 from Svelar/fix_tox_cephadm
Rongqi Sun [Thu, 25 Apr 2024 03:07:27 +0000 (20:07 -0700)]
Merge pull request #56942 from Svelar/fix_tox_cephadm

test/cephadm: extend timeout again

18 months agoMerge pull request #57057 from adk3798/no-downgrade
Adam King [Wed, 24 Apr 2024 16:02:11 +0000 (12:02 -0400)]
Merge pull request #57057 from adk3798/no-downgrade

doc/cephadm: remove downgrade reference from upgrade docs

Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
18 months agoMerge pull request #56644 from tchaikov/wip-warning-not-fatal
Kefu Chai [Wed, 24 Apr 2024 15:21:31 +0000 (23:21 +0800)]
Merge pull request #56644 from tchaikov/wip-warning-not-fatal

test: do not consider warning from Sanitizer as fatal

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
18 months agoMerge pull request #55950 from ifed01/wip-ifed-omap-pcounters
Igor Fedotov [Wed, 24 Apr 2024 14:29:42 +0000 (17:29 +0300)]
Merge pull request #55950 from ifed01/wip-ifed-omap-pcounters

os/bluestore: add omap_set* perf counters

Reviewed-by: akupczyk@ibm.com
Reviewed-by: rfriedma@ibm.com
18 months agoMerge pull request #57071 from zdover23/wip-doc-2024-04-24-rados-troubleshooting-pg
Anthony D'Atri [Wed, 24 Apr 2024 13:21:27 +0000 (09:21 -0400)]
Merge pull request #57071 from zdover23/wip-doc-2024-04-24-rados-troubleshooting-pg

doc/rados: improve t-shooting pg

18 months agoMerge pull request #57051 from zdover23/wip-doc-2024-04-23-rados-dual-stack
Zac Dover [Wed, 24 Apr 2024 11:51:32 +0000 (21:51 +1000)]
Merge pull request #57051 from zdover23/wip-doc-2024-04-23-rados-dual-stack

doc/rados: remove dual-stack docs

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
18 months agodoc/rados: improve t-shooting pg 57071/head
Zac Dover [Wed, 24 Apr 2024 11:48:20 +0000 (21:48 +1000)]
doc/rados: improve t-shooting pg

Incorporate Anthony D'Atri's suggestions from
https://github.com/ceph/ceph/pull/57022 into the text in
doc/rados/troubleshooting/troubleshooting-pg.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
18 months agoMerge pull request #56745 from ronen-fr/wip-rf-pgtell
Ronen Friedman [Wed, 24 Apr 2024 10:59:10 +0000 (13:59 +0300)]
Merge pull request #56745 from ronen-fr/wip-rf-pgtell

tests/scripts: use 'tell pg deep-scrub pgid' instead of 'tell pgid deep-scrub'

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
18 months agoMerge pull request #56420 from rzarzynski/wip-tools-rados-get-with-offset
Yuri Weinstein [Tue, 23 Apr 2024 23:35:24 +0000 (16:35 -0700)]
Merge pull request #56420 from rzarzynski/wip-tools-rados-get-with-offset

tools: rados get takes --offset now

Reviewed-by: Samuel Just <sjust@redhat.com>
18 months agoMerge pull request #56067 from myoungwon/wip-ceph-dedup-daemon
Yuri Weinstein [Tue, 23 Apr 2024 23:35:03 +0000 (16:35 -0700)]
Merge pull request #56067 from myoungwon/wip-ceph-dedup-daemon

tool: separating ceph-dedup-tool into tool and daemon

Reviewed-by: Samuel Just <sjust@redhat.com>
18 months agoMerge pull request #55949 from NitzanMordhai/wip-nitzan-safe-to-destroy-test-build...
Yuri Weinstein [Tue, 23 Apr 2024 23:33:29 +0000 (16:33 -0700)]
Merge pull request #55949 from NitzanMordhai/wip-nitzan-safe-to-destroy-test-build-vars

test/osd/safe-to-destroy.sh: Add checks for the test

Reviewed-by: Samuel Just <sjust@redhat.com>
18 months agoMerge pull request #54979 from pdvian/wip-mgr-optracker
Laura Flores [Tue, 23 Apr 2024 22:49:04 +0000 (17:49 -0500)]
Merge pull request #54979 from pdvian/wip-mgr-optracker

mgr: integrate optracker in ceph-mgr

18 months agoMerge pull request #57053 from idryomov/wip-labeler-rbd
Ilya Dryomov [Tue, 23 Apr 2024 19:37:20 +0000 (21:37 +0200)]
Merge pull request #57053 from idryomov/wip-labeler-rbd

.github: sync the list of paths for rbd label with CODEOWNERS

Reviewed-by: Laura Flores <lflores@redhat.com>
18 months agodoc/cephadm: remove downgrade reference from upgrade docs 57057/head
Adam King [Tue, 23 Apr 2024 16:04:39 +0000 (12:04 -0400)]
doc/cephadm: remove downgrade reference from upgrade docs

This has been in here for years, but cephadm will block
attempted upgrades to lower versions and we generally
don't want people to think this is supported or safe.

Signed-off-by: Adam King <adking@redhat.com>
18 months agoMerge pull request #56986 from cbodley/wip-65551
Casey Bodley [Tue, 23 Apr 2024 16:34:55 +0000 (17:34 +0100)]
Merge pull request #56986 from cbodley/wip-65551

rgw/account: add bucket_quota to RGWAccountInfo

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Oguzhan Ozmen <oozmen@bloomberg.net>
18 months agoMerge pull request #57038 from adk3798/mixin-max-nvme-gws-per-group
Adam King [Tue, 23 Apr 2024 15:57:53 +0000 (11:57 -0400)]
Merge pull request #57038 from adk3798/mixin-max-nvme-gws-per-group

monitoring/ceph-mixin: set NVMeoFMaxGatewaysPerGroup to 4

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
18 months agoMerge pull request #56990 from cbodley/wip-doc-rgw-realm-change
Casey Bodley [Tue, 23 Apr 2024 13:39:04 +0000 (14:39 +0100)]
Merge pull request #56990 from cbodley/wip-doc-rgw-realm-change

doc/rgw: add release note for changes to rgw_realm init

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
18 months agoMerge pull request #55983 from lxbsz/wip-64572
Leonid S. Usov [Tue, 23 Apr 2024 12:20:28 +0000 (15:20 +0300)]
Merge pull request #55983 from lxbsz/wip-64572

qa/fsx: use the master branch to build the xfstest-dev

18 months ago.github: sync the list of paths for rbd label with CODEOWNERS 57053/head
Ilya Dryomov [Tue, 23 Apr 2024 11:00:08 +0000 (13:00 +0200)]
.github: sync the list of paths for rbd label with CODEOWNERS

With https://github.com/actions/labeler/issues/483 still pending, do it
manually.

A couple of entries matching both files and directories were expanded
since, unlike fnmatch(3), minimatch treats slashes specially:

- src/include/rbd* -> src/include/rbd* src/include/rbd/**
- src/rbd*         -> src/rbd* src/rbd*/**
- src/test/rbd*    -> src/test/rbd* src/test/rbd*/**

A bunch of entries under src/tools were combined into:

- src/tools/rbd*/**

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
18 months agoCODEOWNERS: assign ceph-rbd-mirror systemd service to RBD
Ilya Dryomov [Tue, 23 Apr 2024 10:57:49 +0000 (12:57 +0200)]
CODEOWNERS: assign ceph-rbd-mirror systemd service to RBD

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
18 months agodoc/rados: remove dual-stack docs 57051/head
Zac Dover [Tue, 23 Apr 2024 06:37:27 +0000 (16:37 +1000)]
doc/rados: remove dual-stack docs

Remove references to dual-stack mode in
doc/rados/configuration/network-config-ref.rst and
doc/rados/configuration/msgr2.rst. This feature seems to have been
planned but never to have been completely implemented.

See the tracker issue listed below for an email exchange detailing the
confusion caused by the presence in the documentation of this
now-removed information.

Fixes: https://tracker.ceph.com/issues/65631
Signed-off-by: Zac Dover <zac.dover@proton.me>
18 months agotest/cephadm: extend timeout limit again to fix timeout issue 56942/head
Rongqi Sun [Wed, 17 Apr 2024 08:02:36 +0000 (08:02 +0000)]
test/cephadm: extend timeout limit again to fix timeout issue

When run make check(arm64) on omani series servers,
Shows:
python: timeout after 60 seconds
INFO     root:call_wrappers.py:284 Non-zero exit code 124 from /home/jenkins-build/build/workspace/ceph-pull-requests-arm64/src/cephadm/.tox/py3/bin/python -c for i in range(1000000): print(i, flush=True)

Seems like 60s is not enough, extend to 300s would be fine.

Signed-off-by: Rongqi Sun <sunrongqi@huawei.com>
18 months agoMerge pull request #57033 from gbregman/main
Gil Bregman [Mon, 22 Apr 2024 21:57:03 +0000 (00:57 +0300)]
Merge pull request #57033 from gbregman/main

mgr/cephadm: Some changes to nvmeof conf file defaults

18 months agoMerge PR #54067 into main
Patrick Donnelly [Mon, 22 Apr 2024 19:08:11 +0000 (15:08 -0400)]
Merge PR #54067 into main

* refs/pull/54067/head:
mds: add dispatch killpoint and delay configs

Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
18 months agoMerge PR #56047 into main
Patrick Donnelly [Mon, 22 Apr 2024 19:07:27 +0000 (15:07 -0400)]
Merge PR #56047 into main

* refs/pull/56047/head:
mgr: process map before notifying clients

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
18 months agoMerge PR #56638 into main
Patrick Donnelly [Mon, 22 Apr 2024 19:05:40 +0000 (15:05 -0400)]
Merge PR #56638 into main

* refs/pull/56638/head:
qa: do not iterate list being modified
qa: remove unnecessary background job cleanup

Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
18 months agoMerge PR #56669 into main
Patrick Donnelly [Mon, 22 Apr 2024 19:04:50 +0000 (15:04 -0400)]
Merge PR #56669 into main

* refs/pull/56669/head:
qa: make teardown behavior consistent for kclient/fuse mounts

Reviewed-by: Milind Changire <mchangir@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
18 months agoMerge PR #56723 into main
Patrick Donnelly [Mon, 22 Apr 2024 19:03:51 +0000 (15:03 -0400)]
Merge PR #56723 into main

* refs/pull/56723/head:
mds: use mds_cache_quiesce_decay_rate to init quiesce_counter

Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
18 months agoMerge PR #57010 into main
Patrick Donnelly [Mon, 22 Apr 2024 18:52:48 +0000 (14:52 -0400)]
Merge PR #57010 into main

* refs/pull/57010/head:
qa: update quiesce tests to expect ipolicy lock
mds: add missing policylock to test F_QUIESCE_BLOCK

Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
18 months agoMerge pull request #57022 from zdover23/wip-doc-2024-04-22-rados-operations-pg-troubl...
Zac Dover [Mon, 22 Apr 2024 14:59:35 +0000 (00:59 +1000)]
Merge pull request #57022 from zdover23/wip-doc-2024-04-22-rados-operations-pg-troubleshooting

doc/rados: remove redundant pg repair commands

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
18 months agorgw: apply default quota config on account creation 56986/head
Casey Bodley [Mon, 22 Apr 2024 14:50:01 +0000 (10:50 -0400)]
rgw: apply default quota config on account creation

add new default quota config options for accounts analogous to
rgw_user_default_quota_max_objects/size. apply the default bucket quota
config options as-is

Signed-off-by: Casey Bodley <cbodley@redhat.com>
18 months agoMerge pull request #57032 from stackhpc/doc-update-ms-bind-port-max
Anthony D'Atri [Mon, 22 Apr 2024 14:11:33 +0000 (10:11 -0400)]
Merge pull request #57032 from stackhpc/doc-update-ms-bind-port-max

doc/rados: fix outdated value for ms_bind_port_max

18 months agoMerge pull request #57036 from stackhpc/fix-typo-radosgw-metrics
Anthony D'Atri [Mon, 22 Apr 2024 14:09:10 +0000 (10:09 -0400)]
Merge pull request #57036 from stackhpc/fix-typo-radosgw-metrics

doc/radosgw: fix typo in metrics.rst

18 months agomonitoring/ceph-mixin: set NVMeoFMaxGatewaysPerGroup to 4 57038/head
Adam King [Mon, 22 Apr 2024 12:48:15 +0000 (08:48 -0400)]
monitoring/ceph-mixin: set NVMeoFMaxGatewaysPerGroup to 4

Recommendation from the nvmeof team

Signed-off-by: Adam King <adking@redhat.com>
18 months agoMerge pull request #56448 from Svelar/arm_pass_check_shard_select
Rixin Luo [Mon, 22 Apr 2024 12:40:27 +0000 (20:40 +0800)]
Merge pull request #56448 from Svelar/arm_pass_check_shard_select

test/test_mempool: skip check_shard_select test on ARM64

18 months agodoc/radosgw: fix typo in metrics.rst 57036/head
Pierre Riteau [Mon, 22 Apr 2024 12:29:19 +0000 (14:29 +0200)]
doc/radosgw: fix typo in metrics.rst

Signed-off-by: Pierre Riteau <pierre@stackhpc.com>
18 months agomgr/cephadm: some changes to nvmeof conf file defaults 57033/head
Gil Bregman [Mon, 22 Apr 2024 09:32:15 +0000 (12:32 +0300)]
mgr/cephadm: some changes to nvmeof conf file defaults
Fixes https://tracker.ceph.com/issues/65566

Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
18 months agopython-common/ceph/deployment: some changes to nvmeof conf file defaults
Gil Bregman [Mon, 22 Apr 2024 09:31:16 +0000 (12:31 +0300)]
python-common/ceph/deployment: some changes to nvmeof conf file defaults
Fixes https://tracker.ceph.com/issues/65566

Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
18 months agodoc/rados: fix outdated value for ms_bind_port_max 57032/head
Pierre Riteau [Mon, 22 Apr 2024 09:28:53 +0000 (11:28 +0200)]
doc/rados: fix outdated value for ms_bind_port_max

The highest port number used by OSD or MDS daemons was increased from
7300 to 7568 in [1] but the documentation still refers to 7300 in
multiple locations.

[1] https://github.com/ceph/ceph/pull/42210

Fixes: https://tracker.ceph.com/issues/65609
Signed-off-by: Pierre Riteau <pierre@stackhpc.com>
18 months agoMerge pull request #57016 from zdover23/wip-doc-2024-04-21-rados-operations-crush-map
Zac Dover [Mon, 22 Apr 2024 08:05:55 +0000 (18:05 +1000)]
Merge pull request #57016 from zdover23/wip-doc-2024-04-21-rados-operations-crush-map

doc/rados: add bucket rename command

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
18 months agodoc/rados: remove redundant pg repair commands 57022/head
Zac Dover [Mon, 22 Apr 2024 06:59:15 +0000 (16:59 +1000)]
doc/rados: remove redundant pg repair commands

Incorporate the material in /doc/rados/operations/pg-repair into
/doc/rados/troubleshooting/troubleshooting-pg. Remove
/doc/rados/operations/pg-repair from the documentation. Redirect all
links to the old location to the new location.

Signed-off-by: Zac Dover <zac.dover@proton.me>
18 months agodoc/rados: add bucket rename command 57016/head
Zac Dover [Sun, 21 Apr 2024 12:46:18 +0000 (22:46 +1000)]
doc/rados: add bucket rename command

Add "ceph osd crush rename bucket" command. This commit is made in
response to a request from Michele Giacomoli.

Fixes: https://tracker.ceph.com/issues/65599
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
18 months agoMerge pull request #56353 from myoungwon/wip-apply-shallow-copy-rbm-overwrite
Yingxin [Mon, 22 Apr 2024 01:41:02 +0000 (09:41 +0800)]
Merge pull request #56353 from myoungwon/wip-apply-shallow-copy-rbm-overwrite

crimson/os/seastore: avoid new allocation when overwriting data in RBM for performance

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
18 months agoMerge pull request #56855 from Svelar/asan_osd_types
Rongqi Sun [Mon, 22 Apr 2024 01:12:49 +0000 (18:12 -0700)]
Merge pull request #56855 from Svelar/asan_osd_types

test/osd/types: free PriorSet::pcontdec memory

18 months agoMerge pull request #56025 from xxhdx1985126/wip-seastore-onode-loc-key
Matan Breizman [Sun, 21 Apr 2024 13:17:44 +0000 (16:17 +0300)]
Merge pull request #56025 from xxhdx1985126/wip-seastore-onode-loc-key

crimson/osd/osd_operations/client_requests: we don't support rados locator keys

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: chunmei-liu <chunmei.liu@intel.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
18 months agoMerge pull request #56904 from zdover23/wip-doc-2024-04-16-security-cves
Zac Dover [Sun, 21 Apr 2024 12:56:25 +0000 (22:56 +1000)]
Merge pull request #56904 from zdover23/wip-doc-2024-04-16-security-cves

doc/security: update CVE list

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
18 months agodoc/security: update CVE list 56904/head
Zac Dover [Mon, 15 Apr 2024 15:41:51 +0000 (01:41 +1000)]
doc/security: update CVE list

Update the list of CVEs in doc/security/cves.rst.

Co-authored-by: Ilya Dryomov <idryomov@redhat.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
18 months agoMerge pull request #56916 from Matan-B/wip-matanb-crimson-recovery-misc
Matan Breizman [Sun, 21 Apr 2024 11:55:33 +0000 (14:55 +0300)]
Merge pull request #56916 from Matan-B/wip-matanb-crimson-recovery-misc

crimson/osd/replicated_backend: misc fixes

Reviewed-by: Samuel Just <sjust@redhat.com>
18 months agoMerge pull request #56848 from xxhdx1985126/wip-65453
Matan Breizman [Sun, 21 Apr 2024 11:53:38 +0000 (14:53 +0300)]
Merge pull request #56848 from xxhdx1985126/wip-65453

crimson/osd/recovery_backends: discard outdated recovery ops

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
18 months agoMerge pull request #56277 from amathuria/wip-amat-crimson-fix-pool-compression
Matan Breizman [Sun, 21 Apr 2024 09:41:13 +0000 (12:41 +0300)]
Merge pull request #56277 from amathuria/wip-amat-crimson-fix-pool-compression

crimson: Add support for pool compression

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: chunmei-liu <chunmei.liu@intel.com>
18 months agoMerge pull request #56611 from Matan-B/wip-matanb-crimson-replicated-peering
Matan Breizman [Sun, 21 Apr 2024 09:40:00 +0000 (12:40 +0300)]
Merge pull request #56611 from Matan-B/wip-matanb-crimson-replicated-peering

crimson/osd/replicated_recovery_backend: prepare_pull use pg_info

Reviewed-by: Samuel Just <sjust@redhat.com>
18 months agoMerge pull request #56875 from xxhdx1985126/wip-65474
Matan Breizman [Sun, 21 Apr 2024 09:39:07 +0000 (12:39 +0300)]
Merge pull request #56875 from xxhdx1985126/wip-65474

crimson/osd/osd_meta: load incremental osdmap from "inc_osdmap.XXX"

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
18 months agoMerge pull request #57012 from tchaikov/wip-python-common-pep8
Kefu Chai [Sat, 20 Apr 2024 12:37:30 +0000 (20:37 +0800)]
Merge pull request #57012 from tchaikov/wip-python-common-pep8

python-common: PEP8 related cleanups

Reviewed-by: John Mulligan <jmulligan@redhat.com>
18 months agopython-common: remove spaces around `=` 57012/head
Kefu Chai [Mon, 30 Oct 2023 02:33:06 +0000 (10:33 +0800)]
python-common: remove spaces around `=`

to be more PEP8 compliant

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
18 months agopython-common: remove trailing spaces
Kefu Chai [Mon, 30 Oct 2023 02:32:14 +0000 (10:32 +0800)]
python-common: remove trailing spaces

for better readability.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
18 months agoqa: update quiesce tests to expect ipolicy lock 57010/head
Patrick Donnelly [Fri, 19 Apr 2024 23:32:27 +0000 (19:32 -0400)]
qa: update quiesce tests to expect ipolicy lock

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
18 months agomds: add missing policylock to test F_QUIESCE_BLOCK
Patrick Donnelly [Fri, 19 Apr 2024 23:29:44 +0000 (19:29 -0400)]
mds: add missing policylock to test F_QUIESCE_BLOCK

In order to check an inode's F_QUIESCE_BLOCK, the quiesce_inode op must acquire
the policylock. Furthermore, to ensure the F_QUIESCE_BLOCK is not changed
during quiesce, the lock must be held for the duration of the op's lifetime.

Fixes: https://tracker.ceph.com/issues/65595
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>