diff options
author | Susan LoVerso <sue@mongodb.com> | 2016-03-01 16:54:31 -0500 |
---|---|---|
committer | Susan LoVerso <sue@mongodb.com> | 2016-03-01 16:54:31 -0500 |
commit | 5a47fd78102f26ff85ba353154617772acd8036b (patch) | |
tree | eb621d0cb5cedeab9ddc5cd3aa4676a45f76e492 /bench/wtperf/wtperf.h | |
parent | 8a0ffcb3e4e59ee3822df6e559f24ea719e3bca1 (diff) | |
download | mongo-5a47fd78102f26ff85ba353154617772acd8036b.tar.gz |
WT-2366 Add shrink changes.
Diffstat (limited to 'bench/wtperf/wtperf.h')
-rw-r--r-- | bench/wtperf/wtperf.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bench/wtperf/wtperf.h b/bench/wtperf/wtperf.h index 6107eaf721d..c591499b907 100644 --- a/bench/wtperf/wtperf.h +++ b/bench/wtperf/wtperf.h @@ -191,7 +191,10 @@ struct __config { /* Configuration structure */ volatile uint32_t totalsec; /* total seconds running */ - u_int has_truncate; /* if there is a truncate workload */ +#define CFG_GROW 0x0001 /* There is a grow workload */ +#define CFG_SHRINK 0x0002 /* There is a shrink workload */ +#define CFG_TRUNCATE 0x0004 /* There is a truncate workload */ + uint32_t flags; /* flags */ /* Queue head for use with the Truncate Logic */ TAILQ_HEAD(__truncate_qh, __truncate_queue_entry) stone_head; |