]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Zac Dover [Tue, 27 Jun 2023 08:58:32 +0000 (18:58 +1000)]
doc/rados: edit crush-map-edits (2 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>
zdover23 [Tue, 4 Jul 2023 17:55:15 +0000 (03:55 +1000)]
Merge pull request #52308 from zdover23/wip-doc-2023-07-05-seqdiag-test
doc/dev: remove seqdiag assets
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Zac Dover [Tue, 4 Jul 2023 17:37:10 +0000 (03:37 +1000)]
doc/dev: remove seqdiag assets
Remove seqdiag assets to determine whether the docs can be built if they
are absent. (Currently they cannot be built when they are present.) If
this works, then these diagrams will be replaced, probably with .png
files.
Signed-off-by: Zac Dover <zac.dover@proton.me>
zdover23 [Mon, 3 Jul 2023 17:47:40 +0000 (03:47 +1000)]
Merge pull request #51422 from yuvalif/wip-yuval-cephadm-lua-doc
doc/rgw/lua: add info uploading a script in cephadm deployment
Reviewed-by: Zac Dover <zac.dover@proton.me>
Casey Bodley [Mon, 3 Jul 2023 15:19:36 +0000 (11:19 -0400)]
Merge pull request #52247 from cbodley/wip-57905
rgw: rgwx-skip-decrypt also skips decompression of encrypted objects
Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
Mark Kogan [Mon, 3 Jul 2023 14:06:21 +0000 (17:06 +0300)]
Merge pull request #52249 from mkogan1/wip-t61661-d3n-valg
rgw: d3n: fix valgrind reported leak related to libaio ops
Soumya Koduri [Mon, 3 Jul 2023 04:50:48 +0000 (10:20 +0530)]
Merge pull request #52160 from soumyakoduri/wip-skoduri-lc-acl
rgw/set_attrs: Do not modify mtime
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
J. Eric Ivancich [Sun, 2 Jul 2023 20:30:26 +0000 (16:30 -0400)]
Merge pull request #51983 from clwluvw/aws4-date-header
rgw: pick http_date in case of http_x_amz_date absence
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Matan [Sun, 2 Jul 2023 11:02:01 +0000 (14:02 +0300)]
Merge pull request #49044 from rzarzynski/wip-crimson-ertr-plain-rets
crimson/ertr: let ErrVisitorT return plain value if ValueFuncT returns seastar::future
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: chunmei-liu <chunmei.liu@intel.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Matan [Sun, 2 Jul 2023 10:53:25 +0000 (13:53 +0300)]
Merge pull request #52032 from Matan-B/wip-matanb-crimson-no-ignore
crimson/osd: don't ignore start_pg_operation returned future
Reviewed-by: Samuel Just <sjust@redhat.com>
Matan [Sun, 2 Jul 2023 10:15:02 +0000 (13:15 +0300)]
Merge pull request #51147 from liu-chunmei/multicore-osd
Crimson/osd: support multicore osd
Reviewed-by: Samuel Just <sjust@redhat.com>
Matan [Sun, 2 Jul 2023 10:05:04 +0000 (13:05 +0300)]
Merge pull request #51916 from cyx1231st/wip-seastar-msgr-multi-core-2
crimson/net: support connections in multiple shards
Reviewed-by: Samuel Just <sjust@redhat.com>
Anthony D'Atri [Sat, 1 Jul 2023 13:46:19 +0000 (09:46 -0400)]
Merge pull request #52280 from zdover23/wip-doc-2023-07-01-radosgw-multisite
doc/radosgw: refine "Zones" in multisite.rst
Zac Dover [Sat, 1 Jul 2023 11:51:15 +0000 (21:51 +1000)]
doc/radosgw: refine "Zones" in multisite.rst
Describe in greater detail the function of Zones in serving S3 objects,
as requested by Alexander Patrakov here:
https://github.com/ceph/ceph/pull/49981#issuecomment-
1615866374 .
Signed-off-by: Zac Dover <zac.dover@proton.me>
zdover23 [Sat, 1 Jul 2023 11:29:24 +0000 (21:29 +1000)]
Merge pull request #52277 from zdover23/wip-doc-2023-07-01-radosgw-s3select-overview
doc/radosgw: s/s3select/S3 Select/
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Zac Dover [Sat, 1 Jul 2023 11:14:30 +0000 (21:14 +1000)]
doc/radosgw: s/s3select/S3 Select/
Correct several misspelling of "S3 Select". Hat tip to Anthony D'Atri,
who caught this in an earlier PR.
Signed-off-by: Zac Dover <zac.dover@proton.me>
J. Eric Ivancich [Fri, 30 Jun 2023 15:33:15 +0000 (11:33 -0400)]
Merge pull request #47595 from 5cs/fix-lc-head-marker
rgwlc: fix lc head marker point to non-exist lc entry
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
J. Eric Ivancich [Fri, 30 Jun 2023 15:30:27 +0000 (11:30 -0400)]
Merge pull request #50667 from ivancich/wip-add-reupload-testing
qa/rgw: test that multipart re-upload does not leave any orphans
Reviewed-by: Cory Snyder <csnyder@iland.com>
Soumya Koduri [Fri, 30 Jun 2023 12:14:02 +0000 (17:44 +0530)]
Merge pull request #52252 from soumyakoduri/wip-skoduri-dbstore
rgw/dbstore: Update README
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Yingxin [Fri, 30 Jun 2023 02:32:24 +0000 (10:32 +0800)]
Merge pull request #52217 from zhscn/fix-file-local-variable
crimson/os/seastore/omap_manager: correct editor settings
Reviewed-by: Xuehan Xu <xxhdx1985126@gmail.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
zdover23 [Thu, 29 Jun 2023 16:00:13 +0000 (02:00 +1000)]
Merge pull request #52250 from zdover23/wip-doc-2023-06-29-radosgw-s3select-basic-workflow
doc/radosgw: edit "Basic Workflow" in s3select.rst
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Zac Dover [Thu, 29 Jun 2023 08:48:00 +0000 (18:48 +1000)]
doc/radosgw: edit "Basic Workflow" in s3select.rst
Edit the "Basic Workflow" section in doc/radosgw/s3select.rst.
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
Soumya Koduri [Thu, 29 Jun 2023 10:30:43 +0000 (16:00 +0530)]
rgw/dbstore: Update README
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Mark Kogan [Wed, 28 Jun 2023 14:06:27 +0000 (14:06 +0000)]
rgw: d3n: fix valgrind reported leak related to libaio ops
Fixes: https://tracker.ceph.com/issues/61661
The valgrind leak indication is a false positive in this case,
it is because the libaio internal thread have not timed out yet
when radosgw is terminated.
```
man aio_init
...
aio_idle_time
This field specifies the amount of time in seconds that a worker thread
should wait for further requests before terminating, after having
completed a previous request. The
default value is 1.
...
```
for the sake of teuthology reducing the timeout
waiting for 2 minutes for example like below would also prevent the leak report
```
❯ env
LD_LIBRARY_PATH=/mnt/nvme5n1p1/src-git/ceph--up--master-clang/build/lib/:$LD_LIBRARY_PATH
PYTHONPATH=$PYTHONPATH:/mnt/nvme5n1p1/src-git/ceph--up--master-clang/build/lib/cython_modules/lib.3
RAGWEED_CONF=$(realpath ./ragweed.conf) RAGWEED_STAGES=prepare,check tox
-- -v |& ccze -Aonolookups ; sleep 2m | pv -t ; pkill radosgw
```
Signed-off-by: Mark Kogan <mkogan@redhat.com>
Radoslaw Zarzynski [Thu, 29 Jun 2023 07:32:03 +0000 (09:32 +0200)]
Merge pull request #52008 from rishabh-d-dave/improvements-authmon
mon: improvements and cleanup for AuthMonitor
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Yingxin Cheng [Thu, 29 Jun 2023 05:25:28 +0000 (13:25 +0800)]
crimson/osd/heartbeat: relax the order of replacement reset and accept
With the new implementation in messenger, the order of replacement reset
and accept events cannot be determined because they are from different
connections.
Modify the heatbeat logic to tolerate the both cases.
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Casey Bodley [Wed, 28 Jun 2023 18:57:49 +0000 (14:57 -0400)]
rgw: fetch_remote_obj() preserves RGW_ATTR_COMPRESSION of encrypted objects
if the source object was both compressed and encrypted, preserve its
original compression attribute so it can be decompressed the same way it
was originally compressed
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 28 Jun 2023 18:43:55 +0000 (14:43 -0400)]
rgw: fetch_remote_obj() will never verify etags of encrypted objects
fetch_remote_obj() transfers objects in their encrypted form, so does
not have access to the decrypted data for checksum verification
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 28 Jun 2023 18:42:16 +0000 (14:42 -0400)]
rgw: rgwx-skip-decrypt also skips decompression of encrypted objects
compression is applied before encryption. so if we skip decryption, we
can't decompress either
Fixes: https://tracker.ceph.com/issues/57905
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Ilya Dryomov [Wed, 28 Jun 2023 09:45:50 +0000 (11:45 +0200)]
Merge pull request #52157 from pkalever/log-improve
rbd-mirror: add some assorted logs
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Soumya Koduri [Sat, 24 Jun 2023 06:55:46 +0000 (12:25 +0530)]
rgw: Do not update mtime in `set_attrs`
As per https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingMetadata.html,
the only way for users to modify object metadata is to make a copy of the object and
set the metadata. Hence retain old mtime for any other attr changes
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
zdover23 [Wed, 28 Jun 2023 06:43:08 +0000 (16:43 +1000)]
Merge pull request #52194 from zdover23/wip-doc-2023-06-26-radosgw-s3select-overview
doc/radosgw: edit "Overview" in s3select.rst
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Zac Dover [Mon, 26 Jun 2023 11:45:43 +0000 (21:45 +1000)]
doc/radosgw: edit "Overview" in s3select.rst
Edit the "Overview" section in doc/radosgw/s3select.rst.
Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
Venky Shankar [Wed, 28 Jun 2023 04:53:54 +0000 (10:23 +0530)]
Merge PR #49971 into main
* refs/pull/49971/head:
doc/cephfs: document MDS_CLIENTS_LAGGY health warning
qa: ignore warnings
qa: add test cases to check client eviction if an OSD is laggy
mds,messages: enable beacon to report clients lagginess
mds: do not evict client on laggy osds
common: add new config option to defer client eviction
osd: add method to check for laggy osds
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Yingxin [Wed, 28 Jun 2023 04:53:06 +0000 (12:53 +0800)]
Merge pull request #52090 from xxhdx1985126/wip-fixedkv-btree-merge-fix
crimson/os/seastore/btree: should add left's size when merging levels…
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Prasanna Kumar Kalever [Thu, 22 Jun 2023 14:38:36 +0000 (20:08 +0530)]
rbd-mirror: add some logs
Added some logs as their values where not very clear while parsing though the
log files.
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
Zhang Song [Wed, 28 Jun 2023 02:01:21 +0000 (10:01 +0800)]
crimson/os/seastore/omap_manager: correct editor settings
Signed-off-by: Zhang Song <zhangsong325@gmail.com>
Patrick Donnelly [Tue, 27 Jun 2023 17:43:38 +0000 (13:43 -0400)]
Merge PR #51858 into main
* refs/pull/51858/head:
pybind/mgr/devicehealth: do not crash if db not ready
Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Yaarit Hatuka <yaarithatuka@gmail.com>
Venky Shankar [Tue, 27 Jun 2023 12:21:31 +0000 (17:51 +0530)]
Merge PR #52170 into main
* refs/pull/52170/head:
qa: assign file system affinity for replaced MDS
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Aashish Sharma [Tue, 27 Jun 2023 11:58:12 +0000 (17:28 +0530)]
Merge pull request #51283 from rhcs-dashboard/disable-delete
mgr/dashboard: disable delete on multisite
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Venky Shankar [Thu, 22 Jun 2023 10:08:44 +0000 (06:08 -0400)]
qa: assign file system affinity for replaced MDS
Otherwise, the MDS that just got replaced can transition to a rank
for another file system and the test cannot deterministically infer
which MDS needs to checked.
Fixes: http://tracker.ceph.com/issues/61764
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Yingxin Cheng [Tue, 27 Jun 2023 02:31:11 +0000 (10:31 +0800)]
crimson/net: cleanup, rename is_fixed_cpu
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Samarah Uriarte [Mon, 26 Jun 2023 14:30:40 +0000 (10:30 -0400)]
Merge pull request #51928 from samarahu/cmake-cleanup
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Venky Shankar [Mon, 26 Jun 2023 12:21:25 +0000 (17:51 +0530)]
Merge PR #52149 into main
* refs/pull/52149/head:
cephfs-journal-tool: disambiguate usage of all keyword (in tool help).
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Kotresh Hiremath Ravishankar <khiremat@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Ilya Dryomov [Mon, 26 Jun 2023 09:49:26 +0000 (11:49 +0200)]
Merge pull request #52155 from nbalacha/poolreplayer-logging
rbd-mirror: add additional logs to PoolReplayer
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Venky Shankar [Mon, 26 Jun 2023 07:29:12 +0000 (12:59 +0530)]
Merge PR #51417 into main
* refs/pull/51417/head:
client: only wait for write MDS OPs when unmounting
client: flush the mdlog before waiting for unsafe requests
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Venky Shankar [Mon, 26 Jun 2023 07:27:43 +0000 (12:57 +0530)]
Merge PR #50908 into main
* refs/pull/50908/head:
mon/MDSMonitor: plug paxos when maybe manipulating the osdmap
mon/MDSMonitor: force immediate propose when evicting an MDS
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Venky Shankar [Mon, 26 Jun 2023 07:26:33 +0000 (12:56 +0530)]
Merge PR #49295 into main
* refs/pull/49295/head:
mgr/snap_schedule: catch all exceptions for cli
Reviewed-by: Venky Shankar <vshankar@redhat.com>
zdover23 [Mon, 26 Jun 2023 01:46:07 +0000 (11:46 +1000)]
Merge pull request #51845 from ssdohammer-sl/doc-update-deduplication
doc:dev update how to use deduplication
Reviewed-by: Zac Dover <zac.dover@proton.me>
Sungmin Lee [Fri, 26 May 2023 08:05:46 +0000 (17:05 +0900)]
doc:dev update how to use deduplication
Add prerequisite for deduplication, example outputs, and chunk-repair operation.
Signed-off-by: Sungmin Lee <sung_min.lee@samsung.com>
Manish M Yathnalli [Wed, 21 Jun 2023 07:59:41 +0000 (13:29 +0530)]
cephfs-journal-tool: disambiguate usage of all keyword (in tool help).
The fs:all for rank option description was confusing. It seemd
like the fs was optional, but it is mandatory. This change modifies the
help message to reflect the correct way to use all in the --rank option.
Fixes: https://tracker.ceph.com/issues/61753
Signed-off-by: Manish M Yathnalli <myathnal@redhat.com>
zdover23 [Sun, 25 Jun 2023 13:46:11 +0000 (23:46 +1000)]
Merge pull request #52181 from zdover23/wip-doc-2023-06-25-radosgw-s3select-formatting
doc/radosgw: remove pipes from s3select.rst
Reviewed-by: Cole Mitchell <cole.mitchell.ceph@gmail.com>
Yuval Lifshitz [Sun, 25 Jun 2023 12:54:26 +0000 (15:54 +0300)]
Merge pull request #52110 from yuvalif/wip-yuval-fix-61639
rgw/amqp: remove possible race conditions with the amqp connections
Zac Dover [Sun, 25 Jun 2023 09:03:07 +0000 (19:03 +1000)]
doc/radosgw: remove pipes from s3select.rst
Remove strange formatting introduced in
61d6813726fc08980903c6a6c50b0a5797ba7193 .
Note to the documentation team: This is not a line-edit. This commit
includes nothing but the removal of pipes added to the left of much of
the text in this file. Several future commits will line-edit this file
and correct its formatting.
Signed-off-by: Zac Dover <zac.dover@proton.me>
Yuval Lifshitz [Sun, 25 Jun 2023 08:56:26 +0000 (08:56 +0000)]
rgw/amqp: use "fmt" for converting connection_id to string
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
Yingxin [Sun, 25 Jun 2023 05:46:17 +0000 (13:46 +0800)]
Merge pull request #51980 from aisakaki/wip-fix-check_node
crimson/os/seastore: fix in check_node
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Xuehan Xu <xxhdx1985126@gmail.com>
Yingxin Cheng [Fri, 16 Jun 2023 07:35:22 +0000 (15:35 +0800)]
crimson/net: dispatch the initial acceptance from the socket core
It's meaningless to dispatch the initial acceptance always from the
msgr core.
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Wed, 31 May 2023 06:34:17 +0000 (14:34 +0800)]
crimson/net: keep the order of cross-core events in msgr v2
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Wed, 31 May 2023 06:11:34 +0000 (14:11 +0800)]
crimson/net: expose is_fixed_cpu configuration at Messenger level
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Mon, 5 Jun 2023 02:57:37 +0000 (10:57 +0800)]
crimson/net: misc cleanups with logs around cross-core
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Mon, 5 Jun 2023 02:56:27 +0000 (10:56 +0800)]
crimson/net: convert all interactions between protocol and io-handler to be cross-core
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Mon, 5 Jun 2023 02:40:23 +0000 (10:40 +0800)]
crimson/net: prevent racing in protocol to switch core and to call io-handler interfaces
Otherwise, calling io-handler interfaces may result in wrong core/order.
This needs to take special care to handle preemptive cases such as
closing and replacing.
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Mon, 5 Jun 2023 02:22:29 +0000 (10:22 +0800)]
crimson/net: implement logic to move a io-handler to a new sid
Note that it is inevitable that the user can mark down the connection
while the protocol is trying to move the connection to another core.
In that case, the implementation should tolerate the racing, which
finally needs to cleanup resources correctly and dispatch reasonable
events.
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Fri, 2 Jun 2023 10:09:18 +0000 (18:09 +0800)]
crimson/net: expose the connection working shard to users
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Fri, 2 Jun 2023 09:22:53 +0000 (17:22 +0800)]
crimson/net: notify the new connection shard upon accept/connect
Users may need to know the new connection shard prior to message
dispatching. Otherwise, there will be no chance for user to do any
related preparations.
This is still a placeholder before multi-core messegner is enabled.
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Fri, 2 Jun 2023 08:22:21 +0000 (16:22 +0800)]
crimson/net: make io-handler in/out dispatching aware of being switched
To prevent the previous shard-states racing on the shared data
structures after switching to a new shard-states.
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Fri, 2 Jun 2023 08:06:33 +0000 (16:06 +0800)]
crimson/net: allow io-handler to dispatch in/out independently based on ctx
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Fri, 2 Jun 2023 07:55:10 +0000 (15:55 +0800)]
crimson/net: make send/keepalive keep trying until the shard is correct
It will be possible that during cross-core send/keepalive, the
connection shard is changed on-the-fly.
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Fri, 2 Jun 2023 07:45:07 +0000 (15:45 +0800)]
crimson/net: factor out IOHandler::shard_states_t which will be switchable atomically
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Thu, 1 Jun 2023 10:37:41 +0000 (18:37 +0800)]
crimson/net: misc cleanups to io handler implementations
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Thu, 1 Jun 2023 09:05:42 +0000 (17:05 +0800)]
crimson/net: misc cleanups to protocol v2 implementations
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Wed, 31 May 2023 08:57:41 +0000 (16:57 +0800)]
crimson/net: notify and update io_states from io_handler to protocol asynchronously
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Wed, 31 May 2023 09:21:05 +0000 (17:21 +0800)]
crimson/net: introduce a simpler reset_peer_state() with cleanups
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Wed, 26 Apr 2023 09:37:16 +0000 (17:37 +0800)]
crimson/net: clear FrameAssemblerV2 at replace
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Wed, 26 Apr 2023 09:33:58 +0000 (17:33 +0800)]
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>
Yingxin Cheng [Wed, 26 Apr 2023 09:27:03 +0000 (17:27 +0800)]
crimson/net: allow FrameAssemblerV2 to check and shutdown a foreign socket
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Wed, 26 Apr 2023 09:14:06 +0000 (17:14 +0800)]
crimson/net: check that FrameAssemblerV2 is working in the expected core
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Wed, 26 Apr 2023 09:06:06 +0000 (17:06 +0800)]
crimson/net: use SocketFRef
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Wed, 26 Apr 2023 08:45:42 +0000 (16:45 +0800)]
crimson/net: check that Socket only works in its core
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Wed, 26 Apr 2023 08:33:28 +0000 (16:33 +0800)]
crimson/net: wrap message with foreign-ptr in the send path
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Wed, 26 Apr 2023 08:13:48 +0000 (16:13 +0800)]
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>
Yingxin Cheng [Mon, 24 Apr 2023 05:47:22 +0000 (13:47 +0800)]
crimson/net: decouple tests from SocketConnection class
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Fri, 21 Apr 2023 03:47:36 +0000 (11:47 +0800)]
crimson/net: hide seastar packet and temporary_buffer inside Socket
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Mon, 27 Mar 2023 09:00:13 +0000 (17:00 +0800)]
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>
Yingxin Cheng [Mon, 27 Mar 2023 08:58:16 +0000 (16:58 +0800)]
crimson/net: move socket ownership from SocketConnection to FrameAssemblerV2
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Mon, 13 Mar 2023 08:29:12 +0000 (16:29 +0800)]
crimson/net: make sure Messenger is always called in the same shard
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Fri, 10 Mar 2023 02:22:56 +0000 (10:22 +0800)]
crimson/net/socket: extend the sockets to multiple shards
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Fri, 10 Mar 2023 01:55:44 +0000 (09:55 +0800)]
test/crimson/test_socket: fix unaligned memory access
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Mon, 20 Feb 2023 06:37:11 +0000 (14:37 +0800)]
test/crimson: cleanup test_socket.cc
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Mon, 20 Feb 2023 01:41:58 +0000 (09:41 +0800)]
crimson/net: cleanups to Socket.h/cc
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Fri, 17 Feb 2023 09:03:02 +0000 (17:03 +0800)]
crimson/net: drop the template from FixedCPUServerSocket::accept()
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Xinyu Huang [Fri, 9 Jun 2023 07:25:48 +0000 (15:25 +0800)]
crimson/os/seastore: fix bug in check_node
EXIST_CLEAN and EXIST_MUTATION_PENDING shuold not be treated as
CLEAN in check_node because they are transaction private and the
leafnode has been duplicated for write.
fix: https://tracker.ceph.com/issues/61626
Signed-off-by: Xinyu Huang <xinyu.huang@intel.com>
zdover23 [Sat, 24 Jun 2023 05:55:43 +0000 (15:55 +1000)]
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>
Zac Dover [Fri, 23 Jun 2023 00:59:10 +0000 (10:59 +1000)]
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>
N Balachandran [Fri, 23 Jun 2023 13:13:13 +0000 (18:43 +0530)]
rbd-mirror: add logs to PoolReplayer
This commit adds logs to some PoolReplayer functions
in order to make debugging easier.
Signed-off-by: N Balachandran <nibalach@redhat.com>
Venky Shankar [Fri, 23 Jun 2023 05:10:51 +0000 (10:40 +0530)]
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>
chunmei [Fri, 23 Jun 2023 04:35:38 +0000 (04:35 +0000)]
crimson/osd: modify the interface to integrate with milticore-msg
Signed-off-by: chunmei <chunmei.liu@intel.com>
chunmei [Fri, 23 Jun 2023 04:25:53 +0000 (04:25 +0000)]
crimson/osd: remove seastar::now() to gurantee sequence in pipline
in debug build, if wait_barrier is seastar::now, will cause reactor
schedule the following continuation away, but can't schedule them back
in the same order as by which they are scheduled away, so the continuations
are out of order here.
Signed-off-by: chunmei <chunmei.liu@intel.com>
chunmei [Fri, 23 Jun 2023 03:35:09 +0000 (03:35 +0000)]
crimson/osd: make OSDState and OSDMap_Gate sharded
put them into PerShardState to avoid cross core calling for normal cases.
Signed-off-by: chunmei <chunmei.liu@intel.com>
chunmei [Sat, 8 Apr 2023 08:58:15 +0000 (08:58 +0000)]
crimson/osd: change OSD::ms_dispatch to take an ConnectionFRef
Shortly, we will need to be able to pass a ConnectionRef from another core.
Signed-off-by: chunmei <chunmei.liu@intel.com>