projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
flist: add flist_first_entry()
[fio.git]
/
filesetup.c
diff --git
a/filesetup.c
b/filesetup.c
index 84eaed68c230520f47bd2853cb20225c078938ef..1facccd79f995021c03b80dead4a103b067c9189 100644
(file)
--- a/
filesetup.c
+++ b/
filesetup.c
@@
-390,6
+390,10
@@
static int __file_invalidate_cache(struct thread_data *td, struct fio_file *f,
{
int ret = 0;
{
int ret = 0;
+#ifdef CONFIG_ESX
+ return 0;
+#endif
+
if (len == -1ULL)
len = f->io_size;
if (off == -1ULL)
if (len == -1ULL)
len = f->io_size;
if (off == -1ULL)
@@
-1524,6
+1528,8
@@
int get_fileno(struct thread_data *td, const char *fname)
void free_release_files(struct thread_data *td)
{
close_files(td);
void free_release_files(struct thread_data *td)
{
close_files(td);
+ td->o.nr_files = 0;
+ td->o.open_files = 0;
td->files_index = 0;
td->nr_normal_files = 0;
}
td->files_index = 0;
td->nr_normal_files = 0;
}