summaryrefslogtreecommitdiff
path: root/dist/api_data.py
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2013-03-06 09:49:25 -0500
committerKeith Bostic <keith@wiredtiger.com>2013-03-06 09:49:25 -0500
commit0f392f6581fa36c3ae50d143505e8e90e3641a78 (patch)
tree686ad531a77101cdb84ea84706bcdf72735c9b4b /dist/api_data.py
parent3dfe30b8e654171d9687cc99c430032e96e04dd0 (diff)
downloadmongo-0f392f6581fa36c3ae50d143505e8e90e3641a78.tar.gz
Re-work posix_fadvise, sync_file_range buffer cache changes.
Put per-object os_cache_max configuration back in, but implement it in the block manager layer. Disallow if direct_io is configured, or if the system doesn't support posix_fadvise. Add per-object os_write_schedule, if configured immediately schedule any writes. Disallow if direct_io is configured, or if the system doesn't support sync_file_range.
Diffstat (limited to 'dist/api_data.py')
-rw-r--r--dist/api_data.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/dist/api_data.py b/dist/api_data.py
index cf396b3cd9f..174c2756f2d 100644
--- a/dist/api_data.py
+++ b/dist/api_data.py
@@ -214,6 +214,14 @@ 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', '0', r'''
+ maximum system buffer cache usage, in bytes. If non-zero, flush
+ the system's buffer cache after the specified number of bytes
+ from this object is read or written through the buffer cache''',
+ min=0),
+ Config('os_write_schedule', 'false', r'''
+ immediately schedule page writes to backing storage''',
+ type='boolean'),
Config('prefix_compression', 'true', r'''
configure row-store format key prefix compression''',
type='boolean'),