Compile fix for directory renaming; use virtual host access method for S3.
authorMichael Vrable <mvrable@cs.ucsd.edu>
Wed, 5 May 2010 00:24:32 +0000 (17:24 -0700)
committerMichael Vrable <mvrable@cs.ucsd.edu>
Wed, 5 May 2010 00:24:32 +0000 (17:24 -0700)
CMakeLists.txt
cloudbench/readbench.c
cloudbench/readlatency.c

index e774ebd..9384e61 100644 (file)
@@ -12,4 +12,4 @@ add_subdirectory(kvstore)
 add_subdirectory(bluesky)
 add_subdirectory(nfs3)
 add_subdirectory(microbench)
-add_subdirectory(s3bench)
+add_subdirectory(cloudbench)
index 277e1f3..8961eb8 100644 (file)
@@ -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");
 
index 5a08a64..1fb8c20 100644 (file)
@@ -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");