[RocksDB] add back --mmap_read options to crashtest

Summary: As title, now that db_stress supports --map_read properly

Test Plan: make crash_test

Reviewers: vamsi, emayanke, dhruba

CC: leveldb

Differential Revision: https://reviews.facebook.net/D11391
This commit is contained in:
Haobo Xu 2013-06-19 13:32:03 -07:00
parent 4deaa0d48b
commit 0f78fad9f5
2 changed files with 2 additions and 0 deletions

View File

@ -66,6 +66,7 @@ def main(argv):
run_had_errors = False
additional_opts = ' --disable_seek_compaction=' + \
str(random.randint(0, 1)) + \
' --mmap_read=' + str(random.randint(0, 1)) + \
' --block_size=16384 ' + \
' --cache_size=1048576 ' + \
' --open_files=500000 ' + \

View File

@ -71,6 +71,7 @@ def main(argv):
run_had_errors = False
additional_opts = ' --disable_seek_compaction=' + \
str(random.randint(0, 1)) + \
' --mmap_read=' + str(random.randint(0, 1)) + \
' --block_size=16384 ' + \
' --cache_size=1048576 ' + \
' --open_files=500000 ' + \