projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename the bitmap to axmap
[fio.git]
/
filesetup.c
diff --git
a/filesetup.c
b/filesetup.c
index b70bd45439e2fc59787230fcc0b263dc97bba48a..4fe37ae7fdd70a31b4cd5cf268d2c271a6dae695 100644
(file)
--- a/
filesetup.c
+++ b/
filesetup.c
@@
-13,7
+13,7
@@
#include "filehash.h"
#include "os/os.h"
#include "hash.h"
#include "filehash.h"
#include "os/os.h"
#include "hash.h"
-#include "lib/
bit
map.h"
+#include "lib/
ax
map.h"
#ifdef FIO_HAVE_LINUX_FALLOCATE
#include <linux/falloc.h>
#ifdef FIO_HAVE_LINUX_FALLOCATE
#include <linux/falloc.h>
@@
-921,8
+921,8
@@
int init_random_map(struct thread_data *td)
if (!lfsr_init(&f->lfsr, blocks))
continue;
} else if (!td->o.norandommap) {
if (!lfsr_init(&f->lfsr, blocks))
continue;
} else if (!td->o.norandommap) {
- f->io_
bitmap = bit
map_new(blocks);
- if (f->io_
bit
map)
+ f->io_
axmap = ax
map_new(blocks);
+ if (f->io_
ax
map)
continue;
}
continue;
}
@@
-972,8
+972,8
@@
void close_and_free_files(struct thread_data *td)
sfree(f->file_name);
f->file_name = NULL;
sfree(f->file_name);
f->file_name = NULL;
-
bitmap_free(f->io_bit
map);
- f->io_
bit
map = NULL;
+
axmap_free(f->io_ax
map);
+ f->io_
ax
map = NULL;
sfree(f);
}
sfree(f);
}