Jay Edgar 2448f80375 Make sure that if use_mmap_reads is on use_os_buffer is also on
Summary: The code assumes that if use_mmap_reads is on then use_os_buffer is also on.  This make sense as by using memory mapped files for reading you are expecting the OS to cache what it needs.  Add code to make sure the user does not turn off use_os_buffer when they turn on use_mmap_reads

Test Plan: New test: DBTest.MMapAndBufferOptions

Reviewers: sdong

Reviewed By: sdong

Subscribers: andrewkr, dhruba

Differential Revision: https://reviews.facebook.net/D56397
2016-04-08 14:30:15 -07:00
..
2016-04-06 23:10:32 -07:00
2015-07-17 18:59:11 +02:00
2016-03-15 12:17:40 -07:00
2016-03-24 19:39:13 -07:00
2016-03-18 15:18:42 -07:00
2016-04-06 23:10:32 -07:00