]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: s3website doesn't prefetch for web_dir() check 53769/head
authorCasey Bodley <cbodley@redhat.com>
Fri, 22 Sep 2023 19:27:38 +0000 (15:27 -0400)
committerCasey Bodley <cbodley@redhat.com>
Mon, 2 Oct 2023 20:19:42 +0000 (16:19 -0400)
commit67f2346d1888b79a994591f9b22ee212041d6e13
tree456cc7f79a260cefcbe3b1f5cb040c53616d2194
parenteeb13ac974775bd0cce96a2c687e8bcc2faca43d
rgw: s3website doesn't prefetch for web_dir() check

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 7ba05a29163e1a81fb449e3231200e0bf55c1200)

Conflicts:
src/rgw/rgw_rest_s3.cc set_prefetch_data() is a member of RGWObjectCtx
src/rgw/rgw_rest_s3.cc