From 4f45320a29179d802073b392fd7e10bf0975d6bc Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Fri, 2 Mar 2007 08:00:23 +0100 Subject: [PATCH] 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 --- engines/net.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.25.1