]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
10 months agoos/bluestore: fix DB_SUPER_RESERVED->SUPER_RESERVED
Adam Kupczyk [Wed, 31 Jan 2024 07:31:46 +0000 (07:31 +0000)]
os/bluestore: fix DB_SUPER_RESERVED->SUPER_RESERVED

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
(cherry picked from commit 12e8c32299fc2c08ece62f77700e4e23c99b6862)

10 months agoos/bluestore: Small fix to check_or_set_bdev_label
Adam Kupczyk [Tue, 30 Jan 2024 17:45:14 +0000 (17:45 +0000)]
os/bluestore: Small fix to check_or_set_bdev_label

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
(cherry picked from commit 7e1d04345d96fde9cdece2a7339d8705ea0805f1)

10 months agoos/bluestore: Fix write_meta; increase epoch with each write
Adam Kupczyk [Tue, 30 Jan 2024 13:25:31 +0000 (13:25 +0000)]
os/bluestore: Fix write_meta; increase epoch with each write

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
(cherry picked from commit d48f2c6f99c529db4d5ed1a2a986d328765dd634)

10 months agoos/bluestore: Fix fsck() for multi label
Adam Kupczyk [Tue, 30 Jan 2024 13:07:38 +0000 (13:07 +0000)]
os/bluestore: Fix fsck() for multi label

Do not operate if bdev label is outside device size.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
(cherry picked from commit 86f3aad2db49721af6ca7782e789e5861918406a)

10 months agoos/bluestore: Fix _check_or_set_main_bdev_label
Adam Kupczyk [Tue, 30 Jan 2024 13:04:03 +0000 (13:04 +0000)]
os/bluestore: Fix _check_or_set_main_bdev_label

Change use of local label to BlueStore's bdev_label.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
(cherry picked from commit b4a0365741d2f92e843cf35dcd0cc7cb75b08789)

10 months agoos/bluestore: Fix _main_bdev_label_try_reserve
Adam Kupczyk [Tue, 30 Jan 2024 13:01:23 +0000 (13:01 +0000)]
os/bluestore: Fix _main_bdev_label_try_reserve

When location of label is acceptable add it as proper position for use.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
(cherry picked from commit 408ff2378cfda6726e9422ed826d39c39bbaa82b)

10 months agoos/bluestore: minor fix in _check_or_set_main_bdev_label
Adam Kupczyk [Tue, 30 Jan 2024 12:58:40 +0000 (12:58 +0000)]
os/bluestore: minor fix in _check_or_set_main_bdev_label

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
(cherry picked from commit 019a88b766c6f95e99297fe794f7be469435bedf)

10 months agoos/bluestore: Fix read_main_bdev_label
Adam Kupczyk [Tue, 30 Jan 2024 12:54:26 +0000 (12:54 +0000)]
os/bluestore: Fix read_main_bdev_label

When valid label with new epoch is found,
all that we have marked as good before are released.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
(cherry picked from commit c4f212ee1fc331c8de8949999c6a56948617d43e)

10 months agoos/bluestore: Fix write_bdev_label
Adam Kupczyk [Tue, 30 Jan 2024 12:52:17 +0000 (12:52 +0000)]
os/bluestore: Fix write_bdev_label

If required location is outside device size, just skip it.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
(cherry picked from commit 7c4a8642f6c995087091e35bde4e921f12086edd)

10 months agoos/bluestore: Fix read_meta and write_meta
Adam Kupczyk [Tue, 30 Jan 2024 12:45:05 +0000 (12:45 +0000)]
os/bluestore: Fix read_meta and write_meta

Remove asserts if optional reading of bdev label fails.
Pass all valid bdev locations when writing bdev labels.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
(cherry picked from commit c0bd6fff41ba0c7e5d7a7fe9c7bfc5fa7b90beb4)

10 months agoos/bluestore: Add fsck procedure for bdev multi labels
Adam Kupczyk [Thu, 8 Feb 2024 22:28:22 +0000 (22:28 +0000)]
os/bluestore: Add fsck procedure for bdev multi labels

Now fsck can properly detect collision between labels and object data / bluefs files.
Additional labels have lower precedence, they never overwrite other data.
If collision label - object data happens, the object is moved somewhere else.
If collision label - bluefs file happens, it is left unsolved.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
(cherry picked from commit 7ecaede175a13f600f50fd9c877132a4f130c321)

10 months agoos/bluestore: Adapt read_meta / write_meta
Adam Kupczyk [Tue, 30 Jan 2024 07:06:52 +0000 (07:06 +0000)]
os/bluestore: Adapt read_meta / write_meta

Modified to align with multi label properly.
Now functions still cache, but use read_main_bdev_label.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
(cherry picked from commit f955c66290bd2a2510c2c9daafedf43f755ddae4)

10 months agoos/bluestore: Give label multiple positions to replicate to
Adam Kupczyk [Tue, 30 Jan 2024 07:01:34 +0000 (07:01 +0000)]
os/bluestore: Give label multiple positions to replicate to

Bdev label for main device can now be present in multiple locations.
The locations of valid labels are memorized and only those locations are used.
This is to preserve from overwriting data, should collision label - object or bluefs occur.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
(cherry picked from commit aed1e686b3e058cc4bd767468f764a272ba601e1)

10 months agoos/bluestore: Create read_bdev_main_label function
Adam Kupczyk [Tue, 30 Jan 2024 06:54:38 +0000 (06:54 +0000)]
os/bluestore: Create read_bdev_main_label function

Duplicate read_bdev_label into dedicated read_bdev_main_label.
New function reads multiple labels.
Also created check_or_set_main_bdev_label in similiar way.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
(cherry picked from commit 75b1a22b95963a8f722ecff80756718cbaf01fce)

10 months agoos/bluestore: Modify read/write_bdev_label functions
Adam Kupczyk [Mon, 29 Jan 2024 15:34:18 +0000 (15:34 +0000)]
os/bluestore: Modify read/write_bdev_label functions

Modify read_bdev_label and write_bdev_label functions to operate on any disk location.
Default falls back to original position 0, which is now named BDEV_LABEL_POSITION.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
(cherry picked from commit 8e7b9deb65347b80b5c1ab895654bce6681741ab)

10 months agoos/bluestore: Remove bluestore_debug_prefill
Adam Kupczyk [Wed, 24 Jan 2024 16:31:32 +0000 (16:31 +0000)]
os/bluestore: Remove bluestore_debug_prefill

Remove outdated and useless debug setting.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
(cherry picked from commit 3b904283f33ebb9ed83b82eeb6f97846781401ac)

10 months agoos/bluestore: Make read_meta / write_meta cached
Adam Kupczyk [Tue, 23 Jan 2024 12:31:53 +0000 (12:31 +0000)]
os/bluestore: Make read_meta / write_meta cached

Modified read_meta and write_meta to keep current bdev_label cached,
instead of reading it all over again.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
(cherry picked from commit 22c3eb548bf6270e28ee07891c4cecfa3514d4e1)

10 months agoMerge pull request #59364 from ceph/squid-release
Yuri Weinstein [Thu, 22 Aug 2024 22:29:11 +0000 (15:29 -0700)]
Merge pull request #59364 from ceph/squid-release

v19.1.1

Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
11 months agoMerge pull request #59294 from zdover23/wip-doc-2024-08-19-backport-59256-to-squid
Zac Dover [Wed, 21 Aug 2024 14:12:01 +0000 (00:12 +1000)]
Merge pull request #59294 from zdover23/wip-doc-2024-08-19-backport-59256-to-squid

squid: doc/cephfs: s/mountpoint/mount point/

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
11 months agoMerge pull request #59010 from AliMasarweh/wip-67308-squid
Yuri Weinstein [Tue, 20 Aug 2024 17:55:10 +0000 (10:55 -0700)]
Merge pull request #59010 from AliMasarweh/wip-67308-squid

squid: RGW|BN: fix lifecycle test issue

Reviewed-by: Casey Bodley <cbodley@redhat.com>
11 months ago19.1.1 59364/head v19.1.1
Ceph Release Team [Tue, 20 Aug 2024 16:51:15 +0000 (12:51 -0400)]
19.1.1

Signed-off-by: Ceph Release Team <ceph-maintainers@ceph.io>
11 months agoMerge pull request #59055 from yuvalif/wip-67364-squid
Yuri Weinstein [Tue, 20 Aug 2024 14:59:38 +0000 (07:59 -0700)]
Merge pull request #59055 from yuvalif/wip-67364-squid

squid: common/dout: fix FTBFS on GCC 14

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
11 months agoMerge pull request #59041 from NitzanMordhai/wip-67349-squid
Yuri Weinstein [Tue, 20 Aug 2024 14:59:01 +0000 (07:59 -0700)]
Merge pull request #59041 from NitzanMordhai/wip-67349-squid

squid: Test: osd-recovery-space.sh extends the wait time for "recovery toofull"

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
11 months agoMerge pull request #58816 from Svelar/wip-67134-squid
Yuri Weinstein [Tue, 20 Aug 2024 14:56:07 +0000 (07:56 -0700)]
Merge pull request #58816 from Svelar/wip-67134-squid

squid: bluestore/bluestore_types: avoid heap-buffer-overflow in another way to keep code uniformity

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
11 months agoMerge pull request #59298 from Matan-B/wip-57782-squid-v2
Matan Breizman [Tue, 20 Aug 2024 11:22:29 +0000 (14:22 +0300)]
Merge pull request #59298 from Matan-B/wip-57782-squid-v2

squid: crimson/os/seastore: add checksum offload to RBM

Reviewed-by: Aishwarya Mathuria <amathuri@redhat.com>
11 months agocrimson/os/seastore/cbj: skip crc calculation for cbj header if device supports the... 59298/head
myoungwon oh [Thu, 18 Jul 2024 07:41:05 +0000 (07:41 +0000)]
crimson/os/seastore/cbj: skip crc calculation for cbj header if device supports the checksum offload

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
(cherry picked from commit 07d066346fce744dbe95a4325c394f5f01f4f031)

11 months agocrimson/os/seastore: disable crc calculation if end to end data protection is enabled
Myoungwon Oh [Thu, 4 Jul 2024 09:04:38 +0000 (18:04 +0900)]
crimson/os/seastore: disable crc calculation if end to end data protection is enabled

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
(cherry picked from commit e92273a4f15987d08b9e342b18e67dc310329887)

11 months agocrimson/os/seastore/rbm: add handle_exception() to pass_through_io()
myoungwon oh [Fri, 12 Jul 2024 04:13:13 +0000 (04:13 +0000)]
crimson/os/seastore/rbm: add handle_exception() to pass_through_io()

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
(cherry picked from commit 169a81ee51bd62f120dff5d4618f1a9eeec12fd9)

11 months agocrimson/os/seastore: remove multistream related codes
myoungwon oh [Thu, 13 Jun 2024 06:07:56 +0000 (06:07 +0000)]
crimson/os/seastore: remove multistream related codes

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

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
(cherry picked from commit cc5b4a25155dea919b5a939063370b4f13a992ec)

11 months agocrimson/os/seastore: add nvme_read and nvme_write to be used when end to end data...
myoungwon oh [Tue, 28 May 2024 10:35:45 +0000 (10:35 +0000)]
crimson/os/seastore: add nvme_read and nvme_write to be used when end to end data protection is enabled

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
(cherry picked from commit 5f86c84118e6b60f9e5d23d4e5dea8efab6b858a)

11 months agocrimson/os/seastore/rbm: turn on end-to-end-data-protection during mkfs if possible
myoungwon oh [Mon, 27 May 2024 09:32:56 +0000 (09:32 +0000)]
crimson/os/seastore/rbm: turn on end-to-end-data-protection during mkfs if possible

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
(cherry picked from commit 71398e2d4fe4fe38bee1ff16db08c8977127273a)

11 months agocrimson/os/seastore: replace rbm_metadata_header_t with rbm_superblock_t
myoungwon oh [Thu, 20 Jun 2024 05:32:15 +0000 (05:32 +0000)]
crimson/os/seastore: replace rbm_metadata_header_t with rbm_superblock_t

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
(cherry picked from commit 364fb38669fdada3cf78d74efeacdd311c53c20d)

11 months agoMerge pull request #58957 from Matan-B/wip-58367-squid
Matan Breizman [Mon, 19 Aug 2024 09:41:42 +0000 (12:41 +0300)]
Merge pull request #58957 from Matan-B/wip-58367-squid

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

Reviewed-by: Aishwarya Mathuria <amathuri@redhat.com>
11 months agoMerge pull request #57494 from lxbsz/wip-66052
Rishabh Dave [Mon, 19 Aug 2024 07:59:06 +0000 (13:29 +0530)]
Merge pull request #57494 from lxbsz/wip-66052

squid: mds: find a new head for the batch ops when the head is dead

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Leonid Usov <leonid.usov@ibm.com>
11 months agodoc/cephfs: s/mountpoint/mount point/ 59294/head
Zac Dover [Sat, 17 Aug 2024 03:37:58 +0000 (13:37 +1000)]
doc/cephfs: s/mountpoint/mount point/

Change the string "mountpoint" to "mount point" in English-language
strings (as opposed to in commands, where the string "mountpoint"
sometimes appears and is correct).

cf. https://github.com/ceph/ceph/pull/58908#discussion_r1697715486
in which page 345 of The IBM Style Guide is referenced to back up this
change.

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

11 months agoMerge pull request #58788 from batrick/wip-67120-squid
Rishabh Dave [Mon, 19 Aug 2024 07:00:09 +0000 (12:30 +0530)]
Merge pull request #58788 from batrick/wip-67120-squid

squid: qa/cephfs: ignore variant of MDS_UP_LESS_THAN_MAX

Reviewed-by: Rishabh Dave <ridave@redhat.com>
11 months agoMerge pull request #58790 from batrick/wip-67153-squid
Rishabh Dave [Mon, 19 Aug 2024 06:57:13 +0000 (12:27 +0530)]
Merge pull request #58790 from batrick/wip-67153-squid

squid: qa: suppress __trans_list_add valgrind warning

Reviewed-by: Rishabh Dave <ridave@redhat.com>
11 months agoMerge pull request #58808 from lxbsz/wip-67117
Rishabh Dave [Mon, 19 Aug 2024 06:54:38 +0000 (12:24 +0530)]
Merge pull request #58808 from lxbsz/wip-67117

squid: qa: ignore container checkpoint/restore related selinux denials for c…

Reviewed-by: Rishabh Dave <ridave@redhat.com>
11 months agoMerge pull request #59291 from zdover23/wip-doc-2024-08-19-backport-59290-to-squid
Anthony D'Atri [Sun, 18 Aug 2024 15:59:40 +0000 (08:59 -0700)]
Merge pull request #59291 from zdover23/wip-doc-2024-08-19-backport-59290-to-squid

squid: doc: Harmonize 'mountpoint'

11 months agodoc: Harmonize 'mountpoint' 59291/head
Anthony D'Atri [Sun, 18 Aug 2024 15:23:39 +0000 (11:23 -0400)]
doc: Harmonize 'mountpoint'

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit fda2db5ac7baedc9460cd1d313413c9445518163)

11 months agoMerge pull request #59179 from zdover23/wip-doc-2024-08-13-backport-59177-to-squid
Anthony D'Atri [Sun, 18 Aug 2024 15:17:04 +0000 (08:17 -0700)]
Merge pull request #59179 from zdover23/wip-doc-2024-08-13-backport-59177-to-squid

squid: doc/radosgw: improve qat-accel.rst

11 months agoMerge pull request #59289 from zdover23/wip-doc-2024-08-18-backport-59257-to-squid
Anthony D'Atri [Sun, 18 Aug 2024 13:53:57 +0000 (06:53 -0700)]
Merge pull request #59289 from zdover23/wip-doc-2024-08-18-backport-59257-to-squid

squid: doc/cephfs: s/mountpoint/mount point/

11 months agodoc/cephfs: s/mountpoint/mount point/ 59289/head
Zac Dover [Sat, 17 Aug 2024 03:44:30 +0000 (13:44 +1000)]
doc/cephfs: s/mountpoint/mount point/

Change the string "mountpoint" to "mount point" in English-language
strings (as opposed to in commands, where the string "mountpoint"
sometimes appears and is correct).

cf. https://github.com/ceph/ceph/pull/58908#discussion_r1697715486 in
which page 345 of The IBM Style Guide is referenced to back up this
change.

This commit alters only English-language text and example commands in
which the string "{mount point}" is meant to be replaced. No commands
meant for cutting-and-pasting have been altered in this commit.

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

11 months agoMerge pull request #59250 from zdover23/wip-doc-2024-08-16-backport-59167-to-squid
Anthony D'Atri [Fri, 16 Aug 2024 22:54:04 +0000 (15:54 -0700)]
Merge pull request #59250 from zdover23/wip-doc-2024-08-16-backport-59167-to-squid

squid: doc/cephfs: improve "layout fields" text

11 months agodoc/cephfs: improve "layout fields" text 59250/head
Zac Dover [Mon, 12 Aug 2024 12:38:14 +0000 (22:38 +1000)]
doc/cephfs: improve "layout fields" text

Improve "layout fields" text in doc/cephfs/file-layouts.rst, as suggesed
by Anthony D'Atri in these comments:

https://github.com/ceph/ceph/pull/59021#discussion_r1704108581
https://github.com/ceph/ceph/pull/59021#discussion_r1704112320

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 0949b410433837f0509fb73169fa7f22c8f6c256)

11 months agoMerge pull request #59021 from zdover23/wip-doc-2024-08-05-backport-58891-to-squid
Zac Dover [Fri, 16 Aug 2024 09:26:32 +0000 (19:26 +1000)]
Merge pull request #59021 from zdover23/wip-doc-2024-08-05-backport-58891-to-squid

squid: doc/cephfs: edit "Layout Fields" text

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
11 months agoMerge pull request #59232 from idryomov/wip-67353-squid
Ilya Dryomov [Fri, 16 Aug 2024 07:08:38 +0000 (09:08 +0200)]
Merge pull request #59232 from idryomov/wip-67353-squid

squid: qa: adjust expected io_opt in krbd_discard_granularity.t

Reviewed-by: Ramana Raja <rraja@redhat.com>
11 months agoMerge pull request #59233 from zdover23/wip-doc-2024-08-15-backport-59219-to-squid
Anthony D'Atri [Thu, 15 Aug 2024 23:27:29 +0000 (16:27 -0700)]
Merge pull request #59233 from zdover23/wip-doc-2024-08-15-backport-59219-to-squid

squid: doc/rgw/notification: persistent notification queue full behavior

11 months agoMerge pull request #58820 from Matan-B/wip-57818-squid
Matan Breizman [Thu, 15 Aug 2024 12:38:30 +0000 (15:38 +0300)]
Merge pull request #58820 from Matan-B/wip-57818-squid

squid: crimson/os/seastore/lba_manager: do batch mapping allocs when remapping multiple mappings

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agodoc/rgw/notification: persistent notification queue full behavior 59233/head
Yuval Lifshitz [Wed, 14 Aug 2024 11:02:09 +0000 (11:02 +0000)]
doc/rgw/notification: persistent notification queue full behavior

Fixes: https://tracker.ceph.com/issues/50610
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
(cherry picked from commit d12ba11741dc749bcce315bf467078595fa95b24)

11 months agoqa: cover a custom object size in krbd_discard_granularity.t 59232/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>
(cherry picked from commit e8126bf2f6411069da5074ac3a5a2ea16c0bba0c)

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>
(cherry picked from commit 144270eb737850159614abd63c261baaa83a8afc)

11 months agoqa/suites/rados/thrash-old-clients: test with N-2 releases on centos 9
Laura Flores [Mon, 15 Jul 2024 22:04:41 +0000 (17:04 -0500)]
qa/suites/rados/thrash-old-clients: test with N-2 releases on centos 9

It was recently decided to stop building and releasing ubuntu focal
packages for squid. This decision extended to the Shaman builds.

When we stopped building focal for squid in Shaman, this failure
started happening, because the test was looking for nonexistent
squid focal packages:
```
no results found at https://shaman.ceph.com/api/search/?project=ceph&distros=ubuntu%2F20.04%2Fx86_64&flavor=default&sha1=81127b728ce57cc8b876f0f2dd3e436633549a67
```

After a discussion in Slack, we agreed the best option going forward
would be to test on centos 9 and drop pacific from the mix, since pacific
does not have centos 9 packages. To later incorprate pacific, we will work
on a contanierized solution.

-----
Slack thread (may be expired):
https://ceph-storage.slack.com/archives/C1HFJ4VTN/p1721078395083699

Laura Flores
  4:19 PM
@Dan Mick
 I see we stopped building focal for squid on Shaman via Jenkins. I
know this is intended since we no longer plan to release squid focal
packages, but now the thrash-old-clients tests are failing on squid:
https://pulpito.ceph.com/teuthology-2024-07-14_21:00:02-rados-squid-distro-default-smithi/7801302/
These tests use an older client, i.e. reef, in a squid cluster. These
older clients go as far back as N-3 (so we test pacific, reef, and
quincy clients against a squid cluster). We need a distro that is shared
between all these releases in order to do that, which up until recently
was focal. Can we reintroduce focal shaman builds? We can put a note in
https://docs.ceph.com/en/latest/start/os-recommendations/#platforms to
explain that these packages are not released for squid, but are used to
test old clients.

Laura Flores
  4:21 PM
In the above scenario, we could consider switching to centos 9 since squid,
reef and quincy share these. But we also test against pacific clients, and
pacific of course does not build c9.

Casey Bodley
  41 minutes ago
it would be nice if those tests could eventually use containers for the upgraded
servers

Josh Durgin
  4:46 PM
centos 9 is the easiest path for now, for quincy and reef
4:46
agree with casey containerized servers would be better going forward anyway

Signed-off-by: Laura Flores <lflores@ibm.com>
(cherry picked from commit 2164873a6410e884f308209c39869137efe28878)

11 months agoMerge pull request #58607 from ljflores/wip-fix-squid-thrash-old-clients
Laura Flores [Wed, 14 Aug 2024 21:40:41 +0000 (16:40 -0500)]
Merge pull request #58607 from ljflores/wip-fix-squid-thrash-old-clients

squid: qa/suites/rados/thrash-old-clients: test with N-2 releases on centos 9

11 months agoMerge pull request #59196 from guits/cv-backport-tpm2
Adam King [Wed, 14 Aug 2024 17:18:18 +0000 (13:18 -0400)]
Merge pull request #59196 from guits/cv-backport-tpm2

squid: ceph-volume: add TPM2 token enrollment support for encrypted OSDs

Reviewed-by: Adam King <adking@redhat.com>
11 months agoMerge pull request #59214 from zdover23/wip-doc-2024-08-14-backport-59168-to-squid
Anthony D'Atri [Wed, 14 Aug 2024 13:19:02 +0000 (06:19 -0700)]
Merge pull request #59214 from zdover23/wip-doc-2024-08-14-backport-59168-to-squid

squid: doc/cephfs: improve cache-configuration.rst

11 months agoMerge pull request #58905 from Matan-B/wip-57977-squid
Matan Breizman [Wed, 14 Aug 2024 10:45:29 +0000 (13:45 +0300)]
Merge pull request #58905 from Matan-B/wip-57977-squid

squid: crimson: simplify obc loading by locking excl for load and demoting to needed lock

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agodoc/cephfs: improve cache-configuration.rst 59214/head
Zac Dover [Mon, 12 Aug 2024 12:47:08 +0000 (22:47 +1000)]
doc/cephfs: improve cache-configuration.rst

Improve the text in the section about dealing with cache-pressure alerts
that was added in https://github.com/ceph/ceph/pull/59077. The changes
in this commit were suggested by Anthony D'Atri.

Co-authored-by: Patrick Donnelly <pdonnelly@redhat.com>
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit aa3bdae2314fef2fca8fc12dca006af657235e17)

11 months agoceph-volume: refactor device path handling for LVM lookups 59196/head
Guillaume Abrioux [Tue, 6 Aug 2024 13:37:30 +0000 (13:37 +0000)]
ceph-volume: refactor device path handling for LVM lookups

This consolidates the conditional checks for device paths to
reduce redundancy and improve readability and adds logic to
handle both '/dev/mapper' and '/dev/dm-' paths uniformly by
introducing a utility function `get_lvm_mapper_path_from_dm()`.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit fec896b301f0e72b7085e3b164bab48c4140603a)

11 months agoceph-volume: add TPM2 token enrollment support for encrypted OSDs
Guillaume Abrioux [Thu, 16 May 2024 15:47:19 +0000 (11:47 -0400)]
ceph-volume: add TPM2 token enrollment support for encrypted OSDs

This adds the required changes to ceph-volume and cephadm in order to support
deploying tpm2 token enrolled encrypted OSDs.

Adding `--with-tpm` when deploying with `--dmcrypt` will enroll a tpm2
token to the corresponding LUKS2 devices.

Example of a osd service spec:

```
service_type: osd
service_id: tpm2_osds
placement:
  host_pattern: '*'
spec:
  data_devices:
    paths:
      - /dev/sdb
  encrypted: true
  tpm2: true
```

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit 88836135fd03d28131c58a7440f51de244076166)

11 months agocrimson/common/tri_mutex: avoid hobject_t formatting 58905/head
Matan Breizman [Sun, 28 Jul 2024 14:49:27 +0000 (17:49 +0300)]
crimson/common/tri_mutex: avoid hobject_t formatting

```
/home/jenkins-build/build/workspace/ceph-pull-requests/src/fmt/include/fmt/core.h:1756:3: error: static_assert failed due to requirement 'formattable' "Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt"
  static_assert(
  ^
/home/jenkins-build/build/workspace/ceph-pull-requests/src/fmt/include/fmt/core.h:1777:10: note: in instantiation of function template specialization 'fmt::detail::make_value<fmt::basic_format_context<fmt::appender, char>, const hobject_t &>' requested here
  return make_value<Context>(val);
         ^
/home/jenkins-build/build/workspace/ceph-pull-requests/src/fmt/include/fmt/core.h:1899:23: note: in instantiation of function template specialization 'fmt::detail::make_arg<true, fmt::basic_format_context<fmt::appender, char>, fmt::detail::type::custom_type, const hobject_t &, 0>' requested here
        data_{detail::make_arg<

                   ^
/home/jenkins-build/build/workspace/ceph-pull-requests/src/fmt/include/fmt/core.h:1918:10: note: in instantiation of function template specialization 'fmt::format_arg_store<fmt::basic_format_context<fmt::appender, char>, hobject_t, unsigned int, unsigned int, bool, unsigned long>::format_arg_store<const hobject_t &, unsigned int &, unsigned int &, const bool &, unsigned long &>' requested here
  return {FMT_FORWARD(args)...};
         ^
/home/jenkins-build/build/workspace/ceph-pull-requests/src/fmt/include/fmt/core.h:3206:28: note: in instantiation of function template specialization 'fmt::make_format_args<fmt::basic_format_context<fmt::appender, char>, const hobject_t &, unsigned int &, unsigned int &, const bool &, unsigned long &>' requested here
  return vformat(fmt, fmt::make_format_args(args...));
                           ^
/home/jenkins-build/build/workspace/ceph-pull-requests/src/crimson/common/tri_mutex.h:136:14: note: in instantiation of function template specialization 'fmt::format<const hobject_t &, unsigned int, unsigned int, const bool &, unsigned long>' requested here
  os << fmt::format("tri_mutex {} writers {} readers {}"
             ^
```

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
(cherry picked from commit 1251345231fc96150bdab73059eb060de7c8f615)
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
11 months agodoc/radosgw: improve qat-accel.rst 59179/head
Anthony D'Atri [Tue, 13 Aug 2024 01:38:52 +0000 (21:38 -0400)]
doc/radosgw: improve qat-accel.rst

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit a6f311a5f3b33fbe31ce898dc746199d233069f0)

11 months agoMerge pull request #58830 from Matan-B/wip-58356-squid
Matan Breizman [Mon, 12 Aug 2024 08:17:34 +0000 (11:17 +0300)]
Merge pull request #58830 from Matan-B/wip-58356-squid

squid: crimson/os/seastore/onode: add hobject_t into Onode

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agoMerge pull request #59148 from zdover23/wip-doc-2024-08-11-backport-59077-to-squid
Anthony D'Atri [Sun, 11 Aug 2024 15:37:25 +0000 (08:37 -0700)]
Merge pull request #59148 from zdover23/wip-doc-2024-08-11-backport-59077-to-squid

squid: doc/cephfs: add cache pressure information

11 months agodoc/cephfs: add cache pressure information 59148/head
Zac Dover [Wed, 7 Aug 2024 13:11:11 +0000 (23:11 +1000)]
doc/cephfs: add cache pressure information

Add information to doc/cephfs/cache-configuration.rst about how to deal
with a message that reads "clients failing to respond to cache
pressure". This procedure explains how to slow the growth of the
recall_caps value so that it does not exceed the
mds_recall_warning_threshold.

The information in this commit was developed by Eugen Block. See
https://lists.ceph.io/hyperkitty/list/ceph-users@ceph.io/thread/5ROH5CWKKOEIQMVXOVRT5OO7CWK2HPM3/#J65DFUPP4BY57MICPANXKI7KAXSZ5Z5P
and https://www.spinics.net/lists/ceph-users/msg73188.html.

Fixes: https://tracker.ceph.com/issues/57115
Co-authored-by: Eugen Block <eblock@nde.ag>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit bf26274ae4737417193f8c2b56bea20eb2a358aa)

11 months agoMerge pull request #58887 from Matan-B/wip-58592-squid
Matan Breizman [Sun, 11 Aug 2024 10:38:26 +0000 (13:38 +0300)]
Merge pull request #58887 from Matan-B/wip-58592-squid

squid: mgr/client: validate connection before sending

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agoMerge pull request #58263 from amathuria/wip-66689-squid
Kamoltat (Junior) Sirivadhna [Sat, 10 Aug 2024 18:11:55 +0000 (14:11 -0400)]
Merge pull request #58263 from amathuria/wip-66689-squid

squid: qa/tasks/mgr/test_progress.py: deal with pre-exisiting pool
Reviewed-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
11 months agoMerge pull request #58629 from kamoltat/wip-ksirivad-backport-squid-58374
Kamoltat (Junior) Sirivadhna [Fri, 9 Aug 2024 21:04:46 +0000 (17:04 -0400)]
Merge pull request #58629 from kamoltat/wip-ksirivad-backport-squid-58374

squid: qa/suites/rados/thrash-old-clients: Add noscrub, nodeep-scrub to ignorelist
Reviewed-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
11 months agoMerge pull request #59099 from zdover23/wip-doc-2024-08-09-backport-59807-to-squid
Anthony D'Atri [Fri, 9 Aug 2024 01:02:35 +0000 (18:02 -0700)]
Merge pull request #59099 from zdover23/wip-doc-2024-08-09-backport-59807-to-squid

squid: docs/rados/operations/stretch-mode: warn device class is not supported

11 months agodocs/rados/operations/stretch-mode: warn device class is not supported 59099/head
Kamoltat Sirivadhna [Wed, 7 Aug 2024 19:20:41 +0000 (19:20 +0000)]
docs/rados/operations/stretch-mode: warn device class is not supported

Signed-off-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
(cherry picked from commit aa1d8cf4fa321e24e850bd5f687a6ddad3ce05e3)

11 months agoMerge pull request #58958 from Matan-B/wip-58504-squid
Matan Breizman [Thu, 8 Aug 2024 10:34:07 +0000 (13:34 +0300)]
Merge pull request #58958 from Matan-B/wip-58504-squid

squid: crimson/osd/pg_recovery: push the iteration forward after finding unfound objects when starting primary recoveries

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agoMerge pull request #58955 from Matan-B/wip-58452-squid
Matan Breizman [Thu, 8 Aug 2024 10:33:19 +0000 (13:33 +0300)]
Merge pull request #58955 from Matan-B/wip-58452-squid

squid: seastar: update submodule

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agoMerge pull request #58885 from Matan-B/wip-58471-squid
Matan Breizman [Thu, 8 Aug 2024 10:32:55 +0000 (13:32 +0300)]
Merge pull request #58885 from Matan-B/wip-58471-squid

squid: src/crimson/osd/scrub: fix the null pointer error

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agoMerge pull request #58841 from Matan-B/wip-58766-squid
Matan Breizman [Thu, 8 Aug 2024 10:32:42 +0000 (13:32 +0300)]
Merge pull request #58841 from Matan-B/wip-58766-squid

squid: crimson: access coll_map under alien tp with a lock

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agoMerge pull request #58839 from Matan-B/wip-58463-squid
Matan Breizman [Thu, 8 Aug 2024 10:32:21 +0000 (13:32 +0300)]
Merge pull request #58839 from Matan-B/wip-58463-squid

squid: crimson: audit and correct epoch captured by IOInterruptCondition

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agoMerge pull request #58837 from Matan-B/wip-58551-squid
Matan Breizman [Thu, 8 Aug 2024 10:32:00 +0000 (13:32 +0300)]
Merge pull request #58837 from Matan-B/wip-58551-squid

squid: crimson/os/seastore/transaction_manager: consider inconsistency between backrefs and lbas acceptable when cleaning segments

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agoMerge pull request #58835 from Matan-B/wip-58467-squid
Matan Breizman [Thu, 8 Aug 2024 10:31:14 +0000 (13:31 +0300)]
Merge pull request #58835 from Matan-B/wip-58467-squid

squid: crimson/os/seastore: track transactions/conflicts/outstanding periodically

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agoMerge pull request #58828 from Matan-B/wip-58083-squid
Matan Breizman [Thu, 8 Aug 2024 10:30:31 +0000 (13:30 +0300)]
Merge pull request #58828 from Matan-B/wip-58083-squid

squid: crimson/os/seastore: add writer level stats to RBM

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agoMerge pull request #58638 from aaSharma14/wip-66396-squid
Aashish Sharma [Thu, 8 Aug 2024 05:27:13 +0000 (10:57 +0530)]
Merge pull request #58638 from aaSharma14/wip-66396-squid

squid: mgr/dashboard: provide option to enable pool based mirroring mode while creating a pool

Reviewed-by: Nizamudeen A <nia@redhat.com>
11 months agoosd/scrub: exempt only operator scrubs from max_scrubs limit
Ronen Friedman [Mon, 29 Jul 2024 14:11:50 +0000 (09:11 -0500)]
osd/scrub: exempt only operator scrubs from max_scrubs limit

Existing code exempts all 'high priority' scrubs, including for example
'after_repair' and 'mandatory on invalid history' scrubs from the limit.

PGs that do not have valid last-scrub data (which is what we have when
a pool is first created) - are set to shallow-scrub immediately.
Unfortunately - this type of scrub is (in the low granularity implemented
in existing code) is 'high priority'.
Which means that a newly created pool will have all its PGs start
scrubbing, regardless of concurrency (or any other) limits.

Fixes: https://tracker.ceph.com/issues/67253
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit babd65e412266f5c734f7a2b57d87657d3470c47)
conflict resolution:
- eliminating irrelevant 'main' code that was picked into this branch.
- the code to set the scrub_job's flag moved to osd_scrub_sched.cc,
  where the corresponding function is.
(cherry picked from commit a3f16627fde5426b19b932b9ef41c167e029d30f)

11 months agoMerge pull request #59020 from ronen-fr/wip-rf-58929-to-squid
Yuri Weinstein [Thu, 8 Aug 2024 00:59:31 +0000 (17:59 -0700)]
Merge pull request #59020 from ronen-fr/wip-rf-58929-to-squid

squid: osd/scrub: exempt only operator scrubs from max_scrubs limit

Reviewed-by: Laura Flores <lflores@redhat.com>
11 months agoMerge pull request #59078 from zdover23/wip-doc-2024-08-07-backport-59040-to-squid
Anthony D'Atri [Wed, 7 Aug 2024 19:26:01 +0000 (15:26 -0400)]
Merge pull request #59078 from zdover23/wip-doc-2024-08-07-backport-59040-to-squid

squid: doc: documenting the feature that scrub clear the entries from damage…

11 months agodoc: documenting the feature that scrub clear the entries from damage table on repair 59078/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>
(cherry picked from commit 140e77638dc95fefcf62f01fe7e45bc0729439be)

11 months agoMerge pull request #59062 from zdover23/wip-doc-2024-08-07-backport-59060-to-squid
Anthony D'Atri [Wed, 7 Aug 2024 00:16:03 +0000 (20:16 -0400)]
Merge pull request #59062 from zdover23/wip-doc-2024-08-07-backport-59060-to-squid

squid: doc/dev/peering: Change acting set num

11 months agodoc/dev/peering: Change acting set num 59062/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>
(cherry picked from commit 103d65ea6787ab16d1824f71578264e0abb9820c)

11 months agocommon/dout: fix FTBFS on GCC 14 59055/head
Radoslaw Zarzynski [Wed, 24 Jan 2024 17:22:44 +0000 (17:22 +0000)]
common/dout: fix FTBFS on GCC 14

The following problem has been reported by Kaleb Keithley:

```
/builddir/build/BUILD/ceph-18.2.1/src/osd/osd_types.h: In lambda function:
/builddir/build/BUILD/ceph-18.2.1/src/common/dout.h:184:73: error: call to non-‘constexpr’ function ‘virtual unsigned int DoutPrefixProvider::get_subsys() const’
  184 |     dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \
      |                                                         ~~~~~~~~~~~~~~~~^~
/builddir/build/BUILD/ceph-18.2.1/src/common/dout.h:155:58: note: in definition of macro ‘dout_impl’
  155 |       return (cctX->_conf->subsys.template should_gather<sub, v>());    \
      |                                                          ^~~
/builddir/build/BUILD/ceph-18.2.1/src/osd/osd_types.h:3617:3: note: in expansion of macro ‘ldpp_dout’
 3617 |   ldpp_dout(dpp, 10) << "build_prior all_probe " << all_probe << dendl;
      |   ^~~~~~~~~
```

For details of the problem and the idea behind the fix,
please refer to the comment this commit brings to `dout.h`.

The minimized replicator that the facilitated Goldbot-based
investigation:

```cpp
namespace ceph::dout {

template<typename T>
struct dynamic_marker_t {
  T value;
  // constexpr ctor isn't needed as it's an aggregate type
  constexpr operator T() const { return value; }
};

template<typename T>
constexpr dynamic_marker_t<T> need_dynamic(T&& t) {
  return dynamic_marker_t<T>{ std::forward<T>(t) };
}

template<typename T>
struct is_dynamic : public std::false_type {};

template<typename T>
struct is_dynamic<dynamic_marker_t<T>> : public std::true_type {};

} // ceph::dout

struct subsys_t {
  template <unsigned SubV, int LvlV>
  bool should_gather() const {
    return true;
  }
  bool should_gather(const unsigned sub, int level) const {
    return false;
  }
};

static subsys_t subsys;

  do {                                                                  \
  const bool should_gather = [&](const auto cctX) {                     \
    if constexpr (ceph::dout::is_dynamic<decltype(sub)>::value ||       \
                  ceph::dout::is_dynamic<decltype(v)>::value) {         \
      std::cout << "the dynamic path" << std::endl;                     \
      return subsys.should_gather(sub, v);                              \
    } else {                                                            \
      /* The parentheses are **essential** because commas in angle      \
       * brackets are NOT ignored on macro expansion! A language's      \
       * limitation, sorry. */                                          \
      std::cout << "the static path" << std::endl;                      \
      /*return subsys.should_gather(sub, v);*/                              \
      return (subsys.template should_gather<sub, v>());             \
    }                                                                   \
  }(cct);                                                               \
  } while (0)

  if (decltype(auto) pdpp = (dpp); pdpp) /* workaround -Wnonnull-compare for 'this' */ \
    dout_impl(42, sub, v)

  if (decltype(auto) pdpp = (dpp); pdpp) /* workaround -Wnonnull-compare for 'this' */ \
    dout_impl(42, ceph::dout::need_dynamic(42), v)

int main() {
    std::random_device dev;
    std::mt19937 rng(dev());
    std::uniform_int_distribution<std::mt19937::result_type> dist6(1,6); // distribution in range [1, 6]

    int sub = dist6(rng);
    ldpp_dout("mocked out", sub);
    //ldpp_subdout("mocked out", 4, 3);
}
```

Fixes: https://tracker.ceph.com/issues/64050
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
(cherry picked from commit 0eace4ea9ea42412d4d6a16d24a8660642e41173)

11 months agoMerge pull request #58967 from ronen-fr/wip-rf-58931-to-squid
Ronen Friedman [Tue, 6 Aug 2024 12:19:52 +0000 (15:19 +0300)]
Merge pull request #58967 from ronen-fr/wip-rf-58931-to-squid

squid: qa/standalone/scrub: fix the searched-for text for snaps decode errors

Reviewed-by: Samuel Just <sjust@redhat.com>
11 months agoTest: osd-recovery-space.sh extends the wait time for "recovery toofull". 59041/head
Nitzan Mordechai [Tue, 30 Apr 2024 10:06:16 +0000 (10:06 +0000)]
Test: osd-recovery-space.sh extends the wait time for "recovery toofull".

The osd-recovery-space test involves writing objects and expecting to receive
the "toofull" flag.
If we don't wait long enough, we might check the "toofull" flag before all objects
have completed writing, and the "toofull" status hasn't been activated yet.

The change will extend the waiting time and will also incorporate additional
checks for the return code from the status wait.

Fixes: https://tracker.ceph.com/issues/44510
Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
(cherry picked from commit a7bd91dafb5736d2e3cae987e6164cdc14a0792a)

11 months agoMerge pull request #59031 from zdover23/wip-doc-2024-08-05-backport-57905-to-squid
Anthony D'Atri [Tue, 6 Aug 2024 03:20:04 +0000 (23:20 -0400)]
Merge pull request #59031 from zdover23/wip-doc-2024-08-05-backport-57905-to-squid

squid: doc/mgr/dashboard: fix TLS typo

11 months agodoc/mgr/dashboard: fix TLS typo 59031/head
Mindy Preston [Wed, 5 Jun 2024 16:58:35 +0000 (11:58 -0500)]
doc/mgr/dashboard: fix TLS typo

Change "SSL/TSL" to "SSL/TLS"

Signed-off-by: Mindy Preston <mcpreston@icecube.wisc.edu>
(cherry picked from commit e63b967aeb00a667ab5c91b9b526c7a19a9539ec)

11 months agodoc/cephfs: edit "Layout Fields" text 59021/head
Zac Dover [Sun, 28 Jul 2024 13:35:21 +0000 (23:35 +1000)]
doc/cephfs: edit "Layout Fields" text

Improve the English in the "Layout Fields" section of
doc/cephfs/file-layouts.rst.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 9607b66e97f73b5b7c53c2610b928cd6a420c9f2)

11 months agoosd/scrub: exempt only operator scrubs from max_scrubs limit 59020/head
Ronen Friedman [Mon, 29 Jul 2024 14:11:50 +0000 (09:11 -0500)]
osd/scrub: exempt only operator scrubs from max_scrubs limit

Existing code exempts all 'high priority' scrubs, including for example
'after_repair' and 'mandatory on invalid history' scrubs from the limit.

PGs that do not have valid last-scrub data (which is what we have when
a pool is first created) - are set to shallow-scrub immediately.
Unfortunately - this type of scrub is (in the low granularity implemented
in existing code) is 'high priority'.
Which means that a newly created pool will have all its PGs start
scrubbing, regardless of concurrency (or any other) limits.

Fixes: https://tracker.ceph.com/issues/67253
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
(cherry picked from commit babd65e412266f5c734f7a2b57d87657d3470c47)
conflict resolution:
- eliminating irrelevant 'main' code that was picked into this branch.
- the code to set the scrub_job's flag moved to osd_scrub_sched.cc,
  where the corresponding function is.

11 months agoMerge pull request #58804 from lxbsz/wip-67149
Rishabh Dave [Mon, 5 Aug 2024 10:32:33 +0000 (16:02 +0530)]
Merge pull request #58804 from lxbsz/wip-67149

squid: cephfs: Fixed a bug in the readdir_cache_cb function that may have us…

Reviewed-by: Rishabh Dave <ridave@redhat.com>
11 months agoMerge pull request #56887 from dparmar18/wip-65316-squid
Rishabh Dave [Mon, 5 Aug 2024 10:31:58 +0000 (16:01 +0530)]
Merge pull request #56887 from dparmar18/wip-65316-squid

squid: mds: CInode::item_caps used in two different lists

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
11 months agoMerge pull request #58727 from neesingh-rh/wip-67078-squid
Rishabh Dave [Mon, 5 Aug 2024 10:31:35 +0000 (16:01 +0530)]
Merge pull request #58727 from neesingh-rh/wip-67078-squid

squid: mds: fix session/client evict command.

Reviewed-by: Rishabh Dave <ridave@redhat.com>
11 months agoMerge pull request #58810 from lxbsz/wip-67113
Rishabh Dave [Mon, 5 Aug 2024 10:31:18 +0000 (16:01 +0530)]
Merge pull request #58810 from lxbsz/wip-67113

squid: cephfs-shell: excute cmd 'rmdir_helper' reported error

Reviewed-by: Rishabh Dave <ridave@redhat.com>
11 months agoMerge pull request #59007 from zdover23/wip-doc-2024-08-04-backport-59006-to-squid
Anthony D'Atri [Sun, 4 Aug 2024 13:33:17 +0000 (09:33 -0400)]
Merge pull request #59007 from zdover23/wip-doc-2024-08-04-backport-59006-to-squid

squid: doc/glossary: add "ceph-ansible"

11 months agoRGW|BN: fix lifecycle test and http server issue 59010/head
Ali Masarwa [Thu, 18 Jul 2024 12:24:05 +0000 (15:24 +0300)]
RGW|BN: fix lifecycle test and http server issue

Signed-off-by: Ali Masarwa <amasarwa@redhat.com>
(cherry picked from commit cb421a466365e8dff6c2b80fc9e6b2ec5c3aa111)

11 months agodoc/glossary: add "ceph-ansible" 59007/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>
(cherry picked from commit 484e9d2b9d81b6de498ac08125c9a458730dd444)

11 months agoMerge pull request #58874 from zdover23/wip-doc-2024-07-27-backport-58641-to-squid
Zac Dover [Sat, 3 Aug 2024 05:23:43 +0000 (15:23 +1000)]
Merge pull request #58874 from zdover23/wip-doc-2024-07-27-backport-58641-to-squid

squid: doc/radosgw/qat-accel: Update and Add QATlib information

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>