summaryrefslogtreecommitdiff
path: root/dist/api_data.py
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2013-02-28 17:16:25 +1100
committerMichael Cahill <michael.cahill@wiredtiger.com>2013-02-28 17:16:25 +1100
commit5a47b100504b3d3e6fcca74b9b601234c50348d6 (patch)
tree4f9d4de0f5c59f138bcfb8cf1257222d1222e189 /dist/api_data.py
parent09a5354cb4e117e57f46095acf32e158a7fb9974 (diff)
downloadmongo-5a47b100504b3d3e6fcca74b9b601234c50348d6.tar.gz
Add a "maximum filesystem buffer cache" setting to files. After doing the specified amount of I/O, use fadvise to tell the operating system to drop cached pages.
Diffstat (limited to 'dist/api_data.py')
-rw-r--r--dist/api_data.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/dist/api_data.py b/dist/api_data.py
index cf396b3cd9f..c944ebd97de 100644
--- a/dist/api_data.py
+++ b/dist/api_data.py
@@ -214,6 +214,11 @@ file_config = format_meta + lsm_config + [
soft - it is possible for pages to be temporarily larger than
this value''',
min='512B', max='10TB'),
+ Config('os_cache_max', '8MB', r'''
+ maximum filesystem cache. If non-zero, WiredTiger will attempt to
+ flush the operating system buffer cache whenever this amount of I/O is
+ performed''',
+ min=0),
Config('prefix_compression', 'true', r'''
configure row-store format key prefix compression''',
type='boolean'),