summaryrefslogtreecommitdiffstats
path: root/test-file-zero-alloc-speed.c
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2009-03-02 17:51:52 +0530
committerAmit Shah <amit.shah@redhat.com>2009-03-02 17:51:52 +0530
commit3948b37e6d780460f9ef9c8ade2571f39a340df0 (patch)
treed70646936934d6aae849f8b747259267d6010fb8 /test-file-zero-alloc-speed.c
parentd8ed0f5554bb7212fc8feb4676a99ad24c29fabe (diff)
downloadalloc-perf-3948b37e6d780460f9ef9c8ade2571f39a340df0.tar.gz
alloc-perf-3948b37e6d780460f9ef9c8ade2571f39a340df0.tar.xz
alloc-perf-3948b37e6d780460f9ef9c8ade2571f39a340df0.zip
Add ULL suffix for testing creation of big files on big filesystems
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Diffstat (limited to 'test-file-zero-alloc-speed.c')
-rw-r--r--test-file-zero-alloc-speed.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test-file-zero-alloc-speed.c b/test-file-zero-alloc-speed.c
index ddea5e7..10c3a18 100644
--- a/test-file-zero-alloc-speed.c
+++ b/test-file-zero-alloc-speed.c
@@ -178,21 +178,21 @@ int main(int argc, char **argv)
basename = argv[1];
sprintf(filename, "%s/file-pf", basename);
- do_posix_fallocate(filename, 1 * GB);
+ do_posix_fallocate(filename, 1ULL * GB);
#if 0
sprintf(filename, "%s/file-pf", basename);
- do_fallocate(filename, 1 * GB);
+ do_fallocate(filename, 1ULL * GB);
#endif
sprintf(filename, "%s/file-mmap", basename);
- do_mmap(filename, 1 * GB);
+ do_mmap(filename, 1ULL * GB);
sprintf(filename, "%s/file-chunk4", basename);
- do_write_chunks(filename, 1 * GB, 4 * 1024);
+ do_write_chunks(filename, 1ULL * GB, 4 * 1024);
sprintf(filename, "%s/file-chunk8", basename);
- do_write_chunks(filename, 1 * GB, 8 * 1024);
+ do_write_chunks(filename, 1ULL * GB, 8 * 1024);
return 0;
}