commit | b53f2c545d8335380b507bd7281178c25d27ddf0 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Tue Apr 08 21:07:12 2014 -0600 |
committer | Jens Axboe <axboe@fb.com> | Tue Apr 08 21:07:12 2014 -0600 |
tree | d9c5325e6e4d2b039e25a0316215461cc9881047 | |
parent | 3b5fea35f499c68cc56d03178a275656f2b4dc1b [diff] [blame] |
Increment open file count manually For engines/logs that manually add files, be sure to increment the open file count. Signed-off-by: Jens Axboe <axboe@fb.com>
diff --git a/engines/net.c b/engines/net.c index 110e158..fcf4b89 100644 --- a/engines/net.c +++ b/engines/net.c
@@ -1196,6 +1196,7 @@ if (!td->files_index) { add_file(td, td->o.filename ?: "net", 0, 0); td->o.nr_files = td->o.nr_files ?: 1; + td->o.open_files++; } if (!td->io_ops->data) {