diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2015-05-04 14:10:25 -0600 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2015-05-06 09:23:32 -0600 |
commit | b107b35f197faa782ddd569e7649ccdd70f987f3 (patch) | |
tree | 1925b67efdf686f9bdda49f47a278d8544a67aa9 /errors.go | |
parent | Merge pull request #354 from xiang90/cmd (diff) | |
download | dedo-b107b35f197faa782ddd569e7649ccdd70f987f3.tar.gz dedo-b107b35f197faa782ddd569e7649ccdd70f987f3.tar.xz |
Add DB.NoGrowSync flag.
This commit adds the DB.NoGrowSync flag to optionally revert mmap()
calls to how they were implemented before the ext3/ext4 fix. When
NoGrowSync is true, remapping the data file will not force the file
system to resize it immediately. This works for non-ext3/4 file
systems.
The default value of NoGrowSync is false so it is still safe for
ext3/ext4 file systems by default.
See also: https://github.com/boltdb/bolt/issues/284
Diffstat (limited to 'errors.go')
0 files changed, 0 insertions, 0 deletions