aboutsummaryrefslogtreecommitdiff
path: root/errors.go
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2015-05-04 14:10:25 -0600
committerBen Johnson <benbjohnson@yahoo.com>2015-05-06 09:23:32 -0600
commitb107b35f197faa782ddd569e7649ccdd70f987f3 (patch)
tree1925b67efdf686f9bdda49f47a278d8544a67aa9 /errors.go
parentMerge pull request #354 from xiang90/cmd (diff)
downloaddedo-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