diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-04-02 13:50:03 -0600 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-04-02 13:50:03 -0600 |
commit | 4ef19124d1b3492101ccb90637f719d031ffc402 (patch) | |
tree | 2fedd17fc85a27e2d5d666b54e963945c2c206a9 /bucket.go | |
parent | README (diff) | |
download | dedo-4ef19124d1b3492101ccb90637f719d031ffc402.tar.gz dedo-4ef19124d1b3492101ccb90637f719d031ffc402.tar.xz |
Consolidate file and metafile descriptors.
Previously, a two file descriptors were used for the database: file & metafile. The "file" file
descriptor was used for async writes while the "metafile" file descriptor was used with O_SYNC
writes. This commit changes that so that there's only one file descriptor and it uses fdatasync()
to synchronize writes.
Diffstat (limited to 'bucket.go')
0 files changed, 0 insertions, 0 deletions