[PATCH] Remove debug fprintfs
authorJens Axboe <jens.axboe@oracle.com>
Wed, 20 Dec 2006 13:42:17 +0000 (14:42 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 20 Dec 2006 13:42:17 +0000 (14:42 +0100)
Oops, leftover from the mmaphuge commit.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
memory.c

index 5f3c4fa56c3d54b7bfe5a797a67776e1027d7cd3..909baf7d51f19b15f1553679eeb5c7d5f9535e7a 100644 (file)
--- a/memory.c
+++ b/memory.c
@@ -87,7 +87,6 @@ int allocate_io_mem(struct thread_data *td)
                td->hugefd = 0;
 
                if (td->mem_type == MEM_MMAPHUGE) {
                td->hugefd = 0;
 
                if (td->mem_type == MEM_MMAPHUGE) {
-                       fprintf(stderr, "file=%s\n", td->hugefile);
                        td->hugefd = open(td->hugefile, O_RDWR|O_CREAT, 0644);
 
                        if (td->hugefd < 0) {
                        td->hugefd = open(td->hugefile, O_RDWR|O_CREAT, 0644);
 
                        if (td->hugefd < 0) {
@@ -99,9 +98,7 @@ int allocate_io_mem(struct thread_data *td)
                } else
                        flags |= OS_MAP_ANON;
 
                } else
                        flags |= OS_MAP_ANON;
 
-               fprintf(stderr, "mmaping %lu\n", (unsigned long) td->orig_buffer_size);
                td->orig_buffer = mmap(NULL, td->orig_buffer_size, PROT_READ | PROT_WRITE, flags, td->hugefd, 0);
                td->orig_buffer = mmap(NULL, td->orig_buffer_size, PROT_READ | PROT_WRITE, flags, td->hugefd, 0);
-               fprintf(stderr, "mmaped %p\n", td->orig_buffer);
                if (td->orig_buffer == MAP_FAILED) {
                        td_verror(td, errno);
                        perror("mmap");
                if (td->orig_buffer == MAP_FAILED) {
                        td_verror(td, errno);
                        perror("mmap");