From: Jens Axboe Date: Fri, 2 Mar 2007 07:00:23 +0000 (+0100) Subject: Net engine: need to set ->nr_open_files X-Git-Tag: fio-1.13~11 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=4f45320a29179d802073b392fd7e10bf0975d6bc Net engine: need to set ->nr_open_files 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 --- diff --git a/engines/net.c b/engines/net.c index b3d847bf..467059e4 100644 --- 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; }