Net engine: missing ->nr_open_files for clients
authorJens Axboe <jens.axboe@oracle.com>
Fri, 2 Mar 2007 07:47:18 +0000 (08:47 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 2 Mar 2007 07:47:18 +0000 (08:47 +0100)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
engines/net.c

index 467059e431bf091b967d6a07a9ef7fc011ec11a6..84216ac1ddb144217da4d2e4ef5deabbbc6b5f8f 100644 (file)
@@ -167,7 +167,6 @@ static int fio_netio_accept_connections(struct thread_data *td, int fd,
                }
        }
 
-       td->nr_open_files = accepts;
        return 0;
 }
 
@@ -261,6 +260,7 @@ static int fio_netio_setup(struct thread_data *td)
                f->real_file_size = f->file_size;
        }
 
+       td->nr_open_files = td->nr_files;
        return 0;
 }