projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0be06ea
)
Net engine: need to set ->nr_open_files
author
Jens Axboe
<jens.axboe@oracle.com>
Fri, 2 Mar 2007 07:00:23 +0000
(08:00 +0100)
committer
Jens Axboe
<jens.axboe@oracle.com>
Fri, 2 Mar 2007 07:00:23 +0000
(08:00 +0100)
It is marked as SELFOPEN, so it opens it's own files. So it also
needs to increment the open file count as well.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
engines/net.c
patch
|
blob
|
blame
|
history
diff --git
a/engines/net.c
b/engines/net.c
index b3d847bffe97c308ba7ad0294bb17060f6cf35cb..467059e431bf091b967d6a07a9ef7fc011ec11a6 100644
(file)
--- a/
engines/net.c
+++ b/
engines/net.c
@@
-167,6
+167,7
@@
static int fio_netio_accept_connections(struct thread_data *td, int fd,
}
}
+ td->nr_open_files = accepts;
return 0;
}