diff options
author | Keith Bostic <keith@wiredtiger.com> | 2016-03-29 08:22:03 -0400 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2016-03-29 08:22:03 -0400 |
commit | e5a0a40ce1275f1b399230c1ba53cda5be9cfdc2 (patch) | |
tree | f16b7d9b1dcb508b529a96283c5e5003679bdaee /bench | |
parent | 7108d61115849c1274c2b940392b0df92a14d3c4 (diff) | |
parent | 52382eb8ee14a6489cbfd2af359cd397a5fa2d14 (diff) | |
download | mongo-e5a0a40ce1275f1b399230c1ba53cda5be9cfdc2.tar.gz |
Merge branch 'develop' into wt-2330
Diffstat (limited to 'bench')
-rw-r--r-- | bench/wtperf/misc.c | 2 | ||||
-rw-r--r-- | bench/wtperf/wtperf.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/bench/wtperf/misc.c b/bench/wtperf/misc.c index bdfd53d5295..98920f6ab64 100644 --- a/bench/wtperf/misc.c +++ b/bench/wtperf/misc.c @@ -54,7 +54,7 @@ setup_log_file(CONFIG *cfg) return (ret); /* Use line buffering for the log file. */ - (void)setvbuf(cfg->logf, NULL, _IOLBF, 32); + (void)setvbuf(cfg->logf, NULL, _IOLBF, 1024); return (0); } diff --git a/bench/wtperf/wtperf.c b/bench/wtperf/wtperf.c index 340c400ba7e..2c0dee71096 100644 --- a/bench/wtperf/wtperf.c +++ b/bench/wtperf/wtperf.c @@ -1233,7 +1233,7 @@ monitor(void *arg) goto err; } /* Set line buffering for monitor file. */ - (void)setvbuf(fp, NULL, _IOLBF, 0); + (void)setvbuf(fp, NULL, _IOLBF, 1024); fprintf(fp, "#time," "totalsec," @@ -2313,7 +2313,7 @@ main(int argc, char *argv[]) cfg->table_name); /* Make stdout line buffered, so verbose output appears quickly. */ - (void)setvbuf(stdout, NULL, _IOLBF, 32); + (void)setvbuf(stdout, NULL, _IOLBF, 1024); /* Concatenate non-default configuration strings. */ if (cfg->verbose > 1 || user_cconfig != NULL || |