Skip to content

quincy: rgw: s3website doesn't prefetch for web_dir() check#53768

Merged
yuriw merged 1 commit intoceph:quincyfrom
cbodley:wip-63050-quincy
Oct 10, 2023
Merged

quincy: rgw: s3website doesn't prefetch for web_dir() check#53768
yuriw merged 1 commit intoceph:quincyfrom
cbodley:wip-63050-quincy

Conversation

@cbodley
Copy link
Contributor

@cbodley cbodley commented Oct 2, 2023

backport tracker: https://tracker.ceph.com/issues/63050


backport of #53602
parent tracker: https://tracker.ceph.com/issues/62938

this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh

this function only needs to check for existence of the given path.
the sal::Object is destroyed before the function returns, so it's
wasteful to prefetch its data

Fixes: https://tracker.ceph.com/issues/62938

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 7ba05a2)

Conflicts:
	src/rgw/rgw_rest_s3.cc: set_prefetch_data() takes RGWObjectCtx
@cbodley cbodley added this to the quincy milestone Oct 2, 2023
@cbodley cbodley added the rgw label Oct 2, 2023
@cbodley
Copy link
Contributor Author

cbodley commented Oct 2, 2023

jenkins test make check

Copy link
Contributor

@yuriw yuriw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed-by: Casey Bodley cbodley@redhat.com

@yuriw yuriw merged commit 127b8d4 into ceph:quincy Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants