projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of ssh://git.kernel.dk/data/git/fio
[fio.git]
/
filesetup.c
diff --git
a/filesetup.c
b/filesetup.c
index 20ef3f8ffc97ce238e39ba4f2ef21e46a188bf7a..76b45a9c76af6762d73521355b031bdc38046c9c 100644
(file)
--- a/
filesetup.c
+++ b/
filesetup.c
@@
-600,14
+600,14
@@
int add_file(struct thread_data *td, const char *fname)
void get_file(struct fio_file *f)
{
void get_file(struct fio_file *f)
{
- dprint(FD_FILE, "get file %s
/
%d\n", f->file_name, f->references);
+ dprint(FD_FILE, "get file %s
, ref=
%d\n", f->file_name, f->references);
assert(f->flags & FIO_FILE_OPEN);
f->references++;
}
void put_file(struct thread_data *td, struct fio_file *f)
{
assert(f->flags & FIO_FILE_OPEN);
f->references++;
}
void put_file(struct thread_data *td, struct fio_file *f)
{
- dprint(FD_FILE, "
get put %s/
%d\n", f->file_name, f->references);
+ dprint(FD_FILE, "
put file %s, ref=
%d\n", f->file_name, f->references);
if (!(f->flags & FIO_FILE_OPEN))
return;
if (!(f->flags & FIO_FILE_OPEN))
return;