diff options
author | Keith Bostic <keith@wiredtiger.com> | 2013-03-06 09:49:25 -0500 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2013-03-06 09:49:25 -0500 |
commit | 0f392f6581fa36c3ae50d143505e8e90e3641a78 (patch) | |
tree | 686ad531a77101cdb84ea84706bcdf72735c9b4b /dist/api_data.py | |
parent | 3dfe30b8e654171d9687cc99c430032e96e04dd0 (diff) | |
download | mongo-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.py | 8 |
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'), |