diff options
author | Michael Cahill <michael.cahill@wiredtiger.com> | 2015-03-20 17:19:28 +1100 |
---|---|---|
committer | Michael Cahill <michael.cahill@wiredtiger.com> | 2015-03-20 17:19:28 +1100 |
commit | 294b0bce296bebf9790418e5575f59be5bec000c (patch) | |
tree | f67f1a4d7da177f9ea3b232e041a0aaa8c2a1fa8 /dist | |
parent | 87dba78b65bc869c426363d86d02134aa8f8f2ac (diff) | |
download | mongo-294b0bce296bebf9790418e5575f59be5bec000c.tar.gz |
Only align buffers on Linux if direct I/O is configured. Clarify why we round up the allocation size: it usually won't matter because we allocate multiples of the alignment size anyway.
Diffstat (limited to 'dist')
-rw-r--r-- | dist/api_data.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dist/api_data.py b/dist/api_data.py index 4830a6f7814..af3c1e19f25 100644 --- a/dist/api_data.py +++ b/dist/api_data.py @@ -491,8 +491,9 @@ session_config = [ common_wiredtiger_open = [ Config('buffer_alignment', '-1', r''' in-memory alignment (in bytes) for buffers used for I/O. The - default value of -1 indicates a platform-specific alignment - value should be used (4KB on Linux systems, zero elsewhere)''', + default value of -1 indicates a platform-specific alignment value + should be used (4KB on Linux systems when direct I/O is configured, + zero elsewhere)''', min='-1', max='1MB'), Config('checkpoint_sync', 'true', r''' flush files to stable storage when closing or writing |