]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: s3website doesn't prefetch for web_dir() check 53602/head
authorCasey Bodley <cbodley@redhat.com>
Fri, 22 Sep 2023 19:27:38 +0000 (15:27 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 22 Sep 2023 19:27:40 +0000 (15:27 -0400)
commit7ba05a29163e1a81fb449e3231200e0bf55c1200
tree6d43506b3d6543fa46172dfef5baa24391a55a80
parent9fedc1e062027dbce66747e5d0dc11319615ab8a
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>
src/rgw/rgw_rest_s3.cc