From: Michael Vrable Date: Wed, 5 May 2010 00:24:32 +0000 (-0700) Subject: Compile fix for directory renaming; use virtual host access method for S3. X-Git-Url: https://git.vrable.net/?a=commitdiff_plain;h=d2d1b5303f90cbd083bf4f9c08bc6954fde0f3a7;p=bluesky.git Compile fix for directory renaming; use virtual host access method for S3. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index e774ebd..9384e61 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,4 +12,4 @@ add_subdirectory(kvstore) add_subdirectory(bluesky) add_subdirectory(nfs3) add_subdirectory(microbench) -add_subdirectory(s3bench) +add_subdirectory(cloudbench) diff --git a/cloudbench/readbench.c b/cloudbench/readbench.c index 277e1f3..8961eb8 100644 --- a/cloudbench/readbench.c +++ b/cloudbench/readbench.c @@ -252,7 +252,7 @@ int main(int argc, char *argv[]) bucket.bucketName = "mvrable-benchmark"; bucket.protocol = S3ProtocolHTTP; - bucket.uriStyle = S3UriStylePath; + bucket.uriStyle = S3UriStyleVirtualHost; bucket.accessKeyId = getenv("AWS_ACCESS_KEY_ID"); bucket.secretAccessKey = getenv("AWS_SECRET_ACCESS_KEY"); diff --git a/cloudbench/readlatency.c b/cloudbench/readlatency.c index 5a08a64..1fb8c20 100644 --- a/cloudbench/readlatency.c +++ b/cloudbench/readlatency.c @@ -205,7 +205,7 @@ int main(int argc, char *argv[]) bucket.bucketName = "mvrable-benchmark"; bucket.protocol = S3ProtocolHTTP; - bucket.uriStyle = S3UriStylePath; + bucket.uriStyle = S3UriStyleVirtualHost; bucket.accessKeyId = getenv("AWS_ACCESS_KEY_ID"); bucket.secretAccessKey = getenv("AWS_SECRET_ACCESS_KEY");