Commit Graph

138601 Commits

Author SHA1 Message Date
Yingxin Cheng
51636d9954 crimson/net: clear FrameAssemblerV2 at replace
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2023-06-25 11:57:19 +08:00
Yingxin Cheng
d1b4323606 crimson/net: adjust the IO path in FrameAssemblerV2 with the foreign socket
FrameAssemblerV2 and Socket may in different cores during handshake.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2023-06-25 11:57:19 +08:00
Yingxin Cheng
50bc62a9da crimson/net: allow FrameAssemblerV2 to check and shutdown a foreign socket
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2023-06-25 11:57:19 +08:00
Yingxin Cheng
c47dc1d0e4 crimson/net: check that FrameAssemblerV2 is working in the expected core
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2023-06-25 11:57:19 +08:00
Yingxin Cheng
23c7a85084 crimson/net: use SocketFRef
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2023-06-25 11:57:19 +08:00
Yingxin Cheng
d5a9f0eda3 crimson/net: check that Socket only works in its core
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2023-06-25 11:57:19 +08:00
Yingxin Cheng
db07ae9d5c crimson/net: wrap message with foreign-ptr in the send path
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2023-06-25 11:57:19 +08:00
Yingxin Cheng
58491826d5 crimson/net: change the static IS_FIXED_CPU to runtime
Otherwise the messenger implementation needs to be templated.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2023-06-25 11:57:19 +08:00
Yingxin Cheng
7797cabe2a crimson/net: decouple tests from SocketConnection class
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2023-06-25 11:57:19 +08:00
Yingxin Cheng
4dab5cf87a crimson/net: hide seastar packet and temporary_buffer inside Socket
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2023-06-25 11:57:19 +08:00
Yingxin Cheng
3b47c9a632 crimson/net: introduce IOHandler::sid and the related assertions
Note that Connection and Messenger may be destructed in any order, so
keep a copy of msgr_sid in SocketConnection.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2023-06-25 11:57:19 +08:00
Yingxin Cheng
53df464f41 crimson/net: move socket ownership from SocketConnection to FrameAssemblerV2
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2023-06-25 11:57:19 +08:00
Yingxin Cheng
ec510b57d3 crimson/net: make sure Messenger is always called in the same shard
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2023-06-25 11:57:19 +08:00
Yingxin Cheng
9eda402ff4 crimson/net/socket: extend the sockets to multiple shards
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2023-06-25 11:57:19 +08:00
Yingxin Cheng
95f62d9a45 test/crimson/test_socket: fix unaligned memory access
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2023-06-25 11:57:19 +08:00
Yingxin Cheng
7611109823 test/crimson: cleanup test_socket.cc
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2023-06-25 11:57:19 +08:00
Yingxin Cheng
aec42c07b1 crimson/net: cleanups to Socket.h/cc
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2023-06-25 11:57:19 +08:00
Yingxin Cheng
91c5ddc7ef crimson/net: drop the template from FixedCPUServerSocket::accept()
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2023-06-25 11:57:19 +08:00
zdover23
e84e44efef
Merge pull request #52167 from zdover23/wip-doc-2023-06-23-rados-operations-crush-map-edits-1-of-x
doc/rados: edit crush-map-edits.rst (1 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
2023-06-24 15:55:43 +10:00
Zac Dover
f447c290a8 doc/rados: edit crush-map-edits.rst (1 of x)
Edit doc/rados/operations/crush-map-edits.rst.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Co-authored-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-06-24 14:09:19 +10:00
Venky Shankar
dd3d546012 Merge PR #51974 into main
* refs/pull/51974/head:
	doc: fix grammar in cephfs/standby

Reviewed-by: Anthony D Atri <anthony.datri@gmail.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2023-06-23 10:40:51 +05:30
Laura Flores
7917b8de66
Merge pull request #52164 from ljflores/wip-balancer-documentation-fix
doc/rados/operations: change file back to original name
2023-06-22 17:39:16 -05:00
Laura Flores
89c3dc4b93 doc/rados/operations: change file back to original name
The name of this file was changed in
4fcab2e7fc,
but on second thought, this could cause 404 situations.
Reverting the file name back to the original name.

Signed-off-by: Laura Flores <lflores@redhat.com>
2023-06-22 17:20:51 -05:00
Ali Maredia
26fda85af2
Merge pull request #52156 from cbodley/wip-qa-rgw-s3tests-extra-attrs
qa/rgw/s3tests: make extra_attrs additive
2023-06-22 16:15:02 -04:00
Casey Bodley
39e5f096d1
Merge pull request #52085 from alimaredia/wip-rgw-tempest-keystone-fix
Tempest tests Keystone Fix

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2023-06-22 13:46:46 -04:00
Ali Maredia
703effd45b qa: rgw/tempest suite only runs on ubuntu latest
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2023-06-22 11:59:59 -04:00
Tobias Urdin
fffa119424 qa: update rgw openstack versions
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2023-06-22 11:59:53 -04:00
Adam King
54413fd570
Merge pull request #51738 from phlogistonjohn/jjm-cephadm-new-deploy
cephadm: create a new version of the deploy command

Reviewed-by: Adam King <adking@redhat.com>
2023-06-22 11:39:49 -04:00
Laura Flores
e36ab74891
Merge pull request #51499 from ljflores/wip-balancer-documentation
doc/man/8: add documentation about read balancer
2023-06-22 10:32:38 -05:00
Laura Flores
4fcab2e7fc doc/man/8: add documentation about read balancer
Signed-off-by: Laura Flores <lflores@redhat.com>
Co-authored-by: Josh Salomon <josh.salomon@gmail.com>
2023-06-22 09:54:48 -05:00
Mark Kogan
bcf5df86fc
Merge pull request #51819 from mkogan1/wip-d3n-obj-w-slash
rgw: D3N: cache objects which oid contains slash
2023-06-22 17:28:12 +03:00
Casey Bodley
596e32f542 qa/s3tests: remove stale comment about rfc2616
this comment was about the old fails_strict_rfc2616 attr that was
removed in 6238eaaf0b

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2023-06-22 08:54:33 -04:00
Casey Bodley
1e65b50f60 qa/s3tests: clean up extra_attrs and extra_args logic
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2023-06-22 08:54:33 -04:00
Casey Bodley
1c006c92e1 qa/s3tests: make extra_attrs additive
the s3tests.py task is filtering out several attrs by default. but
when dbstore uses `extra_attrs` to add 'not fails_on_dbstore', it
overwrites those other filters

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2023-06-22 08:54:14 -04:00
Yuval Lifshitz
e36a5fc393
Merge pull request #52129 from yuvalif/wip-yuval-kafka-memleak
rgw/kafka: fix potential memory leak when push to queue fails
2023-06-22 11:09:45 +03:00
Matan
af70f82f1e
Merge pull request #51961 from Matan-B/wip-matanb-crimson-single-mosdmap-handling
Crimson/osd: Disable concurrent MOSDMap handling

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Radosław Zarzyński <rzarzyns@redhat.com>
2023-06-22 10:17:47 +03:00
Yuri Weinstein
d05da0b4d1
Merge pull request #52072 from NitzanMordhai/wip-nitzan-add-ec-clay-teuthology-tests
qa: adding clay test to thrash erasure code big

Reviewed-by: Neha Ojha <nojha@redhat.com>
2023-06-21 17:16:00 -04:00
Yuri Weinstein
feb98924e8
Merge pull request #51667 from Matan-B/wip-matanb-share-osdmap
osd/OSD: cleanup OSDService::maybe_share_map()

Reviewed-by: Samuel Just <sjust@redhat.com>
2023-06-21 17:12:38 -04:00
Yuri Weinstein
b1ed114a66
Merge pull request #51450 from batrick/i59716
pybind/rados: keep byte representation if decode fails

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
2023-06-21 17:12:08 -04:00
Casey Bodley
7c9486412d
Merge pull request #50206 from TRYTOBE8TME/wip-rgw-yield-work
rgw: replace null_yields with optional ones

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2023-06-21 14:52:20 -04:00
John Mulligan
f890d82478 qa/workunits/cephadm: update script use use cephadm _orch deploy
cephadm _orch deploy will eventually be the only deploy method so
we need to update the test script.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-06-21 13:19:16 -04:00
John Mulligan
3028216a61 cephadm: dont set ctx.image if json deploy image is unset
If no image has been provided in the "deploy from" json do not set
ctx.image to it (empty-string or None) as we may have had a valid
value passed on the --image CLI option.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-06-21 13:19:16 -04:00
zdover23
a0766f1254
Merge pull request #52123 from zdover23/wip-doc-2023-06-20-rados-operations-control-1-of-x
doc/rados: edit control.rst (1 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-06-21 23:34:55 +10:00
Zac Dover
d14b828a1a doc/rados: edit control.rst (1 of x)
Edit doc/rados/operations/control.rst.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-06-21 22:53:12 +10:00
Ilya Dryomov
ca20127c70
Merge pull request #52109 from idryomov/wip-61616
librbd: avoid object map corruption in snapshots taken under I/O

Reviewed-by: Mykola Golub <mgolub@suse.com>
2023-06-21 11:43:26 +02:00
Ilya Dryomov
acb270a3dd qa/workunits/rbd: make continuous export-diff test actually work
The current version is pretty useless:

- "rbd bench" writes the same byte (0xff) over and over again, so
  almost all checksumming is in vain
- snapshots are taken in a steady state (i.e. not under I/O), so no
  race conditions can get exposed
- even with these caveats, it's not wired up into the suite

Redo this workunit to be a reliable reproducer for the issue fixed
in the previous commit and wire it up for both krbd and rbd-nbd.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2023-06-20 22:14:39 +02:00
Matan Breizman
ba519f5e72 crimson/osd/osd_operations/pg_advance_map: 'from' epoch may vary between PGS explanation
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2023-06-20 18:10:04 +00:00
Matan Breizman
06bf661543 crimson/osd/osdmap_gate: got_map() assert increase of current epoch
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2023-06-20 18:10:02 +00:00
Samuel Just
ff8144fac0
Merge pull request #51827 from liu-chunmei/get_assert
crimson:  fix RefCountedObject::_get() assert

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2023-06-20 11:06:31 -07:00
Matan Breizman
a8800c7e70 crimson/osd/shard_services: get_or_create_pg() remove unused variable
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2023-06-20 17:19:54 +00:00